summaryrefslogtreecommitdiff
path: root/daemon/include/alarm.h
diff options
context:
space:
mode:
Diffstat (limited to 'daemon/include/alarm.h')
-rw-r--r--daemon/include/alarm.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/daemon/include/alarm.h b/daemon/include/alarm.h
new file mode 100644
index 0000000..93e6482
--- /dev/null
+++ b/daemon/include/alarm.h
@@ -0,0 +1,13 @@
+#ifndef _TIMER_H_
+#define _TIMER_H_
+
+#include "linux_list.h"
+
+struct alarm_list {
+ struct list_head head;
+ unsigned long expires;
+ void *data;
+ void (*function)(struct alarm_list *a, void *data);
+};
+
+#endif