2
0

003.c 308 B

1234567891011
  1. struct GNUNET_MQ_MessageHandlers handlers[] = {
  2. // ...
  3. GNUNET_MQ_handler_end ()
  4. };
  5. struct GNUNET_MQ_Handle *mq;
  6. mq = GNUNET_CLIENT_connect (cfg,
  7. "service-name",
  8. handlers,
  9. &error_cb,
  10. NULL);