diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-07-14 20:26:46 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-07-14 20:26:46 +0000 |
commit | 1b95efd9e4491be038c16fd7dca61e9b79dd502b (patch) | |
tree | 53bce3808e2be55838898d85c23772a496e3a5aa /src/include/gnunet_transport_plugin.h | |
parent | 245187d11cba38164d73afdcb6ddd2a09d701eed (diff) | |
download | gnunet-1b95efd9e4491be038c16fd7dca61e9b79dd502b.tar.gz gnunet-1b95efd9e4491be038c16fd7dca61e9b79dd502b.zip |
fix
Diffstat (limited to 'src/include/gnunet_transport_plugin.h')
-rw-r--r-- | src/include/gnunet_transport_plugin.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/include/gnunet_transport_plugin.h b/src/include/gnunet_transport_plugin.h index 40f134db0..7704d2b0c 100644 --- a/src/include/gnunet_transport_plugin.h +++ b/src/include/gnunet_transport_plugin.h | |||
@@ -155,6 +155,7 @@ typedef struct GNUNET_TIME_Relative (*GNUNET_TRANSPORT_TrafficReport) (void *cls | |||
155 | GNUNET_PeerIdentity *peer, | 155 | GNUNET_PeerIdentity *peer, |
156 | size_t amount_recved); | 156 | size_t amount_recved); |
157 | 157 | ||
158 | |||
158 | /** | 159 | /** |
159 | * Function called whenever the plugin has to notify ATS about costs for using this transport | 160 | * Function called whenever the plugin has to notify ATS about costs for using this transport |
160 | * | 161 | * |
@@ -174,6 +175,7 @@ typedef void (*GNUNET_TRANSPORT_CostReport) (void *cls, | |||
174 | uint16_t addrlen, | 175 | uint16_t addrlen, |
175 | struct GNUNET_TRANSPORT_ATS_Information * cost); | 176 | struct GNUNET_TRANSPORT_ATS_Information * cost); |
176 | 177 | ||
178 | |||
177 | /** | 179 | /** |
178 | * The transport service will pass a pointer to a struct | 180 | * The transport service will pass a pointer to a struct |
179 | * of this type as the first and only argument to the | 181 | * of this type as the first and only argument to the |
@@ -440,9 +442,7 @@ struct GNUNET_TRANSPORT_PluginFunctions | |||
440 | /** | 442 | /** |
441 | * Function that can be used to force the plugin to disconnect from | 443 | * Function that can be used to force the plugin to disconnect from |
442 | * the given peer and cancel all previous transmissions (and their | 444 | * the given peer and cancel all previous transmissions (and their |
443 | * continuations). Note that if the transport does not have | 445 | * continuations). |
444 | * sessions / persistent connections (for example, UDP), this | ||
445 | * function may very well do nothing. | ||
446 | */ | 446 | */ |
447 | GNUNET_TRANSPORT_DisconnectFunction disconnect; | 447 | GNUNET_TRANSPORT_DisconnectFunction disconnect; |
448 | 448 | ||