summaryrefslogtreecommitdiffstats
path: root/examples/network_server/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/network_server/common.h')
-rw-r--r--examples/network_server/common.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/examples/network_server/common.h b/examples/network_server/common.h
new file mode 100644
index 00000000..8dab3b7c
--- /dev/null
+++ b/examples/network_server/common.h
@@ -0,0 +1,9 @@
+#ifndef _PB_EXAMPLE_COMMON_H_
+#define _PB_EXAMPLE_COMMON_H_
+
+#include <pb.h>
+
+pb_ostream_t pb_ostream_from_socket(int fd);
+pb_istream_t pb_istream_from_socket(int fd);
+
+#endif \ No newline at end of file