indent
[oweals/gnunet.git] / src / ats / gnunet-service-ats-solver_proportional.h
index f09c4e2be18d255e1866630e79d710158f2f0f54..94612b7360b5edc72e582a2beaa13684990c4d5f 100644 (file)
@@ -49,6 +49,25 @@ GAS_proportional_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_proportional_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);
+
+
 /**
  * Init the proportional problem solver
  *