_timer_cb_t Struct Reference

#include <timer.h>


Detailed Description

timer element

Definition at line 65 of file timer.h.

Data Fields

time_t expires
 time of expiration
int one_time
 if to trigger the event just one_time and then remove
int interval
 original interval that this timer was set to expire in
callback_f cb
 callback function to be called on timer expiration
void ** ptr
 generic parameter to call the callback with
_timer_cb_tnext
 next timer in the timer list
_timer_cb_tprev
 previous timer in the timer list


Field Documentation

time_t _timer_cb_t::expires

time of expiration

Definition at line 66 of file timer.h.

Referenced by add_timer(), and timer_loop().

int _timer_cb_t::one_time

if to trigger the event just one_time and then remove

Definition at line 67 of file timer.h.

Referenced by add_timer(), and timer_loop().

int _timer_cb_t::interval

original interval that this timer was set to expire in

Definition at line 68 of file timer.h.

Referenced by add_timer(), and timer_loop().

callback_f _timer_cb_t::cb

callback function to be called on timer expiration

Definition at line 69 of file timer.h.

Referenced by add_timer(), and timer_loop().

void** _timer_cb_t::ptr

generic parameter to call the callback with

Definition at line 70 of file timer.h.

Referenced by add_timer(), timer_cdp_destroy(), and timer_loop().

struct _timer_cb_t* _timer_cb_t::next [read]

next timer in the timer list

Definition at line 72 of file timer.h.

Referenced by add_timer(), timer_cdp_destroy(), and timer_loop().

struct _timer_cb_t* _timer_cb_t::prev [read]

previous timer in the timer list

Definition at line 73 of file timer.h.

Referenced by add_timer(), and timer_loop().


The documentation for this struct was generated from the following file:
Generated on Tue Oct 14 04:11:32 2008 for Open IMS Core CSCFs by  doxygen 1.5.2