summaryrefslogtreecommitdiffstats
path: root/src/polyp/context.h
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2006-03-02 21:56:15 +0000
committerPierre Ossman <ossman@cendio.se>2006-03-02 21:56:15 +0000
commitbc97b29447bf5c9932ceccb665fa57dd7f654b36 (patch)
treef190713863f976e8e05cb9ee2b41cbaa8b433e71 /src/polyp/context.h
parentfbaaf5acb7b391c605585971dac2b417b55f1100 (diff)
Negotiate protocol version between server and client. Will allow smoother
protocol modifications in the future. git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@621 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'src/polyp/context.h')
-rw-r--r--src/polyp/context.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/polyp/context.h b/src/polyp/context.h
index 73bcb698..89febe92 100644
--- a/src/polyp/context.h
+++ b/src/polyp/context.h
@@ -115,6 +115,12 @@ pa_operation* pa_context_set_name(pa_context *c, const char *name, pa_context_su
/** Return the server name this context is connected to. \since 0.7 */
const char* pa_context_get_server(pa_context *c);
+/** Return the protocol version of the library. \since 0.8 */
+uint32_t pa_context_get_protocol_version(pa_context *c);
+
+/** Return the protocol version of the connected server. \since 0.8 */
+uint32_t pa_context_get_server_protocol_version(pa_context *c);
+
PA_C_DECL_END
#endif