From e34f367380ed951b51895e24d99a81a12899278c Mon Sep 17 00:00:00 2001 From: Matthias Wachs Date: Thu, 30 Jan 2014 14:16:20 +0000 Subject: extending bandwidth tracker api to support notifications --- src/include/gnunet_transport_plugin.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/include/gnunet_transport_plugin.h') diff --git a/src/include/gnunet_transport_plugin.h b/src/include/gnunet_transport_plugin.h index bf84819ad..187d5d508 100644 --- a/src/include/gnunet_transport_plugin.h +++ b/src/include/gnunet_transport_plugin.h @@ -575,6 +575,13 @@ struct GNUNET_TRANSPORT_PluginFunctions */ GNUNET_TRANSPORT_UpdateSessionTimeout update_session_timeout; + /** + * Function that will be called whenever the transport service wants to + * notify the plugin that the inbound quota changed and that the plugin + * should update it's delay for the next receive value + */ + //GNUNET_TRANSPORT_UpdateNextReceiveTimeout update_next_receive_timeout; + /** * Function that is used to query keepalive factor. * GNUNET_CONSTANTS_IDLE_CONNECTION_TIMEOUT is divided by this number to -- cgit v1.2.3