X-Git-Url: https://git.deb.at/?a=blobdiff_plain;f=list.h;h=ac8377f1228e734ffdd2ee9bfacc95e630604da5;hb=4cf3042e1e4edf7d868c2f4fe504b6aef09cef6c;hp=d6389791fc4477c0012fdaf841c4771a9cd9aa71;hpb=548845673bdbe52a3cb2d7c6c2818d3202fffcba;p=pkg%2Fabook.git diff --git a/list.h b/list.h index d638979..ac8377f 100644 --- a/list.h +++ b/list.h @@ -22,6 +22,7 @@ int selected_items(); void invert_selection(); int list_current_item(); int list_is_empty(); +int duplicate_item(); enum { @@ -36,8 +37,8 @@ enum { #define LIST_COLS COLS #define NAMEPOS 2 -#define EMAILPOS options_get_int("emailpos") -#define EXTRAPOS options_get_int("extrapos") +#define EMAILPOS opt_get_int(INT_EMAILPOS) +#define EXTRAPOS opt_get_int(INT_EXTRAPOS) #define NAMELEN (EMAILPOS-NAMEPOS -1) #define EMAILLEN (EXTRAPOS-EMAILPOS -1)