GNUnet 0.21.1
008.c
Go to the documentation of this file.
1static void
2run (void *cls,
3 const struct GNUNET_CONFIGURATION_Handle *c,
5{
6}
7
8static void *
10 struct GNUNET_SERVICE_Client *c,
11 struct GNUNET_MQ_Handle *mq)
12{
13 return c;
14}
15
16static void
18 struct GNUNET_SERVICE_Client *c,
19 void *internal_cls)
20{
21 GNUNET_assert (c == internal_cls);
22}
struct GNUNET_MQ_Handle * mq
Definition: 003.c:5
static void run(void *cls, const struct GNUNET_CONFIGURATION_Handle *c, struct GNUNET_SERVICE_Handle *service)
Definition: 008.c:2
static void * client_connect_cb(void *cls, struct GNUNET_SERVICE_Client *c, struct GNUNET_MQ_Handle *mq)
Definition: 008.c:9
static void client_disconnect_cb(void *cls, struct GNUNET_SERVICE_Client *c, void *internal_cls)
Definition: 008.c:17
static struct GNUNET_SERVICE_Handle * service
Handle to our service instance.
#define GNUNET_assert(cond)
Use this for fatal errors that cannot be handled.
Handle to a message queue.
Definition: mq.c:87
Handle to a client that is connected to a service.
Definition: service.c:246
Handle to a service.
Definition: service.c:117