summaryrefslogtreecommitdiffstats
path: root/src/pulsecore/protocol-http.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2009-04-30 01:35:18 +0200
committerLennart Poettering <lennart@poettering.net>2009-04-30 01:35:18 +0200
commit8dfdfd4e1be6359dc49a44539699c1383ff2b46a (patch)
treed158046db532f70f2f51f11f587ad4cbfaaa39db /src/pulsecore/protocol-http.h
parent23a798caf6aa70bbff3fcbe9bbdb50d602bd1bb3 (diff)
http: export information about currently active server strings
Diffstat (limited to 'src/pulsecore/protocol-http.h')
-rw-r--r--src/pulsecore/protocol-http.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/pulsecore/protocol-http.h b/src/pulsecore/protocol-http.h
index 40b3d82c..f7517e81 100644
--- a/src/pulsecore/protocol-http.h
+++ b/src/pulsecore/protocol-http.h
@@ -26,7 +26,7 @@
#include <pulsecore/module.h>
#include <pulsecore/modargs.h>
#include <pulsecore/iochannel.h>
-
+#include <pulsecore/strlist.h>
typedef struct pa_http_protocol pa_http_protocol;
@@ -36,4 +36,8 @@ void pa_http_protocol_unref(pa_http_protocol *p);
void pa_http_protocol_connect(pa_http_protocol *p, pa_iochannel *io, pa_module *m);
void pa_http_protocol_disconnect(pa_http_protocol *p, pa_module *m);
+void pa_http_protocol_add_server_string(pa_http_protocol *p, const char *name);
+void pa_http_protocol_remove_server_string(pa_http_protocol *p, const char *name);
+pa_strlist *pa_http_protocol_servers(pa_http_protocol *p);
+
#endif