GNUnet  0.11.x
003.c
Go to the documentation of this file.
1 struct GNUNET_MQ_MessageHandlers handlers[] = {
2  // ...
4 };
6 
8  "service-name",
9  handlers,
10  &error_cb,
11  NULL);
static const struct GNUNET_CONFIGURATION_Handle * cfg
Configuration we are using.
Definition: gnunet-abd.c:36
struct GNUNET_MQ_Handle * GNUNET_CLIENT_connect(const struct GNUNET_CONFIGURATION_Handle *cfg, const char *service_name, const struct GNUNET_MQ_MessageHandler *handlers, GNUNET_MQ_ErrorHandler error_handler, void *error_handler_cls)
Create a message queue to connect to a GNUnet service.
Definition: client.c:1057
static void error_cb(void *cls)
Function called if lookup fails.
Definition: gnunet-abd.c:485
struct GNUNET_MQ_MessageHandlers handlers[]
Definition: 003.c:1
Handle to a message queue.
Definition: mq.c:85
struct GNUNET_MQ_Handle * mq
Definition: 003.c:5
#define GNUNET_MQ_handler_end()
End-marker for the handlers array.