subscribe.h File Reference

Daemon introspection event subscription subsystem. More...

Go to the source code of this file.

Typedefs

typedef void(* pa_context_subscribe_cb_t )(pa_context *c, pa_subscription_event_type_t t, uint32_t idx, void *userdata)
 Subscription event callback prototype.

Functions

pa_operationpa_context_subscribe (pa_context *c, pa_subscription_mask_t m, pa_context_success_cb_t cb, void *userdata)
 Enable event notification.
void pa_context_set_subscribe_callback (pa_context *c, pa_context_subscribe_cb_t cb, void *userdata)
 Set the context specific call back function that is called whenever the state of the daemon changes.


Detailed Description

Daemon introspection event subscription subsystem.


Typedef Documentation

typedef void(* pa_context_subscribe_cb_t)(pa_context *c, pa_subscription_event_type_t t, uint32_t idx, void *userdata)

Subscription event callback prototype.


Function Documentation

void pa_context_set_subscribe_callback ( pa_context c,
pa_context_subscribe_cb_t  cb,
void *  userdata 
)

Set the context specific call back function that is called whenever the state of the daemon changes.

pa_operation* pa_context_subscribe ( pa_context c,
pa_subscription_mask_t  m,
pa_context_success_cb_t  cb,
void *  userdata 
)

Enable event notification.


Generated on Mon Jun 14 16:31:37 2010 for PulseAudio by  doxygen 1.5.6