fixed for loop
[oweals/gnunet.git] / src / ats / gnunet-service-ats-solver_mlp.h
index 4a5d35b000eb1994dbbe695fcac35f06f5ca5a22..d1a65c002822ed23eea80525bcc078090313e08f 100644 (file)
@@ -500,6 +500,26 @@ GAS_mlp_address_change_preference (void *solver,
                                                                   double pref_rel);
 
 
+/**
+ * Get application feedback for a peer
+ *
+ * @param solver the solver handle
+ * @param application the application
+ * @param peer the peer to change the preference for
+ * @param scope the time interval for this feedback: [now - scope .. now]
+ * @param kind the kind to change the preference
+ * @param score the score
+ */
+void
+GAS_mlp_address_preference_feedback (void *solver,
+                                                                                       void *application,
+                                                                                       const struct GNUNET_PeerIdentity *peer,
+                                                                                       const struct GNUNET_TIME_Relative scope,
+                                                                                       enum GNUNET_ATS_PreferenceKind kind,
+                                                                                       double score);
+
+
+
 /**
  * Start a bulk operation
  *
@@ -517,7 +537,8 @@ GAS_mlp_bulk_stop (void *solver);
 
 
 /**
- * Get the preferred address for a specific peer
+ * Get the preferred address for a specific peer until
+ * GAS_mlp_stop_get_preferred_address is called
  *
  * @param solver the MLP Handle
  * @param peer the peer