diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2013-06-21 13:16:22 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2013-06-21 13:16:22 +0000 |
commit | 3ae08734c3357d11a09671ed4fe4e507f24e6f14 (patch) | |
tree | 23ea5674f879a1fe14858f0e52ea257b3b043186 /src/ats/gnunet-service-ats_normalization.h | |
parent | 658350a65fa1f0cfaac11460e7d7db65dcbcb9f2 (diff) | |
download | gnunet-3ae08734c3357d11a09671ed4fe4e507f24e6f14.tar.gz gnunet-3ae08734c3357d11a09671ed4fe4e507f24e6f14.zip |
normalization docu
Diffstat (limited to 'src/ats/gnunet-service-ats_normalization.h')
-rw-r--r-- | src/ats/gnunet-service-ats_normalization.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/ats/gnunet-service-ats_normalization.h b/src/ats/gnunet-service-ats_normalization.h index 78fddbc56..dbd68ee95 100644 --- a/src/ats/gnunet-service-ats_normalization.h +++ b/src/ats/gnunet-service-ats_normalization.h | |||
@@ -64,9 +64,19 @@ GAS_normalization_change_preference (void *src, | |||
64 | enum GNUNET_ATS_PreferenceKind kind, | 64 | enum GNUNET_ATS_PreferenceKind kind, |
65 | float score_abs); | 65 | float score_abs); |
66 | 66 | ||
67 | /** | ||
68 | * Start the normalization component | ||
69 | * | ||
70 | * @param pref_ch_cb callback to call on relative preference changing | ||
71 | * @param ref_ch_cb_cls cls for the callback | ||
72 | */ | ||
67 | void | 73 | void |
68 | GAS_normalization_start (GAS_Normalization_preference_changed_cb pref_ch_cb, void *pref_ch_cb_cls); | 74 | GAS_normalization_start (GAS_Normalization_preference_changed_cb pref_ch_cb, void *pref_ch_cb_cls); |
69 | 75 | ||
76 | |||
77 | /** | ||
78 | * Stop the normalization component and free all items | ||
79 | */ | ||
70 | void | 80 | void |
71 | GAS_normalization_stop (); | 81 | GAS_normalization_stop (); |
72 | 82 | ||