summaryrefslogtreecommitdiffstats
path: root/src/pulsecore/protocol-http.h
diff options
context:
space:
mode:
authorColin Guthrie <pulse@colin.guthr.ie>2008-08-03 19:56:49 +0100
committerColin Guthrie <pulse@colin.guthr.ie>2008-08-03 19:56:49 +0100
commit5744237a066186be305be9ea3ecb3ccccadcceca (patch)
tree6a08957a66fb308a8f1b37232d9b2d24a246e394 /src/pulsecore/protocol-http.h
parentb30a5d601eaffd98914ca0b9fdecd863eade0b4f (diff)
parent04ffac57a67eee9640f248b6fab33ee8367b0eab (diff)
Merge branch 'master' of git://git.0pointer.de/pulseaudio
Diffstat (limited to 'src/pulsecore/protocol-http.h')
-rw-r--r--src/pulsecore/protocol-http.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/pulsecore/protocol-http.h b/src/pulsecore/protocol-http.h
index e3372335..7e8f9760 100644
--- a/src/pulsecore/protocol-http.h
+++ b/src/pulsecore/protocol-http.h
@@ -23,13 +23,17 @@
***/
#include <pulsecore/core.h>
-#include <pulsecore/socket-server.h>
#include <pulsecore/module.h>
#include <pulsecore/modargs.h>
+#include <pulsecore/iochannel.h>
-typedef struct pa_protocol_http pa_protocol_http;
-pa_protocol_http* pa_protocol_http_new(pa_core *core, pa_socket_server *server, pa_module *m, pa_modargs *ma);
-void pa_protocol_http_free(pa_protocol_http *n);
+typedef struct pa_http_protocol pa_http_protocol;
+
+pa_http_protocol* pa_http_protocol_get(pa_core *core);
+pa_http_protocol* pa_http_protocol_ref(pa_http_protocol *p);
+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);
#endif