RTS API Documentation
1.10.11
|
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 243 of file switch_module_interfaces.h.
const char* switch_timer_interface::interface_name |
the name of the interface
Definition at line 245 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 262 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 261 of file switch_module_interfaces.h.
switch_mutex_t* switch_timer_interface::reflock |
Definition at line 260 of file switch_module_interfaces.h.
int switch_timer_interface::refs |
Definition at line 259 of file switch_module_interfaces.h.
switch_thread_rwlock_t* switch_timer_interface::rwlock |
Definition at line 258 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 255 of file switch_module_interfaces.h.
Referenced by switch_core_timer_check(), and SWITCH_MODULE_LOAD_FUNCTION().
switch_status_t(* switch_timer_interface::timer_destroy) (switch_timer_t *) |
function to deallocate the timer
Definition at line 257 of file switch_module_interfaces.h.
Referenced by switch_core_timer_destroy(), and SWITCH_MODULE_LOAD_FUNCTION().
switch_status_t(* switch_timer_interface::timer_init) (switch_timer_t *) |
function to allocate the timer
Definition at line 247 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 249 of file switch_module_interfaces.h.
Referenced by switch_core_timer_next(), and 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 251 of file switch_module_interfaces.h.
Referenced by switch_core_timer_step(), and SWITCH_MODULE_LOAD_FUNCTION().
switch_status_t(* switch_timer_interface::timer_sync) (switch_timer_t *) |
function to reset the timer
Definition at line 253 of file switch_module_interfaces.h.
Referenced by switch_core_timer_sync(), and SWITCH_MODULE_LOAD_FUNCTION().