aboutsummaryrefslogtreecommitdiffstats
path: root/timer.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--timer.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/timer.h b/timer.h
index 26f8674..70744d5 100644
--- a/timer.h
+++ b/timer.h
@@ -29,10 +29,13 @@
#define _TIMER_H_
int timer_add(void (*callback) (void *data), void *data, const int interval, const int one_shot);
-/* exactly the same as timer_add() but does not trigger immediately */
+
int timer_add_late(void (*callback) (void *data), void *data, const int interval, const int one_shot);
-int timer_remove(void (*callback) (void *data), void *data);
+
int timer_process(struct timespec *delay);
-void timer_exit();
+
+int timer_remove(void (*callback) (void *data), void *data);
+
+void timer_exit(void);
#endif