diff options
Diffstat (limited to 'calendar/gui/alarm.h')
-rw-r--r-- | calendar/gui/alarm.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/calendar/gui/alarm.h b/calendar/gui/alarm.h new file mode 100644 index 0000000000..39f7281ce7 --- /dev/null +++ b/calendar/gui/alarm.h @@ -0,0 +1,10 @@ +#ifndef ALARM_H +#define ALARM_H + +typedef void (*AlarmFunction)(time_t time, void *closuse); + +void alarm_init (void); +void alarm_add (time_t alarm_time, AlarmFunction fn, void *closure); +void alarm_kill (void *closure); + +#endif |