summaryrefslogtreecommitdiffstats
path: root/polyp/polyplib-context.h
diff options
context:
space:
mode:
Diffstat (limited to 'polyp/polyplib-context.h')
-rw-r--r--polyp/polyplib-context.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/polyp/polyplib-context.h b/polyp/polyplib-context.h
index 565701b2..db4b121d 100644
--- a/polyp/polyplib-context.h
+++ b/polyp/polyplib-context.h
@@ -108,6 +108,9 @@ int pa_context_is_local(struct pa_context *c);
/** Set a different application name for context on the server. \since 0.5 */
struct pa_operation* pa_context_set_name(struct pa_context *c, const char *name, void(*cb)(struct pa_context*c, int success, void *userdata), void *userdata);
+/** Return the server name this context is connected to. \since 0.7 */
+const char* pa_context_get_server(struct pa_context *c);
+
PA_C_DECL_END
#endif