pub type switch_application_interface_t = switch_application_interface;Expand description
\brief A module interface to implement an application
Aliased Type§
#[repr(C)]pub struct switch_application_interface_t {
pub interface_name: *const i8,
pub application_function: Option<unsafe extern "C" fn(*mut switch_core_session, *const i8)>,
pub long_desc: *const i8,
pub short_desc: *const i8,
pub syntax: *const i8,
pub flags: u32,
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_application_interface,
}Fields§
§interface_name: *const i8the name of the interface
application_function: Option<unsafe extern "C" fn(*mut switch_core_session, *const i8)>function the application implements
long_desc: *const i8the long winded description of the application
short_desc: *const i8the short and sweet description of the application
syntax: *const i8an example of the application syntax
flags: u32flags to control behaviour
rwlock: *mut fspr_thread_rwlock_t§refs: i32§reflock: *mut fspr_thread_mutex_t§parent: *mut switch_loadable_module_interface§next: *mut switch_application_interface