008.c 471 B

12345678910111213141516171819202122
  1. static void
  2. run (void *cls,
  3. const struct GNUNET_CONFIGURATION_Handle *c,
  4. struct GNUNET_SERVICE_Handle *service)
  5. {
  6. }
  7. static void *
  8. client_connect_cb (void *cls,
  9. struct GNUNET_SERVICE_Client *c,
  10. struct GNUNET_MQ_Handle *mq)
  11. {
  12. return c;
  13. }
  14. static void
  15. client_disconnect_cb (void *cls,
  16. struct GNUNET_SERVICE_Client *c,
  17. void *internal_cls)
  18. {
  19. GNUNET_assert (c == internal_cls);
  20. }