7 int init_extra_field(enum str_opts option);
10 void print_list_line(int i, int line, int highlight);
11 void list_headerline();
18 void set_selection(int item, int value);
19 void list_invert_curitem_selection();
20 void move_curitem(int direction);
23 void highlight_line(WINDOW *win, int line);
25 void invert_selection();
27 int list_get_curitem();
28 void list_set_curitem(int i);
38 #define LIST_BOTTOM (LINES-2)
40 #define LIST_LINES (LIST_BOTTOM-LIST_TOP)
41 #define LIST_COLS COLS
44 #define EMAILPOS opt_get_int(INT_EMAILPOS)
45 #define EXTRAPOS opt_get_int(INT_EXTRAPOS)
47 #define NAMELEN (EMAILPOS - NAMEPOS - 1)
48 #define EMAILLEN (EXTRAPOS - EMAILPOS - 1)
49 #define EXTRALEN (COLS - EXTRAPOS)
51 #define LAST_LIST_ITEM (first_list_item + LIST_LINES - 1)