* with GNUNET_ATS_PreferenceKind, NULL if peer does not exist
*/
const double *
-GAS_normalization_get_preferences (const struct GNUNET_PeerIdentity *id);
+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
*
uint32_t atsi_count);
+/**
+ * A performance client disconnected
+ *
+ * @param client the disconnecting client
+ */
+void
+GAS_normalization_preference_client_disconnect (void *client);
+
/**
* Start the normalization component
*