Type Alias switch_stream_handle_t
Source pub type switch_stream_handle_t = switch_stream_handle;
#[repr(C)]
pub struct switch_stream_handle_t {
pub read_function: Option<unsafe extern "C" fn(*mut switch_stream_handle, *mut i32) -> *mut u8>,
pub write_function: Option<unsafe extern "C" fn(*mut switch_stream_handle, *const i8, ...) -> switch_status_t>,
pub raw_write_function: Option<unsafe extern "C" fn(*mut switch_stream_handle, *mut u8, usize) -> switch_status_t>,
pub data: *mut c_void,
pub end: *mut c_void,
pub data_size: usize,
pub data_len: usize,
pub alloc_len: usize,
pub alloc_chunk: usize,
pub param_event: *mut switch_event,
}