From 000ffad642fa99b5f44603ec0a40798204526ee3 Mon Sep 17 00:00:00 2001 From: Frederic Culot Date: Mon, 11 Sep 2006 13:37:53 +0000 Subject: notify_app_s created and notify_check_next_app(), notify_thread_app() created --- src/notify.h | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) (limited to 'src/notify.h') diff --git a/src/notify.h b/src/notify.h index 8f64365..693c02a 100755 --- a/src/notify.h +++ b/src/notify.h @@ -1,4 +1,4 @@ -/* $calcurse: notify.h,v 1.1 2006/09/09 20:15:06 culot Exp $ */ +/* $calcurse: notify.h,v 1.2 2006/09/11 13:37:53 culot Exp $ */ /* * Calcurse - text-based organizer @@ -37,13 +37,21 @@ struct notify_vars_s { char *apts_file; char time[NOTIFY_FIELD_LENGTH]; char date[NOTIFY_FIELD_LENGTH]; - pthread_mutex_t mut; + pthread_mutex_t mutex; +}; + +struct notify_app_s { + long time; + char txt[NOTIFY_FIELD_LENGTH]; + pthread_mutex_t mutex; }; void notify_init_bar(int l, int c, int y, int x); void notify_reinit_bar(int l, int c, int y, int x); void notify_update_bar(void); void notify_extract_aptsfile(void); -void *notify_thread_sub(void *arg); +void *notify_thread_time(void *arg); +void notify_check_next_app(void); +void *notify_thread_app(void *time); #endif /* CALCURSE_NOTIFY_H */ -- cgit v1.2.3-54-g00ecf