From 4ec3377776569a7affcaf6b69db9312ad1891ba5 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sun, 18 Jan 2015 14:10:50 +0000 Subject: remove ATS information from callback from ATS address selection, as the argument was never used in the first place --- src/include/gnunet_ats_service.h | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) (limited to 'src/include/gnunet_ats_service.h') 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; * Signature of a function called by ATS with the current bandwidth * and address preferences as determined by ATS. * - * If an address is available immediately the address will be included. If no - * address can be suggested, address, session, bandwidth and ATS information will - * be NULL/0. ATS will suggest an address as soon as it can provide such an - * address - * * @param cls closure * @param address suggested address (including peer identity of the peer) - * @param session session to use - * @param bandwidth_out assigned outbound bandwidth for the connection - * @param bandwidth_in assigned inbound bandwidth for the connection - * @param ats performance data for the address (as far as known) - * @param ats_count number of performance records in @a ats + * @param session session to use, NULL to establish a new outgoing session + * @param bandwidth_out assigned outbound bandwidth for the connection, + * 0 to disconnect + * @param bandwidth_in assigned inbound bandwidth for the connection, + * 0 to disconnect */ typedef void (*GNUNET_ATS_AddressSuggestionCallback) (void *cls, @@ -344,8 +339,7 @@ typedef void const struct GNUNET_HELLO_Address *address, struct Session *session, struct GNUNET_BANDWIDTH_Value32NBO bandwidth_out, - struct GNUNET_BANDWIDTH_Value32NBO bandwidth_in, - const struct GNUNET_ATS_Information *ats, uint32_t ats_count); + struct GNUNET_BANDWIDTH_Value32NBO bandwidth_in); /** -- cgit v1.2.3