dect
/
libdect
Archived
13
0
Fork 0
Commit Graph

9 Commits

Author SHA1 Message Date
Patrick McHardy 7c0e516ed9 libdect: name timer related functions more consistently
Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-08-02 05:25:03 +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 cb5d6bd44b libdect: include cleanup - only include io.h where needed
Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-07-26 22:47:53 +02:00
Patrick McHardy 292ac38165 examples: support libev and fix build on Fedora
Check for and prefer libev over libevent and check for the location
of the event.h file, which is contained in libev/event.h on Fedora.

Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-07-24 03:49:03 +02:00
Patrick McHardy 89bb432a5e examples: don't use libevent functions directly exept in event_ops.c
Make all event handling go through event_ops.c.

Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-07-24 03:48:18 +02:00
Patrick McHardy d7581ae5e0 libdect: make struct dect_fd opaque
Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-07-03 09:30:09 +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 ebee617082 example: support breaking out of the event loop
Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-02-18 23:42:13 +01:00
Patrick McHardy 0406a88b39 Import libdect
Signed-off-by: Patrick McHardy <kaber@trash.net>
2009-05-06 18:41:57 +02:00