diff options
Diffstat (limited to 'src/include/gnunet_ats_service.h')
-rw-r--r-- | src/include/gnunet_ats_service.h | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/src/include/gnunet_ats_service.h b/src/include/gnunet_ats_service.h index ea70614cf..b0ffc1271 100644 --- a/src/include/gnunet_ats_service.h +++ b/src/include/gnunet_ats_service.h | |||
@@ -325,18 +325,13 @@ struct Session; | |||
325 | * Signature of a function called by ATS with the current bandwidth | 325 | * Signature of a function called by ATS with the current bandwidth |
326 | * and address preferences as determined by ATS. | 326 | * and address preferences as determined by ATS. |
327 | * | 327 | * |
328 | * If an address is available immediately the address will be included. If no | ||
329 | * address can be suggested, address, session, bandwidth and ATS information will | ||
330 | * be NULL/0. ATS will suggest an address as soon as it can provide such an | ||
331 | * address | ||
332 | * | ||
333 | * @param cls closure | 328 | * @param cls closure |
334 | * @param address suggested address (including peer identity of the peer) | 329 | * @param address suggested address (including peer identity of the peer) |
335 | * @param session session to use | 330 | * @param session session to use, NULL to establish a new outgoing session |
336 | * @param bandwidth_out assigned outbound bandwidth for the connection | 331 | * @param bandwidth_out assigned outbound bandwidth for the connection, |
337 | * @param bandwidth_in assigned inbound bandwidth for the connection | 332 | * 0 to disconnect |
338 | * @param ats performance data for the address (as far as known) | 333 | * @param bandwidth_in assigned inbound bandwidth for the connection, |
339 | * @param ats_count number of performance records in @a ats | 334 | * 0 to disconnect |
340 | */ | 335 | */ |
341 | typedef void | 336 | typedef void |
342 | (*GNUNET_ATS_AddressSuggestionCallback) (void *cls, | 337 | (*GNUNET_ATS_AddressSuggestionCallback) (void *cls, |
@@ -344,8 +339,7 @@ typedef void | |||
344 | const struct GNUNET_HELLO_Address *address, | 339 | const struct GNUNET_HELLO_Address *address, |
345 | struct Session *session, | 340 | struct Session *session, |
346 | struct GNUNET_BANDWIDTH_Value32NBO bandwidth_out, | 341 | struct GNUNET_BANDWIDTH_Value32NBO bandwidth_out, |
347 | struct GNUNET_BANDWIDTH_Value32NBO bandwidth_in, | 342 | struct GNUNET_BANDWIDTH_Value32NBO bandwidth_in); |
348 | const struct GNUNET_ATS_Information *ats, uint32_t ats_count); | ||
349 | 343 | ||
350 | 344 | ||
351 | /** | 345 | /** |