diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2013-06-21 15:08:55 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2013-06-21 15:08:55 +0000 |
commit | a73229d780f855971649aa5afb66813ff759453b (patch) | |
tree | 299fcfe45a27185359c73846fff0f721fe8a5eb9 /src/ats/gnunet-service-ats_normalization.h | |
parent | b7ae1ce7504f4b2bc7ce3eda3ca1e8819eb745da (diff) | |
download | gnunet-a73229d780f855971649aa5afb66813ff759453b.tar.gz gnunet-a73229d780f855971649aa5afb66813ff759453b.zip |
basics for quality normalization
Diffstat (limited to 'src/ats/gnunet-service-ats_normalization.h')
-rw-r--r-- | src/ats/gnunet-service-ats_normalization.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/ats/gnunet-service-ats_normalization.h b/src/ats/gnunet-service-ats_normalization.h index 37e694dd7..c90d4d8c6 100644 --- a/src/ats/gnunet-service-ats_normalization.h +++ b/src/ats/gnunet-service-ats_normalization.h | |||
@@ -59,11 +59,16 @@ GAS_normalization_get_preferences (const struct GNUNET_PeerIdentity *id); | |||
59 | * @param score_abs the normalized score | 59 | * @param score_abs the normalized score |
60 | */ | 60 | */ |
61 | float | 61 | float |
62 | GAS_normalization_change_preference (void *src, | 62 | GAS_normalization_normalize_preference (void *src, |
63 | const struct GNUNET_PeerIdentity *peer, | 63 | const struct GNUNET_PeerIdentity *peer, |
64 | enum GNUNET_ATS_PreferenceKind kind, | 64 | enum GNUNET_ATS_PreferenceKind kind, |
65 | float score_abs); | 65 | float score_abs); |
66 | 66 | ||
67 | void | ||
68 | GAS_normalization_normalize_property (struct ATS_Address *address, | ||
69 | const struct GNUNET_ATS_Information *atsi, | ||
70 | uint32_t atsi_count); | ||
71 | |||
67 | /** | 72 | /** |
68 | * Start the normalization component | 73 | * Start the normalization component |
69 | * | 74 | * |