aboutsummaryrefslogtreecommitdiff
path: root/doc/tutorial-examples/004.c
diff options
context:
space:
mode:
authorng0 <ng0@infotropique.org>2017-09-05 12:08:13 +0000
committerng0 <ng0@infotropique.org>2017-09-05 12:09:01 +0000
commitdca832adb5eb0ad336b0baaebf8d826c9b5ed125 (patch)
tree57f34e8a7922fabb074cd118e0265b32340a51ae /doc/tutorial-examples/004.c
parentcfba13ba203d18db23ff758ddbb4bc4d42f9c9a7 (diff)
downloadgnunet-dca832adb5eb0ad336b0baaebf8d826c9b5ed125.tar.gz
gnunet-dca832adb5eb0ad336b0baaebf8d826c9b5ed125.zip
doc: gnunet-c-tutorial: include example 4 and 5.
Diffstat (limited to 'doc/tutorial-examples/004.c')
-rw-r--r--doc/tutorial-examples/004.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/tutorial-examples/004.c b/doc/tutorial-examples/004.c
new file mode 100644
index 000000000..0ef007907
--- /dev/null
+++ b/doc/tutorial-examples/004.c
@@ -0,0 +1,5 @@
1struct GNUNET_MessageHeader
2{
3 uint16_t size GNUNET_PACKED;
4 uint16_t type GNUNET_PACKED;
5};