summaryrefslogtreecommitdiffstats
path: root/example/common.h
diff options
context:
space:
mode:
authorPetteri Aimonen <jpa@npb.mail.kapsi.fi>2011-08-22 15:22:41 +0000
committerPetteri Aimonen <jpa@npb.mail.kapsi.fi>2011-08-22 15:22:41 +0000
commit494fbd91e4e5574a4cf8dbe69b3f80a08e97e85b (patch)
treebdcd9d84aecda89d3af602c8ffccb9ffa5518561 /example/common.h
parent7f53c3f7484679c1e38607f59542d43be1387650 (diff)
example client
git-svn-id: https://svn.kapsi.fi/jpa/nanopb@958 e3a754e5-d11d-0410-8d38-ebb782a927b9
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