diff options
author | Frederic Culot <calcurse@culot.org> | 2007-07-20 19:07:02 +0000 |
---|---|---|
committer | Frederic Culot <calcurse@culot.org> | 2007-07-20 19:07:02 +0000 |
commit | 37495a75e80a04c78c5d7421b1c3a6d6330a2d34 (patch) | |
tree | 4e0796fe0e0058b4a1c4d6c8a4d2c1842aa2d055 | |
parent | 52d79ac5b3482bfc064bb41e1c76fc9dcdf9a5c2 (diff) | |
download | calcurse-37495a75e80a04c78c5d7421b1c3a6d6330a2d34.zip |
day_items_nb_t type added
-rwxr-xr-x | src/day.h | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -1,4 +1,4 @@ -/* $calcurse: day.h,v 1.12 2007/07/01 17:52:45 culot Exp $ */ +/* $calcurse: day.h,v 1.13 2007/07/20 19:07:02 culot Exp $ */ /* * Calcurse - text-based organizer @@ -39,6 +39,11 @@ #define RECUR_APPT 3 #define APPT 4 +typedef struct { + unsigned nb_events; + unsigned nb_apoints; +} day_items_nb_t; + struct day_item_s { struct day_item_s *next; long start; /* seconds since 1 jan 1970 */ @@ -58,6 +63,7 @@ struct day_saved_item_s { char *mesg; }; +day_items_nb_t *day_process_storage(date_t *, bool, day_items_nb_t *); int day_store_items(long, int *, int *); void day_free_list(void); int day_store_recur_events(long); |