aboutsummaryrefslogtreecommitdiffstats
path: root/include/openbsc/timer.h
AgeCommit message (Collapse)AuthorFilesLines
2009-05-23* rename the timer functions to avoid name collisions with libmisdn.Harald Welte1-7/+7
* the return value of bsc_update_timers() is required for applications to find out if a timer was fired (Andreas Eversberg)
2009-01-02Add new management function to struct timer_listHarald Welte1-1/+2
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/+70
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.