doc: gnunet-c-tutorial: more includes of examples.
[oweals/gnunet.git] / doc / tutorial-examples / 008.c
1 static void
2 run (void *cls,
3      const struct GNUNET_CONFIGURATION_Handle *c,
4      struct GNUNET_SERVICE_Handle *service)
5 {
6 }
7
8 static void *
9 client_connect_cb (void *cls,
10                    struct GNUNET_SERVICE_Client *c,
11                    struct GNUNET_MQ_Handle *mq)
12 {
13   return c;
14 }
15
16 static void
17 client_disconnect_cb (void *cls,
18                       struct GNUNET_SERVICE_Client *c,
19                       void *internal_cls)
20 {
21   GNUNET_assert (c == internal_cls);
22 }