Logo Search packages:      
Sourcecode: sofia-sip version File versions  Download package

SOFIAPUBFUN int su_timer_set_interval ( su_timer_t t,
su_timer_f  wakeup,
su_timer_arg_t arg,
su_duration_t  interval 

Set the timer for the given interval.

Sets (starts) the given timer to expire after the specified duration.

tpointer to the timer object
wakeuppointer to the wakeup function
argargument given to the wakeup function
intervalduration in milliseconds before timer wakeup is called
0 if successful, -1 otherwise.

Definition at line 374 of file su_timer.c.

References su_now(), and su_timer_set_interval().

Referenced by su_timer_set_interval().

  su_timer_queue_t *timers = su_timer_queue(t, 0, "su_timer_set_interval");

  return su_timer_set0(timers, t, wakeup, arg, su_now(), interval);

Here is the call graph for this function:

Here is the caller graph for this function:

Generated by  Doxygen 1.6.0   Back to index