aboutsummaryrefslogtreecommitdiff
path: root/doc/tutorial/examples/009.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2018-10-25 15:46:45 +0200
committerChristian Grothoff <christian@grothoff.org>2018-10-25 15:46:45 +0200
commit7101471b5fc9ad10a0a0c06fb2aaeb5a568dbf56 (patch)
tree589b209e1943461eccb56e1bed4e4d4323bd8c08 /doc/tutorial/examples/009.c
parent8a4b969fd2e9fb399dfd1d9d1569e95a77d599bb (diff)
downloadgnunet-7101471b5fc9ad10a0a0c06fb2aaeb5a568dbf56.tar.gz
gnunet-7101471b5fc9ad10a0a0c06fb2aaeb5a568dbf56.zip
doc/documentation split into doc/tutorial and doc/handbook for clarity and to avoid automake freakout
Diffstat (limited to 'doc/tutorial/examples/009.c')
-rw-r--r--doc/tutorial/examples/009.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/tutorial/examples/009.c b/doc/tutorial/examples/009.c
new file mode 100644
index 000000000..26d918fb0
--- /dev/null
+++ b/doc/tutorial/examples/009.c
@@ -0,0 +1,9 @@
1#include <gnunet/gnunet_core_service.h>
2
3struct GNUNET_CORE_Handle *
4GNUNET_CORE_connect (const struct GNUNET_CONFIGURATION_Handle *cfg,
5 void *cls,
6 GNUNET_CORE_StartupCallback init,
7 GNUNET_CORE_ConnectEventHandler connects,
8 GNUNET_CORE_DisconnectEventHandler disconnects,
9 const struct GNUNET_MQ_MessageHandler *handlers);