]> git.deb.at Git - pkg/abook.git/blobdiff - list.h
Imported Upstream version 0.5.3
[pkg/abook.git] / list.h
diff --git a/list.h b/list.h
index 8a92dc606ac9f1675a4dd61ab06c072fc9a08bc4..ac8377f1228e734ffdd2ee9bfacc95e630604da5 100644 (file)
--- 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 {
@@ -30,14 +31,14 @@ enum {
 };
 
 #define LIST_TOP        3
-#define LIST_BOTTOM     (LINES-3)
+#define LIST_BOTTOM     (LINES-2)
 
 #define LIST_LINES     (LIST_BOTTOM-LIST_TOP)
 #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)