summaryrefslogtreecommitdiffstats
path: root/src/pstream-util.h
diff options
context:
space:
mode:
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