summaryrefslogtreecommitdiffstats
path: root/src/pstream-util.h
blob: 4e64a95c0bfeeade8fba091a6ecd4a7d99a3cfb8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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