Function switch_event_add_header_string

Source
pub unsafe extern "C" fn switch_event_add_header_string(
    event: *mut switch_event_t,
    stack: switch_stack_t,
    header_name: *const c_char,
    data: *const c_char,
) -> switch_status_t
Expand description

\brief Add a string header to an event \param event the event to add the header to \param stack the stack sense (stack it on the top or on the bottom) \param header_name the name of the header to add \param data the value of the header \return SWITCH_STATUS_SUCCESS if the header was added