GNUnet  0.10.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);
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:900
static void error_cb(GstBus *bus, GstMessage *msg, GNUNET_gstData *data)
Definition: gnunet_gst.c:327
static struct GNUNET_CONFIGURATION_Handle * cfg
Our configuration.
Definition: gnunet-arm.c:104
struct GNUNET_MQ_MessageHandlers handlers[]
Definition: 003.c:1
Handle to a message queue.
Definition: mq.c:84
struct GNUNET_MQ_Handle * mq
Definition: 003.c:5
#define GNUNET_MQ_handler_end()
End-marker for the handlers array.