aboutsummaryrefslogtreecommitdiffstats
path: root/timer.h
diff options
context:
space:
mode:
Diffstat (limited to 'timer.h')
-rw-r--r--timer.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/timer.h b/timer.h
index 4803ae1..9135a5e 100644
--- a/timer.h
+++ b/timer.h
@@ -29,6 +29,9 @@
#define _TIMER_H_
int timer_add(void (*callback) (void *data), void *data, const int interval, const int one_shot);
+//exactly the same as above but does not trigger now
+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();