extending bandwidth tracker api to support notifications
[oweals/gnunet.git] / src / include / gnunet_transport_plugin.h
index bf84819ad36d2a1fc8f9f8bc13a3e4376ef9f212..187d5d508a5c844e3117432897282a49d437db88 100644 (file)
@@ -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