trying to fix #4003
[oweals/gnunet.git] / src / transport / gnunet-service-transport_ats.h
index 323191a4d91a116992fed7ded72fa19a9fced9af..de0800d0a42a8114c84af2843cf8f25fb25aa88a 100644 (file)
@@ -42,17 +42,27 @@ GST_ats_done (void);
 
 
 /**
- * Test if ATS knows about this address.
+ * Test if ATS knows about this @a address and @a session.
  *
  * @param address the address
  * @param session the session
- * @return #GNUNET_YES if address is known, #GNUNET_NO if not.
+ * @return #GNUNET_YES if @a address is known, #GNUNET_NO if not.
  */
 int
 GST_ats_is_known (const struct GNUNET_HELLO_Address *address,
                   struct Session *session);
 
 
+/**
+ * Test if ATS knows about this @a address.
+ *
+ * @param address the address
+ * @return #GNUNET_YES if @a address is known, #GNUNET_NO if not.
+ */
+int
+GST_ats_is_known_no_session (const struct GNUNET_HELLO_Address *address);
+
+
 /**
  * Temporarily block a valid address for use by ATS for address
  * suggestions.  This function should be called if an address was