diff options
Diffstat (limited to 'src/pulsecore/client.h')
-rw-r--r-- | src/pulsecore/client.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/pulsecore/client.h b/src/pulsecore/client.h index 8ac80dd9..845a8bab 100644 --- a/src/pulsecore/client.h +++ b/src/pulsecore/client.h @@ -48,6 +48,8 @@ struct pa_client { void *userdata; void (*kill)(pa_client *c); + + void (*send_event)(pa_client *c, const char *name, pa_proplist *data); }; typedef struct pa_client_new_data { @@ -73,4 +75,12 @@ void pa_client_set_name(pa_client *c, const char *name); void pa_client_update_proplist(pa_client *c, pa_update_mode_t mode, pa_proplist *p); +void pa_client_send_event(pa_client *c, const char *event, pa_proplist *data); + +typedef struct pa_client_send_event_hook_data { + pa_client *client; + const char *event; + pa_proplist *data; +} pa_client_send_event_hook_data; + #endif |