aboutsummaryrefslogtreecommitdiff
path: root/doc/documentation/tutorial-examples/007.c
diff options
context:
space:
mode:
Diffstat (limited to 'doc/documentation/tutorial-examples/007.c')
-rw-r--r--doc/documentation/tutorial-examples/007.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/documentation/tutorial-examples/007.c b/doc/documentation/tutorial-examples/007.c
new file mode 100644
index 0000000000..096539e432
--- /dev/null
+++ b/doc/documentation/tutorial-examples/007.c
@@ -0,0 +1,10 @@
+GNUNET_SERVICE_MAIN
+("service-name",
+ GNUNET_SERVICE_OPTION_NONE,
+ &run,
+ &client_connect_cb,
+ &client_disconnect_cb,
+ NULL,
+ GNUNET_MQ_hd_fixed_size (...),
+ GNUNET_MQ_hd_var_size (...),
+ GNUNET_MQ_handler_end ());