From 7f07f09d52aed7c449a330d8a82c1280776e49e0 Mon Sep 17 00:00:00 2001 From: ng0 Date: Sat, 21 Oct 2017 16:37:12 +0000 Subject: move docmentation to separate folder --- doc/documentation/tutorial-examples/003.c | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 doc/documentation/tutorial-examples/003.c (limited to 'doc/documentation/tutorial-examples/003.c') diff --git a/doc/documentation/tutorial-examples/003.c b/doc/documentation/tutorial-examples/003.c new file mode 100644 index 0000000000..d158d7e756 --- /dev/null +++ b/doc/documentation/tutorial-examples/003.c @@ -0,0 +1,11 @@ +struct GNUNET_MQ_MessageHandlers handlers[] = { + // ... + GNUNET_MQ_handler_end () +}; +struct GNUNET_MQ_Handle *mq; + +mq = GNUNET_CLIENT_connect (cfg, + "service-name", + handlers, + &error_cb, + NULL); -- cgit v1.2.3-70-g09d2