diff options
author | Lennart Poettering <lennart@poettering.net> | 2008-08-04 19:02:20 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2008-08-04 19:02:20 +0200 |
commit | 0cc674d96198b26cec81b38c32232e95735e4cca (patch) | |
tree | 601fe9dbc869e3edff5df989622bbf1a1229966b /src/pulse/internal.h | |
parent | 88c3db6636988e39c99220ba4969625b709e97ed (diff) |
wrap protocol extension of module-stream-restore
Diffstat (limited to 'src/pulse/internal.h')
-rw-r--r-- | src/pulse/internal.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/pulse/internal.h b/src/pulse/internal.h index 9ed541d1..bfe888ee 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-stream-restore.h> #include <pulsecore/socket-client.h> #include <pulsecore/pstream.h> @@ -86,6 +87,12 @@ struct pa_context { pa_client_conf *conf; uint32_t client_index; + + /* Extension specific data */ + struct { + pa_ext_stream_restore_subscribe_cb_t callback; + void *userdata; + } ext_stream_restore; }; #define PA_MAX_WRITE_INDEX_CORRECTIONS 32 @@ -233,4 +240,6 @@ pa_tagstruct *pa_tagstruct_command(pa_context *c, uint32_t command, uint32_t *ta #define PA_CHECK_VALIDITY_RETURN_NULL(context, expression, error) PA_CHECK_VALIDITY_RETURN_ANY(context, expression, error, NULL) +void pa_ext_stream_restore_command(pa_context *c, uint32_t tag, pa_tagstruct *t); + #endif |