summaryrefslogtreecommitdiffstats
path: root/example/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'example/common.h')
-rw-r--r--example/common.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/example/common.h b/example/common.h
new file mode 100644
index 00000000..8dab3b7c
--- /dev/null
+++ b/example/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