X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=src%2Fats%2Fgnunet-service-ats_normalization.h;h=f12c39fe145be72c91dee92f2aa58d9dfe59726c;hb=bfdb0abc074a99a7d24ca408f38cfda128d4132b;hp=43b07910ff12d2a0056c85c049e14930f1a62a53;hpb=f2554d328813646fe2bf6771ea269578b9961622;p=oweals%2Fgnunet.git diff --git a/src/ats/gnunet-service-ats_normalization.h b/src/ats/gnunet-service-ats_normalization.h index 43b07910f..f12c39fe1 100644 --- a/src/ats/gnunet-service-ats_normalization.h +++ b/src/ats/gnunet-service-ats_normalization.h @@ -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 *