diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2013-07-03 11:55:28 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2013-07-03 11:55:28 +0000 |
commit | bfa3b153493bc4d15f0be2d3dfa0b77e45065a61 (patch) | |
tree | 4f6a027084e16261046b89ed65f59972ab03fde0 /src/ats/gnunet-service-ats_normalization.h | |
parent | 3625013da298f13830847c33d04c3ce5ff430705 (diff) | |
download | gnunet-bfa3b153493bc4d15f0be2d3dfa0b77e45065a61.tar.gz gnunet-bfa3b153493bc4d15f0be2d3dfa0b77e45065a61.zip |
function to get normalized properties in solver
Diffstat (limited to 'src/ats/gnunet-service-ats_normalization.h')
-rw-r--r-- | src/ats/gnunet-service-ats_normalization.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/ats/gnunet-service-ats_normalization.h b/src/ats/gnunet-service-ats_normalization.h index 3637766f5..551c47cd3 100644 --- a/src/ats/gnunet-service-ats_normalization.h +++ b/src/ats/gnunet-service-ats_normalization.h | |||
@@ -58,6 +58,17 @@ GAS_normalization_get_preferences (const struct GNUNET_PeerIdentity *id); | |||
58 | 58 | ||
59 | 59 | ||
60 | /** | 60 | /** |
61 | * Get the normalized properties values for a specific peer or | ||
62 | * the default values if | ||
63 | * | ||
64 | * @param address the address | ||
65 | * @return pointer to the values, can be indexed with GNUNET_ATS_PreferenceKind, | ||
66 | * default preferences if peer does not exist | ||
67 | */ | ||
68 | const double * | ||
69 | GAS_normalization_get_properties (struct ATS_Address *address); | ||
70 | |||
71 | /** | ||
61 | * Normalize an updated preference value | 72 | * Normalize an updated preference value |
62 | * | 73 | * |
63 | * @param src the client with this preference | 74 | * @param src the client with this preference |