diff options
author | mzuther <mzuther@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2010-11-27 14:35:10 +0000 |
---|---|---|
committer | mzuther <mzuther@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2010-11-27 14:35:10 +0000 |
commit | 00db296b07befe1b511af73b00303c536cea0c6c (patch) | |
tree | 1273af56372cf0eeffa699aa6745ab9cfa66e2ba /timer.h | |
parent | 20e4961f9eb3ea712a4d101d5984a6e0e68a23bd (diff) | |
download | lcd4linux-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.h | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -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 |