diff options
Diffstat (limited to 'src/include/gnunet_transport_service.h')
-rw-r--r-- | src/include/gnunet_transport_service.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/include/gnunet_transport_service.h b/src/include/gnunet_transport_service.h index 7a3ccbf7b..47d4334bb 100644 --- a/src/include/gnunet_transport_service.h +++ b/src/include/gnunet_transport_service.h | |||
@@ -35,6 +35,7 @@ extern "C" | |||
35 | #endif | 35 | #endif |
36 | #endif | 36 | #endif |
37 | 37 | ||
38 | #include "gnunet_bandwidth_lib.h" | ||
38 | #include "gnunet_configuration_lib.h" | 39 | #include "gnunet_configuration_lib.h" |
39 | #include "gnunet_crypto_lib.h" | 40 | #include "gnunet_crypto_lib.h" |
40 | #include "gnunet_connection_lib.h" | 41 | #include "gnunet_connection_lib.h" |
@@ -153,8 +154,8 @@ void GNUNET_TRANSPORT_disconnect (struct GNUNET_TRANSPORT_Handle *handle); | |||
153 | * | 154 | * |
154 | * @param handle connection to transport service | 155 | * @param handle connection to transport service |
155 | * @param target who's bandwidth quota is being changed | 156 | * @param target who's bandwidth quota is being changed |
156 | * @param quota_in incoming bandwidth quota in bytes per ms | 157 | * @param quota_in incoming bandwidth quota |
157 | * @param quota_out outgoing bandwidth quota in bytes per ms | 158 | * @param quota_out outgoing bandwidth quota |
158 | * @param timeout how long to wait until signaling failure if | 159 | * @param timeout how long to wait until signaling failure if |
159 | * we can not communicate the quota change | 160 | * we can not communicate the quota change |
160 | * @param cont continuation to call when done, will be called | 161 | * @param cont continuation to call when done, will be called |
@@ -164,8 +165,8 @@ void GNUNET_TRANSPORT_disconnect (struct GNUNET_TRANSPORT_Handle *handle); | |||
164 | void | 165 | void |
165 | GNUNET_TRANSPORT_set_quota (struct GNUNET_TRANSPORT_Handle *handle, | 166 | GNUNET_TRANSPORT_set_quota (struct GNUNET_TRANSPORT_Handle *handle, |
166 | const struct GNUNET_PeerIdentity *target, | 167 | const struct GNUNET_PeerIdentity *target, |
167 | uint32_t quota_in, | 168 | struct GNUNET_BANDWIDTH_Value32NBO quota_in, |
168 | uint32_t quota_out, | 169 | struct GNUNET_BANDWIDTH_Value32NBO quota_out, |
169 | struct GNUNET_TIME_Relative timeout, | 170 | struct GNUNET_TIME_Relative timeout, |
170 | GNUNET_SCHEDULER_Task cont, void *cont_cls); | 171 | GNUNET_SCHEDULER_Task cont, void *cont_cls); |
171 | 172 | ||