summaryrefslogtreecommitdiffstats
path: root/src/pstream-util.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2004-06-23 23:17:30 +0000
committerLennart Poettering <lennart@poettering.net>2004-06-23 23:17:30 +0000
commitacb25b35102dfca08f66e155560f6c99cb8fa841 (patch)
tree2ae84c77727548a15eabbe5ad624dc1fd29af30b /src/pstream-util.h
parenteecf602476ff5b51bdc08f8fd0e4aa70d2b0ef5a (diff)
main part of the native protocol
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@31 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'src/pstream-util.h')
-rw-r--r--src/pstream-util.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/pstream-util.h b/src/pstream-util.h
new file mode 100644
index 00000000..4e64a95c
--- /dev/null
+++ b/src/pstream-util.h
@@ -0,0 +1,14 @@
+#ifndef foopstreamutilhfoo
+#define foopstreamutilhfoo
+
+#include <inttypes.h>
+#include "pstream.h"
+#include "tagstruct.h"
+
+/* The tagstruct is freed!*/
+void pstream_send_tagstruct(struct pstream *p, struct tagstruct *t);
+
+void pstream_send_error(struct pstream *p, uint32_t tag, uint32_t error);
+void pstream_send_simple_ack(struct pstream *p, uint32_t tag);
+
+#endif