Timer related functions for the dialog moduleModule: dialog :: Kamailio dialog module. More...
#include "../../locking.h"

Go to the source code of this file.
Definition in file dlg_timer.h.
| void dlg_timer_routine | ( | unsigned int | ticks, | |
| void * | attr | |||
| ) |
| ticks | time for expiration checks | |
| attr | unused |
Definition at line 272 of file dlg_timer.c.
References get_expired_dlgs(), and timer_hdl.

| int init_dlg_timer | ( | dlg_timer_handler | hdl | ) |
The global timer handler will be set on success.
| hdl | dialog timer handler |
Definition at line 51 of file dlg_timer.c.
References dlg_timer::first, dlg_timer::lock, and timer_hdl.
| int insert_dlg_timer | ( | struct dlg_tl * | tl, | |
| int | interval | |||
| ) |
| tl | dialog timer list | |
| interval | timeout value in seconds |
Definition at line 129 of file dlg_timer.c.
References insert_dialog_timer_unsafe(), dlg_timer::lock, and dlg_tl::timeout.
Referenced by dlg_onreply().


| int remove_dialog_timer | ( | struct dlg_tl * | tl | ) |
| tl | dialog timer that should be removed |
Definition at line 166 of file dlg_timer.c.
References dlg_timer::lock, remove_dialog_timer_unsafe(), and dlg_tl::timeout.
Referenced by destroy_dlg(), and dlg_onroute().


| int update_dlg_timer | ( | struct dlg_tl * | tl, | |
| int | timeout | |||
| ) |
| tl | dialog timer | |
| timeout | new timeout value in seconds |
Definition at line 199 of file dlg_timer.c.
References insert_dialog_timer_unsafe(), dlg_timer::lock, remove_dialog_timer_unsafe(), and dlg_tl::timeout.
Referenced by dlg_onroute().


1.7.1