diff options
author | Reinhard Tartler <siretart@tauware.de> | 2011-04-27 19:28:49 +0200 |
---|---|---|
committer | Reinhard Tartler <siretart@tauware.de> | 2011-04-27 19:28:49 +0200 |
commit | 4cd9f4d9071a672debd83b4cc1c5d57dc63b8549 (patch) | |
tree | 095c755ba2cc77198dfc85b45afd129b1e638d56 /timer.h | |
parent | 18590c85ce8d68b155828a4aa400105812aeb75d (diff) | |
parent | 181cec4348da40331b3e8ab365732c025ec149b2 (diff) | |
download | lcd4linux-4cd9f4d9071a672debd83b4cc1c5d57dc63b8549.tar.gz |
New upstream snapshot
Diffstat (limited to 'timer.h')
-rw-r--r-- | timer.h | 15 |
1 files changed, 11 insertions, 4 deletions
@@ -1,9 +1,9 @@ -/* $Id: timer.h 728 2007-01-14 11:14:38Z michael $ - * $URL: https://ssl.bulix.org/svn/lcd4linux/branches/0.10.1/timer.h $ +/* $Id: timer.h 1136 2010-11-28 16:07:16Z mzuther $ + * $URL: https://ssl.bulix.org/svn/lcd4linux/trunk/timer.h $ * * generic timer handling * - * Copyright (C) 2003, 2004 Michael Reinelt <reinelt@eunet.at> + * Copyright (C) 2003, 2004 Michael Reinelt <michael@reinelt.co.at> * Copyright (C) 2004 The LCD4Linux Team <lcd4linux-devel@users.sourceforge.net> * * This file is part of LCD4Linux. @@ -28,8 +28,15 @@ #ifndef _TIMER_H_ #define _TIMER_H_ + int timer_add(void (*callback) (void *data), void *data, const int interval, const int one_shot); + +int timer_add_late(void (*callback) (void *data), void *data, const int interval, const int one_shot); + int timer_process(struct timespec *delay); -void timer_exit(); + +int timer_remove(void (*callback) (void *data), void *data); + +void timer_exit(void); #endif |