X-Git-Url: https://git.deb.at/w?p=pkg%2Fabook.git;a=blobdiff_plain;f=edit.h;h=3beed6501f7bff5ef4afb3903d9737c604d3c795;hp=aa521411823a0b652ba910ae25fe5223a3a6c600;hb=b722eae92e8deb6bd080dea1f2f929a7dd9edddb;hpb=4909ba20244f55ee7326a40d751cf6737c2bc2b6 diff --git a/edit.h b/edit.h index aa52141..3beed65 100644 --- a/edit.h +++ b/edit.h @@ -1,9 +1,14 @@ #ifndef _EDIT_H #define _EDIT_H +#include "misc.h" /* for rotate_dir enum definition */ + + void edit_item(int item); void get_first_email(char *str, int item); +void roll_emails(int item, enum rotate_dir dir); void add_item(); +int parse_date_string(char *s, int *day, int *month, int *year); #define EDITW_COLS (COLS - 6) #define EDITW_LINES (LINES - 5)