diff options
author | Colin Guthrie <cguthrie@mandriva.org> | 2009-06-27 22:08:07 +0100 |
---|---|---|
committer | Colin Guthrie <cguthrie@mandriva.org> | 2009-11-11 17:44:22 +0000 |
commit | 0f6ace75c96ed3b2ebb410069751862c07bd9e1f (patch) | |
tree | 6bf45f1cc658549e19cbce7182aab9a6c759ce2b /src/pulse/internal.h | |
parent | 4c68fe7b9f176016e6f574d215f1db8546eaeb38 (diff) |
device-manager: Add an untested protocol extension.
This is effectively copied from the stream restore extension.
Diffstat (limited to 'src/pulse/internal.h')
-rw-r--r-- | src/pulse/internal.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/pulse/internal.h b/src/pulse/internal.h index e069c9e9..b371bfc2 100644 --- a/src/pulse/internal.h +++ b/src/pulse/internal.h @@ -28,6 +28,7 @@ #include <pulse/stream.h> #include <pulse/operation.h> #include <pulse/subscribe.h> +#include <pulse/ext-device-manager.h> #include <pulse/ext-stream-restore.h> #include <pulsecore/socket-client.h> @@ -102,6 +103,10 @@ struct pa_context { /* Extension specific data */ struct { + pa_ext_device_manager_subscribe_cb_t callback; + void *userdata; + } ext_device_manager; + struct { pa_ext_stream_restore_subscribe_cb_t callback; void *userdata; } ext_stream_restore; @@ -283,6 +288,7 @@ pa_tagstruct *pa_tagstruct_command(pa_context *c, uint32_t command, uint32_t *ta #define PA_FAIL_RETURN_NULL(context, error) \ PA_FAIL_RETURN_ANY(context, error, NULL) +void pa_ext_device_manager_command(pa_context *c, uint32_t tag, pa_tagstruct *t); void pa_ext_stream_restore_command(pa_context *c, uint32_t tag, pa_tagstruct *t); pa_bool_t pa_mainloop_is_our_api(pa_mainloop_api*m); |