diff options
author | Christian Grothoff <christian@grothoff.org> | 2014-10-23 10:59:15 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2014-10-23 10:59:15 +0000 |
commit | 1a45b968a48a82e57696ce618e1e77141b738182 (patch) | |
tree | c42bbd986f0df598621d88859362082549ce4fde /src/transport/gnunet-service-transport_plugins.h | |
parent | 1aa2d5f160da455dd68c3d8be6f6e9ebf5b46d98 (diff) | |
download | gnunet-1a45b968a48a82e57696ce618e1e77141b738182.tar.gz gnunet-1a45b968a48a82e57696ce618e1e77141b738182.zip |
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.h | 11 |
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 * | |||
100 | GST_plugins_a2s (const struct GNUNET_HELLO_Address *address); | 100 | GST_plugins_a2s (const struct GNUNET_HELLO_Address *address); |
101 | 101 | ||
102 | 102 | ||
103 | /** | ||
104 | * Register callback with all plugins to monitor their status. | ||
105 | * | ||
106 | * @param cb callback to register, NULL to unsubscribe | ||
107 | * @param cb_cls closure for @a cb | ||
108 | */ | ||
109 | void | ||
110 | GST_plugins_monitor_subscribe (GNUNET_TRANSPORT_SessionInfoCallback cb, | ||
111 | void *cb_cls); | ||
112 | |||
113 | |||
103 | #endif | 114 | #endif |
104 | /* end of file gnunet-service-transport_plugins.h */ | 115 | /* end of file gnunet-service-transport_plugins.h */ |