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/008.c | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 doc/documentation/tutorial-examples/008.c (limited to 'doc/documentation/tutorial-examples/008.c') diff --git a/doc/documentation/tutorial-examples/008.c b/doc/documentation/tutorial-examples/008.c new file mode 100644 index 0000000000..2dffe2cf91 --- /dev/null +++ b/doc/documentation/tutorial-examples/008.c @@ -0,0 +1,22 @@ +static void +run (void *cls, + const struct GNUNET_CONFIGURATION_Handle *c, + struct GNUNET_SERVICE_Handle *service) +{ +} + +static void * +client_connect_cb (void *cls, + struct GNUNET_SERVICE_Client *c, + struct GNUNET_MQ_Handle *mq) +{ + return c; +} + +static void +client_disconnect_cb (void *cls, + struct GNUNET_SERVICE_Client *c, + void *internal_cls) +{ + GNUNET_assert (c == internal_cls); +} -- cgit v1.2.3-70-g09d2