aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/alarm.h
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/alarm.h')
-rw-r--r--calendar/alarm.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/calendar/alarm.h b/calendar/alarm.h
new file mode 100644
index 0000000000..39f7281ce7
--- /dev/null
+++ b/calendar/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