summaryrefslogtreecommitdiff
path: root/src/transport/gnunet-service-transport_plugins.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2014-10-23 10:59:15 +0000
committerChristian Grothoff <christian@grothoff.org>2014-10-23 10:59:15 +0000
commit1a45b968a48a82e57696ce618e1e77141b738182 (patch)
treec42bbd986f0df598621d88859362082549ce4fde /src/transport/gnunet-service-transport_plugins.h
parent1aa2d5f160da455dd68c3d8be6f6e9ebf5b46d98 (diff)
implementing monitoring functionality in transport service
Diffstat (limited to 'src/transport/gnunet-service-transport_plugins.h')
-rw-r--r--src/transport/gnunet-service-transport_plugins.h11
1 files changed, 11 insertions, 0 deletions
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 */