Function switch_event_bind_removable

Source
pub unsafe extern "C" fn switch_event_bind_removable(
    id: *const c_char,
    event: switch_event_types_t,
    subclass_name: *const c_char,
    callback: switch_event_callback_t,
    user_data: *mut c_void,
    node: *mut *mut switch_event_node_t,
) -> switch_status_t
Expand description

\brief Bind an event callback to a specific event \param id an identifier token of the binder \param event the event enumeration to bind to \param subclass_name the event subclass to bind to in the case if SWITCH_EVENT_CUSTOM \param callback the callback functon to bind \param user_data optional user specific data to pass whenever the callback is invoked \param node bind handle to later remove the binding. \return SWITCH_STATUS_SUCCESS if the event was binded