diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2014-01-30 14:16:20 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2014-01-30 14:16:20 +0000 |
commit | e34f367380ed951b51895e24d99a81a12899278c (patch) | |
tree | f69a83bde0e96cb3def8af1cefa4e7b5548e7bc2 /src/include/gnunet_transport_plugin.h | |
parent | ff57ba65e29db50bd42e540ba95cb938a5ef8008 (diff) | |
download | gnunet-e34f367380ed951b51895e24d99a81a12899278c.tar.gz gnunet-e34f367380ed951b51895e24d99a81a12899278c.zip |
extending bandwidth tracker api to support notifications
Diffstat (limited to 'src/include/gnunet_transport_plugin.h')
-rw-r--r-- | src/include/gnunet_transport_plugin.h | 7 |
1 files changed, 7 insertions, 0 deletions
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 | |||
@@ -576,6 +576,13 @@ struct GNUNET_TRANSPORT_PluginFunctions | |||
576 | GNUNET_TRANSPORT_UpdateSessionTimeout update_session_timeout; | 576 | GNUNET_TRANSPORT_UpdateSessionTimeout update_session_timeout; |
577 | 577 | ||
578 | /** | 578 | /** |
579 | * Function that will be called whenever the transport service wants to | ||
580 | * notify the plugin that the inbound quota changed and that the plugin | ||
581 | * should update it's delay for the next receive value | ||
582 | */ | ||
583 | //GNUNET_TRANSPORT_UpdateNextReceiveTimeout update_next_receive_timeout; | ||
584 | |||
585 | /** | ||
579 | * Function that is used to query keepalive factor. | 586 | * Function that is used to query keepalive factor. |
580 | * GNUNET_CONSTANTS_IDLE_CONNECTION_TIMEOUT is divided by this number to | 587 | * GNUNET_CONSTANTS_IDLE_CONNECTION_TIMEOUT is divided by this number to |
581 | * calculate the interval between keepalive packets. | 588 | * calculate the interval between keepalive packets. |