fixing shutdown
[oweals/gnunet.git] / src / ats / gnunet-service-ats-solver_mlp.h
index d18c643c6a658a7c3339c046f30b6ddf2c668894..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
  *