dect
/
libdect
Archived
13
0
Fork 0
Commit Graph

8 Commits

Author SHA1 Message Date
Patrick McHardy 293fb1e809 timer: export timer functions declarations
The functions are already exported, also export the declarations
since they are useful and easier to use than f.i. using libevent
directly.

Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-11-16 15:13:28 +01:00
Patrick McHardy 073d8f6617 timer: add some debugging code
Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-09-14 00:55:37 +02:00
Patrick McHardy 3d125cbc83 libdect: name timer related functions more consistently
Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-08-02 05:21:45 +02:00
Patrick McHardy 2aef66006a libdect: align private storage areas to alignment of uint64_t
Make sure private storage areas are properly aligned even in the presence
of holes.

Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-07-28 02:03:08 +02:00
Patrick McHardy 1f98e1ee7d Update remaining copyright statements
Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-07-08 21:40:16 +02:00
Patrick McHardy 13031f2a81 include: use consistent prefix for header sandwich defines
Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-03-31 07:37:33 +02:00
Patrick McHardy 3f19c0cef1 timer: fix dect_timer_running() for timers already expired
Make sure dect_timer_running() returns the proper result for timers that
have already expired by adding a new function to invoke the timer callback
that resets the state to DECT_TIMER_STOPPED before invoking the callback.

Additionally unexport the timer structure and add an accessor function
for the private storage area to make sure all timer invocations happen
through the new function.

Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-03-31 03:45:42 +02:00
Patrick McHardy 92e6ddcfe8 timer: move timer functions into seperate files
Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-03-31 03:28:47 +02:00