State Handlers
[Core Library]

Collaboration diagram for State Handlers:

Functions

int switch_core_add_state_handler (_In_ const switch_state_handler_table_t *state_handler)
 Add a global state handler.
void switch_core_remove_state_handler (_In_ const switch_state_handler_table_t *state_handler)
 Remove a global state handler.
const switch_state_handler_table_tswitch_core_get_state_handler (_In_ int index)
 Access a state handler.


Function Documentation

int switch_core_add_state_handler ( _In_ const switch_state_handler_table_t state_handler  ) 

Add a global state handler.

Parameters:
state_handler a state handler to add
Returns:
the current index/priority of this handler

const switch_state_handler_table_t* switch_core_get_state_handler ( _In_ int  index  ) 

Access a state handler.

Parameters:
index the desired index to access
Returns:
the desired state handler table or NULL when it does not exist.

void switch_core_remove_state_handler ( _In_ const switch_state_handler_table_t state_handler  ) 

Remove a global state handler.

Parameters:
state_handler the state handler to remove


Generated on Wed May 16 04:00:18 2012 for FreeSWITCH API Documentation by  doxygen 1.4.7