FreeSWITCH API Documentation  1.7.0
Data Fields
switch_timer_interface Struct Reference

A table of functions that a timer module implements. More...

#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_trwlock
 
int refs
 
switch_mutex_treflock
 
switch_loadable_module_interface_tparent
 
struct switch_timer_interfacenext
 

Detailed Description

A table of functions that a timer module implements.

Definition at line 233 of file switch_module_interfaces.h.

Field Documentation

const char* switch_timer_interface::interface_name
struct switch_timer_interface* switch_timer_interface::next
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().


The documentation for this struct was generated from the following file: