GNUnet  0.10.x
008.c
Go to the documentation of this file.
1 static void
2 run (void *cls,
3  const struct GNUNET_CONFIGURATION_Handle *c,
5 {
6 }
7 
8 static void *
10  struct GNUNET_SERVICE_Client *c,
11  struct GNUNET_MQ_Handle *mq)
12 {
13  return c;
14 }
15 
16 static void
18  struct GNUNET_SERVICE_Client *c,
19  void *internal_cls)
20 {
21  GNUNET_assert (c == internal_cls);
22 }
static struct GNUNET_SERVICE_Handle * service
Handle to our service instance.
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
Handle to a service.
Definition: service.c:116
#define GNUNET_assert(cond)
Use this for fatal errors that cannot be handled.
static void run(void *cls, const struct GNUNET_CONFIGURATION_Handle *c, struct GNUNET_SERVICE_Handle *service)
Definition: 008.c:2
Handle to a client that is connected to a service.
Definition: service.c:249
void * cls
Closure for mv and cb.
Handle to a message queue.
Definition: mq.c:85
configuration data
Definition: configuration.c:85
struct GNUNET_MQ_Handle * mq
Definition: 003.c:5