diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2013-06-18 07:28:42 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2013-06-18 07:28:42 +0000 |
commit | 4eb6bd1f6824d21fa561d0c608d8688b80e8275b (patch) | |
tree | 2322517736243c93226b43b18973f5c3cd98429e /src/ats/gnunet-service-ats_normalization.h | |
parent | e49f1df8421210cfcc285bdfd7d9bb89e5c8fea0 (diff) | |
download | gnunet-4eb6bd1f6824d21fa561d0c608d8688b80e8275b.tar.gz gnunet-4eb6bd1f6824d21fa561d0c608d8688b80e8275b.zip |
changes
Diffstat (limited to 'src/ats/gnunet-service-ats_normalization.h')
-rw-r--r-- | src/ats/gnunet-service-ats_normalization.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/ats/gnunet-service-ats_normalization.h b/src/ats/gnunet-service-ats_normalization.h index ab37da796..e815504a9 100644 --- a/src/ats/gnunet-service-ats_normalization.h +++ b/src/ats/gnunet-service-ats_normalization.h | |||
@@ -35,7 +35,8 @@ | |||
35 | 35 | ||
36 | 36 | ||
37 | typedef void | 37 | typedef void |
38 | (*GAS_Normalization_preference_changed_cb) (const struct GNUNET_PeerIdentity *peer, | 38 | (*GAS_Normalization_preference_changed_cb) (void *cls, |
39 | const struct GNUNET_PeerIdentity *peer, | ||
39 | enum GNUNET_ATS_PreferenceKind kind, | 40 | enum GNUNET_ATS_PreferenceKind kind, |
40 | double pref_rel); | 41 | double pref_rel); |
41 | 42 | ||
@@ -64,7 +65,7 @@ GAS_normalization_change_preference (void *src, | |||
64 | float score_abs); | 65 | float score_abs); |
65 | 66 | ||
66 | void | 67 | void |
67 | GAS_normalization_start (GAS_Normalization_preference_changed_cb pref_ch_cb); | 68 | GAS_normalization_start (GAS_Normalization_preference_changed_cb pref_ch_cb, void *pref_ch_cb_cls); |
68 | 69 | ||
69 | void | 70 | void |
70 | GAS_normalization_stop (); | 71 | GAS_normalization_stop (); |