From 15dd8e6cc1199d611d804853e134882bf13b234a Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Thu, 5 Feb 2015 00:53:22 +0000 Subject: Various changes: - removed "in_use" from being passed to ATS, no longer needed as we tell ATS when we cannot follow a suggestion by removing the address; simplifies the code a lot - better handling of state machine, fallback to primary session if address switch to new session timed out - nicer logging - more comments - new testcase failures, because of #3652, #3651 and #3650 (or more that i missed). --- src/include/gnunet_ats_service.h | 24 ------------------------ 1 file changed, 24 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 88df7d0da..380a2a7af 100644 --- a/src/include/gnunet_ats_service.h +++ b/src/include/gnunet_ats_service.h @@ -480,18 +480,6 @@ void GNUNET_ATS_scheduling_done (struct GNUNET_ATS_SchedulingHandle *sh); -/** - * We would like to reset the address suggestion block time for this - * peer. - * - * @param sh handle - * @param peer identity of the peer we want to reset - */ -void -GNUNET_ATS_reset_backoff (struct GNUNET_ATS_SchedulingHandle *sh, - const struct GNUNET_PeerIdentity *peer); - - /** * Test if a address and a session is known to ATS. * @@ -581,18 +569,6 @@ GNUNET_ATS_address_update (struct GNUNET_ATS_AddressRecord *ar, uint32_t ats_count); -/** - * An address is now in use, or not used any more. - * - * @param ar address record for which to toggle the flag - * @param in_use #GNUNET_YES if this address is now used, #GNUNET_NO - * if address is not used any more - */ -void -GNUNET_ATS_address_set_in_use (struct GNUNET_ATS_AddressRecord *ar, - int in_use); - - /** * An address got destroyed, stop using it as a valid address. * -- cgit v1.2.3