Type Alias switch_event_t

Source
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_t

the event id (descriptor)

§priority: u32

the priority of the event

§owner: *mut i8

the owner of the event

§subclass_name: *mut i8

the subclass of the event

§headers: *mut switch_event_header

the event headers

§last_header: *mut switch_event_header

the event headers tail pointer

§body: *mut i8

the body of the event

§bind_user_data: *mut c_void

user data from the subclass provider

§event_user_data: *mut c_void

user data from the event sender

§key: u64

unique key

§next: *mut switch_event§flags: i32