Extending the testcases to use bluetooth
[oweals/gnunet.git] / src / transport / gnunet-service-transport.h
index 5e3a250315c1d604570990bbab56f87edf9851f0..cb2c11a9b9026c063b48bd1f2dad5d1f894e4e47 100644 (file)
@@ -97,8 +97,29 @@ GST_receive_callback (void *cls,
                      uint16_t sender_address_len);
 
 
+/**
+ * Notify ATS about the new address including the network this address is
+ * located in.
+ *
+ * @param address the address
+ * @param session the session
+ */
+void
+GST_ats_add_address (const struct GNUNET_HELLO_Address *address,
+                                                                                struct Session *session);
+
+
+/**
+ * Notify ATS about property changes to an address
+ *
+ * @param peer the peer
+ * @param address the address
+ * @param session the session
+ * @param ats performance information
+ * @param ats_count number of elements in ats
+ */
 void
-GST_update_ats_metrics (const struct GNUNET_PeerIdentity *peer,
+GST_ats_update_metrics (const struct GNUNET_PeerIdentity *peer,
                        const struct GNUNET_HELLO_Address *address,
                        struct Session *session,
                        const struct GNUNET_ATS_Information *ats,