From 1a45b968a48a82e57696ce618e1e77141b738182 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Thu, 23 Oct 2014 10:59:15 +0000 Subject: implementing monitoring functionality in transport service --- src/transport/gnunet-service-transport_plugins.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'src/transport/gnunet-service-transport_plugins.h') diff --git a/src/transport/gnunet-service-transport_plugins.h b/src/transport/gnunet-service-transport_plugins.h index 15d8463fb..766ebaa66 100644 --- a/src/transport/gnunet-service-transport_plugins.h +++ b/src/transport/gnunet-service-transport_plugins.h @@ -100,5 +100,16 @@ const char * GST_plugins_a2s (const struct GNUNET_HELLO_Address *address); +/** + * Register callback with all plugins to monitor their status. + * + * @param cb callback to register, NULL to unsubscribe + * @param cb_cls closure for @a cb + */ +void +GST_plugins_monitor_subscribe (GNUNET_TRANSPORT_SessionInfoCallback cb, + void *cb_cls); + + #endif /* end of file gnunet-service-transport_plugins.h */ -- cgit v1.2.3