pub type switch_chat_interface_t = switch_chat_interface;Expand description
\brief Abstract interface to a chat module
Aliased Type§
#[repr(C)]pub struct switch_chat_interface_t {
pub interface_name: *const i8,
pub chat_send: Option<unsafe extern "C" fn(*mut switch_event) -> switch_status_t>,
pub rwlock: *mut fspr_thread_rwlock_t,
pub refs: i32,
pub reflock: *mut fspr_thread_mutex_t,
pub parent: *mut switch_loadable_module_interface,
pub next: *mut switch_chat_interface,
}Fields§
§interface_name: *const i8the name of the interface
chat_send: Option<unsafe extern "C" fn(*mut switch_event) -> switch_status_t>function to open the directory interface
rwlock: *mut fspr_thread_rwlock_t§refs: i32§reflock: *mut fspr_thread_mutex_t§parent: *mut switch_loadable_module_interface§next: *mut switch_chat_interface