aboutsummaryrefslogtreecommitdiffstats
path: root/src/timer.c
AgeCommit message (Collapse)AuthorFilesLines
2009-06-10move openbsc into its own subdirectoryHarald Welte1-174/+0
2009-05-23* rename the timer functions to avoid name collisions with libmisdn.Harald Welte1-9/+13
* the return value of bsc_update_timers() is required for applications to find out if a timer was fired (Andreas Eversberg)
2009-01-03Go through del_timer otherwise in_list will not be reset leading to crashes...Harald Welte1-1/+1
2009-01-02Add new management function to struct timer_listHarald Welte1-2/+4
Make sure that del_timer succeeds and removes an entry from the list. Currently sending the LOCATION UPDATING REJECT from within the timer will not remove the list element as ->active gets set to 0 in the timer updating before calling the callback. Fix the segfault and allow the timer to be removed from within its own callback.
2008-12-27Introduce a simple timer API....Holger Freyther1-0/+168
One can use add_timer or schedule_timer to add a timer. After the timeout time has been reached the callback will be called. One can call add_time/schedule_timer and del_timer from within the callback.