Main Page | Modules | Class Hierarchy | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals | Related Pages

switch_timer_interface Struct Reference

#include <switch_module_interfaces.h>

Collaboration diagram for switch_timer_interface:

Collaboration graph
[legend]

Detailed Description

A table of functions that a timer module implements.


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
switch_timer_interfacenext


Field Documentation

const char* switch_timer_interface::interface_name
 

the name of the interface

struct switch_timer_interface* switch_timer_interface::next
 

switch_thread_rwlock_t* switch_timer_interface::rwlock
 

switch_status_t(* switch_timer_interface::timer_check)(switch_timer_t *, switch_bool_t)
 

function to check if the current step has expired

switch_status_t(* switch_timer_interface::timer_destroy)(switch_timer_t *)
 

function to deallocate the timer

switch_status_t(* switch_timer_interface::timer_init)(switch_timer_t *)
 

function to allocate the timer

switch_status_t(* switch_timer_interface::timer_next)(switch_timer_t *)
 

function to wait for one cycle to pass

switch_status_t(* switch_timer_interface::timer_step)(switch_timer_t *)
 

function to step the timer one step

switch_status_t(* switch_timer_interface::timer_sync)(switch_timer_t *)
 

function to reset the timer


The documentation for this struct was generated from the following file:
Generated on Fri Oct 10 11:24:20 2008 for FreeSWITCH by  doxygen 1.3.9.1