Module subscribe

Module subscribe 

Source
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 t matches an event mask bitfield (returns true if 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.