minor changes for address conversion
[oweals/gnunet.git] / src / ats / gnunet-service-ats_normalization.h
index 43b07910ff12d2a0056c85c049e14930f1a62a53..f12c39fe145be72c91dee92f2aa58d9dfe59726c 100644 (file)
@@ -69,6 +69,19 @@ GAS_normalization_get_preferences_by_peer (const struct GNUNET_PeerIdentity *id)
 const double *
 GAS_normalization_get_properties (struct ATS_Address *address);
 
+
+/**
+ * Get the normalized preference values for a specific client and peer
+ *
+ * @param client client
+ * @param peer the peer
+ * @param pref the preference type
+ * @return the value
+ */
+const double
+GAS_normalization_get_preferences_by_client (const void *client,
+    struct GNUNET_PeerIdentity *peer, enum GNUNET_ATS_PreferenceKind pref);
+
 /**
  * Normalize an updated preference value
  *