aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrederic Culot <calcurse@culot.org>2007-07-20 19:07:02 +0000
committerFrederic Culot <calcurse@culot.org>2007-07-20 19:07:02 +0000
commit37495a75e80a04c78c5d7421b1c3a6d6330a2d34 (patch)
tree4e0796fe0e0058b4a1c4d6c8a4d2c1842aa2d055
parent52d79ac5b3482bfc064bb41e1c76fc9dcdf9a5c2 (diff)
downloadcalcurse-37495a75e80a04c78c5d7421b1c3a6d6330a2d34.tar.gz
calcurse-37495a75e80a04c78c5d7421b1c3a6d6330a2d34.zip
day_items_nb_t type added
-rwxr-xr-xsrc/day.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/day.h b/src/day.h
index 0a9d9c8..49aa50b 100755
--- a/src/day.h
+++ b/src/day.h
@@ -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);