Function switch_channel_add_state_handler

Source
pub unsafe extern "C" fn switch_channel_add_state_handler(
    channel: *mut switch_channel_t,
    state_handler: *const switch_state_handler_table_t,
) -> c_int
Expand description

\brief add a state handler table to a given channel \param channel channel on which to add the state handler table \param state_handler table of state handler functions \return the index number/priority of the table negative value indicates failure