Function switch_channel_set_private

Source
pub unsafe extern "C" fn switch_channel_set_private(
    channel: *mut switch_channel_t,
    key: *const c_char,
    private_info: *const c_void,
) -> switch_status_t
Expand description

\brief Set private data on channel \param channel channel on which to set data \param key unique keyname to associate your private data to \param private_info void pointer to private data \return SWITCH_STATUS_SUCCESS if data was set \remarks set NULL to delete your private data