diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2013-11-19 12:40:04 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2013-11-19 12:40:04 +0000 |
commit | f2554d328813646fe2bf6771ea269578b9961622 (patch) | |
tree | 04e82cd9bb13dac95b91ed9bcaad228ae66d3dcc /src/ats/gnunet-service-ats_normalization.h | |
parent | 8dda13088674ec864e3133e8a5770e01704e8409 (diff) | |
download | gnunet-f2554d328813646fe2bf6771ea269578b9961622.tar.gz gnunet-f2554d328813646fe2bf6771ea269578b9961622.zip |
- reduce debug level in proportional
- store pref client in DLL
- remove disconnected clients
Diffstat (limited to 'src/ats/gnunet-service-ats_normalization.h')
-rw-r--r-- | src/ats/gnunet-service-ats_normalization.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/ats/gnunet-service-ats_normalization.h b/src/ats/gnunet-service-ats_normalization.h index 1f0d081d4..43b07910f 100644 --- a/src/ats/gnunet-service-ats_normalization.h +++ b/src/ats/gnunet-service-ats_normalization.h | |||
@@ -55,7 +55,7 @@ typedef void | |||
55 | * with GNUNET_ATS_PreferenceKind, NULL if peer does not exist | 55 | * with GNUNET_ATS_PreferenceKind, NULL if peer does not exist |
56 | */ | 56 | */ |
57 | const double * | 57 | const double * |
58 | GAS_normalization_get_preferences (const struct GNUNET_PeerIdentity *id); | 58 | GAS_normalization_get_preferences_by_peer (const struct GNUNET_PeerIdentity *id); |
59 | 59 | ||
60 | 60 | ||
61 | /** | 61 | /** |
@@ -99,6 +99,14 @@ GAS_normalization_normalize_property (struct GNUNET_CONTAINER_MultiPeerMap *addr | |||
99 | 99 | ||
100 | 100 | ||
101 | /** | 101 | /** |
102 | * A performance client disconnected | ||
103 | * | ||
104 | * @param client the disconnecting client | ||
105 | */ | ||
106 | void | ||
107 | GAS_normalization_preference_client_disconnect (void *client); | ||
108 | |||
109 | /** | ||
102 | * Start the normalization component | 110 | * Start the normalization component |
103 | * | 111 | * |
104 | * @param pref_ch_cb callback to call on relative preference changing | 112 | * @param pref_ch_cb callback to call on relative preference changing |