GNUnet  0.17.6
Go to the documentation of this file.
1 struct GNUNET_MQ_MessageHandlers handlers[] = {
2  // ...
4 };
8  "service-name",
9  handlers,
10  &error_cb,
11  NULL);
struct GNUNET_MQ_MessageHandlers handlers[]
Definition: 003.c:1
struct GNUNET_MQ_Handle * mq
Definition: 003.c:5
static const struct GNUNET_CONFIGURATION_Handle * cfg
Configuration we are using.
Definition: gnunet-abd.c:36
static void error_cb(void *cls)
Function called if lookup fails.
Definition: gnunet-abd.c:479
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:1055
#define GNUNET_MQ_handler_end()
End-marker for the handlers array.
Handle to a message queue.
Definition: mq.c:86