From 9390558f789648d3951805432ecc4ca9badef40e Mon Sep 17 00:00:00 2001 From: Matthias Wachs Date: Thu, 20 Mar 2014 09:55:46 +0000 Subject: new session end function including address --- src/include/gnunet_ats_service.h | 5 ++++- src/include/gnunet_transport_plugin.h | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/include/gnunet_ats_service.h b/src/include/gnunet_ats_service.h index 932446400..0268391cd 100644 --- a/src/include/gnunet_ats_service.h +++ b/src/include/gnunet_ats_service.h @@ -730,7 +730,10 @@ GNUNET_ATS_address_in_use (struct GNUNET_ATS_SchedulingHandle *sh, /** - * A session got destroyed, stop including it as a valid address. + * An address got destroyed, stop including it as a valid address. + * + * If a session is given, only the session will be removed, if no session is + * given the full address will be deleted. * * @param sh handle * @param address the address diff --git a/src/include/gnunet_transport_plugin.h b/src/include/gnunet_transport_plugin.h index 675980549..308a3700d 100644 --- a/src/include/gnunet_transport_plugin.h +++ b/src/include/gnunet_transport_plugin.h @@ -78,7 +78,7 @@ struct SessionHeader */ typedef void (*GNUNET_TRANSPORT_SessionEnd) (void *cls, - const struct GNUNET_PeerIdentity *peer, + const struct GNUNET_HELLO_Address *address, struct Session *session); /** -- cgit v1.2.3