diff options
author | ng0 <ng0@infotropique.org> | 2017-10-21 16:37:12 +0000 |
---|---|---|
committer | ng0 <ng0@infotropique.org> | 2017-10-21 16:37:12 +0000 |
commit | 7f07f09d52aed7c449a330d8a82c1280776e49e0 (patch) | |
tree | 01dc30d8791a3b23661f31b046029b9de4cd6a21 /doc/documentation/tutorial-examples/003.c | |
parent | c49513a65ed3db8ba7043481d0dab920ab40ee48 (diff) | |
download | gnunet-7f07f09d52aed7c449a330d8a82c1280776e49e0.tar.gz gnunet-7f07f09d52aed7c449a330d8a82c1280776e49e0.zip |
move docmentation to separate folder
Diffstat (limited to 'doc/documentation/tutorial-examples/003.c')
-rw-r--r-- | doc/documentation/tutorial-examples/003.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/documentation/tutorial-examples/003.c b/doc/documentation/tutorial-examples/003.c new file mode 100644 index 000000000..d158d7e75 --- /dev/null +++ b/doc/documentation/tutorial-examples/003.c | |||
@@ -0,0 +1,11 @@ | |||
1 | struct GNUNET_MQ_MessageHandlers handlers[] = { | ||
2 | // ... | ||
3 | GNUNET_MQ_handler_end () | ||
4 | }; | ||
5 | struct GNUNET_MQ_Handle *mq; | ||
6 | |||
7 | mq = GNUNET_CLIENT_connect (cfg, | ||
8 | "service-name", | ||
9 | handlers, | ||
10 | &error_cb, | ||
11 | NULL); | ||