pub type switch_event_t = switch_event;Expand description
\brief Representation of an event
Aliased Type§
#[repr(C)]pub struct switch_event_t {
pub event_id: switch_event_types_t,
pub priority: u32,
pub owner: *mut i8,
pub subclass_name: *mut i8,
pub headers: *mut switch_event_header,
pub last_header: *mut switch_event_header,
pub body: *mut i8,
pub bind_user_data: *mut c_void,
pub event_user_data: *mut c_void,
pub key: u64,
pub next: *mut switch_event,
pub flags: i32,
}Fields§
§event_id: switch_event_types_tthe event id (descriptor)
priority: u32the priority of the event
owner: *mut i8the owner of the event
subclass_name: *mut i8the subclass of the event
headers: *mut switch_event_headerthe event headers
last_header: *mut switch_event_headerthe event headers tail pointer
body: *mut i8the body of the event
bind_user_data: *mut c_voiduser data from the subclass provider
event_user_data: *mut c_voiduser data from the event sender
key: u64unique key
next: *mut switch_event§flags: i32