aboutsummaryrefslogtreecommitdiffstats
path: root/timer.h
diff options
context:
space:
mode:
authormzuther <mzuther@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2010-11-27 14:35:10 +0000
committermzuther <mzuther@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2010-11-27 14:35:10 +0000
commit00db296b07befe1b511af73b00303c536cea0c6c (patch)
tree1273af56372cf0eeffa699aa6745ab9cfa66e2ba /timer.h
parent20e4961f9eb3ea712a4d101d5984a6e0e68a23bd (diff)
downloadlcd4linux-00db296b07befe1b511af73b00303c536cea0c6c.tar.gz
finished commenting the timer code
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1135 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
Diffstat (limited to 'timer.h')
-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