X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=src%2Ftransport%2Fgnunet-service-transport_ats.h;h=d9d7b555be0164fe67967361ded920c1f221a319;hb=abdec5e11ff11bb10d32c013e11344a54786f80f;hp=75743606a90dd72ce27f21f3e925b155270893e4;hpb=aed237fb57999eaf6f3d578bc1f081a6a684836f;p=oweals%2Fgnunet.git diff --git a/src/transport/gnunet-service-transport_ats.h b/src/transport/gnunet-service-transport_ats.h index 75743606a..d9d7b555b 100644 --- a/src/transport/gnunet-service-transport_ats.h +++ b/src/transport/gnunet-service-transport_ats.h @@ -1,6 +1,6 @@ /* This file is part of GNUnet. - Copyright (C) 2015 Christian Grothoff (and other contributing authors) + Copyright (C) 2015 GNUnet e.V. GNUnet is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published @@ -52,7 +52,7 @@ GST_ats_done (void); */ int GST_ats_is_known (const struct GNUNET_HELLO_Address *address, - struct Session *session); + struct GNUNET_ATS_Session *session); /** @@ -77,7 +77,7 @@ GST_ats_is_known_no_session (const struct GNUNET_HELLO_Address *address); */ void GST_ats_block_address (const struct GNUNET_HELLO_Address *address, - struct Session *session); + struct GNUNET_ATS_Session *session); /** @@ -90,7 +90,7 @@ GST_ats_block_address (const struct GNUNET_HELLO_Address *address, */ void GST_ats_block_reset (const struct GNUNET_HELLO_Address *address, - struct Session *session); + struct GNUNET_ATS_Session *session); /** @@ -105,7 +105,7 @@ GST_ats_block_reset (const struct GNUNET_HELLO_Address *address, */ void GST_ats_add_inbound_address (const struct GNUNET_HELLO_Address *address, - struct Session *session, + struct GNUNET_ATS_Session *session, const struct GNUNET_ATS_Properties *prop); @@ -132,22 +132,7 @@ GST_ats_add_address (const struct GNUNET_HELLO_Address *address, */ void GST_ats_new_session (const struct GNUNET_HELLO_Address *address, - struct Session *session); - - -/** - * Notify ATS about property changes to an address's properties. - * FIXME: we probably want to split this one up for the different - * updatable properties. - * - * @param address the address - * @param session the session - * @param prop updated performance information - */ -void -GST_ats_update_metrics (const struct GNUNET_HELLO_Address *address, - struct Session *session, - const struct GNUNET_ATS_Properties *prop); + struct GNUNET_ATS_Session *session); /** @@ -202,7 +187,7 @@ GST_ats_update_distance (const struct GNUNET_HELLO_Address *address, */ void GST_ats_del_session (const struct GNUNET_HELLO_Address *address, - struct Session *session); + struct GNUNET_ATS_Session *session); /**