handle
[oweals/gnunet.git] / src / include / gnunet_ats_service.h
index 0e4fb292d600a37c4dcef5f05cf113131543eab1..6578633e3a92cec3a16ebf28fcdd8cfaf3cc51bc 100644 (file)
@@ -494,6 +494,13 @@ GNUNET_NETWORK_STRUCT_END
  */
 struct GNUNET_ATS_SchedulingHandle;
 
+/**
+ * Handle for address suggestion requests
+ *
+ */
+struct GNUNET_ATS_SuggestHandle;
+
+
 
 /**
  * Opaque session handle, defined by plugins.  Contents not known to ATS.
@@ -501,6 +508,7 @@ struct GNUNET_ATS_SchedulingHandle;
 struct Session;
 
 
+
 /**
  * Signature of a function called by ATS with the current bandwidth
  * and address preferences as determined by ATS.
@@ -569,8 +577,9 @@ GNUNET_ATS_reset_backoff (struct GNUNET_ATS_SchedulingHandle *sh,
  *
  * @param sh handle
  * @param peer identity of the peer we need an address for
+ * @return suggestion handle
  */
-void
+struct GNUNET_ATS_SuggestHandle *
 GNUNET_ATS_suggest_address (struct GNUNET_ATS_SchedulingHandle *sh,
                             const struct GNUNET_PeerIdentity *peer);