FreeSWITCH API Documentation
1.7.0
|
A table of functions that a timer module implements. More...
#include <switch_module_interfaces.h>
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 |
int | refs |
switch_mutex_t * | reflock |
switch_loadable_module_interface_t * | parent |
struct switch_timer_interface * | next |
A table of functions that a timer module implements.
Definition at line 233 of file switch_module_interfaces.h.
const char* switch_timer_interface::interface_name |
the name of the interface
Definition at line 235 of file switch_module_interfaces.h.
Referenced by switch_loadable_module_process(), switch_loadable_module_unprocess(), and SWITCH_MODULE_LOAD_FUNCTION().
struct switch_timer_interface* switch_timer_interface::next |
Definition at line 252 of file switch_module_interfaces.h.
Referenced by switch_loadable_module_process(), and switch_loadable_module_unprocess().
switch_loadable_module_interface_t* switch_timer_interface::parent |
Definition at line 251 of file switch_module_interfaces.h.
switch_mutex_t* switch_timer_interface::reflock |
Definition at line 250 of file switch_module_interfaces.h.
int switch_timer_interface::refs |
Definition at line 249 of file switch_module_interfaces.h.
switch_thread_rwlock_t* switch_timer_interface::rwlock |
Definition at line 248 of file switch_module_interfaces.h.
switch_status_t(* switch_timer_interface::timer_check)(switch_timer_t *, switch_bool_t) |
function to check if the current step has expired
Definition at line 245 of file switch_module_interfaces.h.
Referenced by SWITCH_MODULE_LOAD_FUNCTION().
switch_status_t(* switch_timer_interface::timer_destroy)(switch_timer_t *) |
function to deallocate the timer
Definition at line 247 of file switch_module_interfaces.h.
Referenced by SWITCH_MODULE_LOAD_FUNCTION().
switch_status_t(* switch_timer_interface::timer_init)(switch_timer_t *) |
function to allocate the timer
Definition at line 237 of file switch_module_interfaces.h.
Referenced by switch_core_timer_init(), and SWITCH_MODULE_LOAD_FUNCTION().
switch_status_t(* switch_timer_interface::timer_next)(switch_timer_t *) |
function to wait for one cycle to pass
Definition at line 239 of file switch_module_interfaces.h.
Referenced by SWITCH_MODULE_LOAD_FUNCTION().
switch_status_t(* switch_timer_interface::timer_step)(switch_timer_t *) |
function to step the timer one step
Definition at line 241 of file switch_module_interfaces.h.
Referenced by SWITCH_MODULE_LOAD_FUNCTION().
switch_status_t(* switch_timer_interface::timer_sync)(switch_timer_t *) |
function to reset the timer
Definition at line 243 of file switch_module_interfaces.h.
Referenced by SWITCH_MODULE_LOAD_FUNCTION().