#include <switch_module_interfaces.h>
Collaboration diagram for switch_timer_interface:

Data Fields | |
| const char * | interface_name |
| switch_status_t(* | timer_init )(switch_timer_t *) |
| switch_status_t(* | timer_next )(switch_timer_t *) |
| switch_status_t(* | timer_step )(switch_timer_t *) |
| switch_status_t(* | timer_sync )(switch_timer_t *) |
| switch_status_t(* | timer_check )(switch_timer_t *, switch_bool_t) |
| switch_status_t(* | timer_destroy )(switch_timer_t *) |
| switch_thread_rwlock_t * | rwlock |
| switch_timer_interface * | next |
|
|
the name of the interface |
|
|
|
|
|
|
|
|
function to check if the current step has expired |
|
|
function to deallocate the timer |
|
|
function to allocate the timer |
|
|
function to wait for one cycle to pass |
|
|
function to step the timer one step |
|
|
function to reset the timer |
1.3.9.1