pub type switch_dialplan_interface_t = switch_dialplan_interface;Expand description
\brief Abstract interface to a dialplan module
Aliased Type§
#[repr(C)]pub struct switch_dialplan_interface_t {
pub interface_name: *const i8,
pub hunt_function: Option<unsafe extern "C" fn(*mut switch_core_session, *mut c_void, *mut switch_caller_profile) -> *mut switch_caller_extension>,
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_dialplan_interface,
}Fields§
§interface_name: *const i8the name of the interface
hunt_function: Option<unsafe extern "C" fn(*mut switch_core_session, *mut c_void, *mut switch_caller_profile) -> *mut switch_caller_extension>the function to read an extension and set a channels dialpan
rwlock: *mut fspr_thread_rwlock_t§refs: i32§reflock: *mut fspr_thread_mutex_t§parent: *mut switch_loadable_module_interface§next: *mut switch_dialplan_interface