Expand description
Daemon introspection event subscription subsystem.
Re-exports§
pub use self::subscription_masks::*;pub use self::event_facilities::*;pub use self::event_operations::*;
Modules§
- event_
facilities - Possible facility variants that could be extracted from an event type.
- event_
operations - Possible operation variants that could be extracted from an event type.
- subscription_
masks - A set of masks used for expressing which facilities you are interested in when subscribing.
Constants§
- PA_
SUBSCRIPTION_ EVENT_ FACILITY_ MASK - Mask to extract facility value from the event type passed to the user callback.
- PA_
SUBSCRIPTION_ EVENT_ TYPE_ MASK - Mask to extract operation value from the event type passed to the user callback.
Functions§
- pa_
context_ ⚠set_ subscribe_ callback - pa_
context_ ⚠subscribe - pa_
subscription_ match_ flags - Checks if event type
tmatches an event mask bitfield (returnstrueif so).
Type Aliases§
- pa_
context_ subscribe_ cb_ t - pa_
subscription_ event_ type_ t - The base integer type passed to the callback, from which the facility and operation components can be extracted.
- pa_
subscription_ mask_ t - Used to express what facilities you are interested in when subscribing.