From 239b4f3e966a7953d51d28b7a18e9c7b0a9fb1b0 Mon Sep 17 00:00:00 2001 From: Frederic Culot Date: Thu, 14 Sep 2006 14:59:32 +0000 Subject: notify_app_s and notify_vars_s structures updated, and adding of the new functions prototypes --- src/notify.h | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/notify.h b/src/notify.h index 693c02a..40f898a 100755 --- a/src/notify.h +++ b/src/notify.h @@ -1,4 +1,4 @@ -/* $calcurse: notify.h,v 1.2 2006/09/11 13:37:53 culot Exp $ */ +/* $calcurse: notify.h,v 1.3 2006/09/14 14:59:32 culot Exp $ */ /* * Calcurse - text-based organizer @@ -30,10 +30,14 @@ #include #include +#include "apoint.h" +#include "recur.h" + #define NOTIFY_FIELD_LENGTH 20 struct notify_vars_s { WINDOW *win; + long time_in_sec; char *apts_file; char time[NOTIFY_FIELD_LENGTH]; char date[NOTIFY_FIELD_LENGTH]; @@ -43,6 +47,7 @@ struct notify_vars_s { struct notify_app_s { long time; char txt[NOTIFY_FIELD_LENGTH]; + int got_app; pthread_mutex_t mutex; }; @@ -53,5 +58,9 @@ void notify_extract_aptsfile(void); void *notify_thread_time(void *arg); void notify_check_next_app(void); void *notify_thread_app(void *time); +void notify_check_added(char *mesg, long start); +void notify_check_repeated(recur_apoint_llist_node_t *i); +int notify_same_item(long time); +int notify_same_recur_item(recur_apoint_llist_node_t *i); #endif /* CALCURSE_NOTIFY_H */ -- cgit v1.2.3-70-g09d2