aboutsummaryrefslogtreecommitdiff
path: root/src/transport/gnunet-service-transport_ats.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/transport/gnunet-service-transport_ats.h')
-rw-r--r--src/transport/gnunet-service-transport_ats.h14
1 files changed, 12 insertions, 2 deletions
diff --git a/src/transport/gnunet-service-transport_ats.h b/src/transport/gnunet-service-transport_ats.h
index 323191a4d..de0800d0a 100644
--- a/src/transport/gnunet-service-transport_ats.h
+++ b/src/transport/gnunet-service-transport_ats.h
@@ -42,11 +42,11 @@ GST_ats_done (void);
42 42
43 43
44/** 44/**
45 * Test if ATS knows about this address. 45 * Test if ATS knows about this @a address and @a session.
46 * 46 *
47 * @param address the address 47 * @param address the address
48 * @param session the session 48 * @param session the session
49 * @return #GNUNET_YES if address is known, #GNUNET_NO if not. 49 * @return #GNUNET_YES if @a address is known, #GNUNET_NO if not.
50 */ 50 */
51int 51int
52GST_ats_is_known (const struct GNUNET_HELLO_Address *address, 52GST_ats_is_known (const struct GNUNET_HELLO_Address *address,
@@ -54,6 +54,16 @@ GST_ats_is_known (const struct GNUNET_HELLO_Address *address,
54 54
55 55
56/** 56/**
57 * Test if ATS knows about this @a address.
58 *
59 * @param address the address
60 * @return #GNUNET_YES if @a address is known, #GNUNET_NO if not.
61 */
62int
63GST_ats_is_known_no_session (const struct GNUNET_HELLO_Address *address);
64
65
66/**
57 * Temporarily block a valid address for use by ATS for address 67 * Temporarily block a valid address for use by ATS for address
58 * suggestions. This function should be called if an address was 68 * suggestions. This function should be called if an address was
59 * suggested by ATS but failed to perform (i.e. failure to establish a 69 * suggested by ATS but failed to perform (i.e. failure to establish a