aboutsummaryrefslogtreecommitdiff
path: root/src/ats/gnunet-service-ats_preferences.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2015-02-05 19:57:26 +0000
committerChristian Grothoff <christian@grothoff.org>2015-02-05 19:57:26 +0000
commit25d991395e2ea75d77d5ae87dca27ba5cd94e940 (patch)
treeb9626ffde0b061c7a716b3d54e1eddbca7e05f36 /src/ats/gnunet-service-ats_preferences.h
parent52ae7e53f6b8dfd26612e4e9f0830918fd1ee312 (diff)
downloadgnunet-25d991395e2ea75d77d5ae87dca27ba5cd94e940.tar.gz
gnunet-25d991395e2ea75d77d5ae87dca27ba5cd94e940.zip
avoid void *, use proper type for client
Diffstat (limited to 'src/ats/gnunet-service-ats_preferences.h')
-rw-r--r--src/ats/gnunet-service-ats_preferences.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ats/gnunet-service-ats_preferences.h b/src/ats/gnunet-service-ats_preferences.h
index 66610d470..ee8c931d6 100644
--- a/src/ats/gnunet-service-ats_preferences.h
+++ b/src/ats/gnunet-service-ats_preferences.h
@@ -70,7 +70,7 @@ GAS_normalization_get_preferences_by_peer (void *cls,
70 * @return the value 70 * @return the value
71 */ 71 */
72double 72double
73GAS_normalization_get_preferences_by_client (const void *client, 73GAS_normalization_get_preferences_by_client (const struct GNUNET_SERVER_Client *client,
74 const struct GNUNET_PeerIdentity *peer, 74 const struct GNUNET_PeerIdentity *peer,
75 enum GNUNET_ATS_PreferenceKind pref); 75 enum GNUNET_ATS_PreferenceKind pref);
76 76
@@ -84,7 +84,7 @@ GAS_normalization_get_preferences_by_client (const void *client,
84 * @param score_abs the normalized score 84 * @param score_abs the normalized score
85 */ 85 */
86void 86void
87GAS_normalization_normalize_preference (void *client, 87GAS_normalization_normalize_preference (struct GNUNET_SERVER_Client *client,
88 const struct GNUNET_PeerIdentity *peer, 88 const struct GNUNET_PeerIdentity *peer,
89 enum GNUNET_ATS_PreferenceKind kind, 89 enum GNUNET_ATS_PreferenceKind kind,
90 float score_abs); 90 float score_abs);
@@ -96,7 +96,7 @@ GAS_normalization_normalize_preference (void *client,
96 * @param client the disconnecting client 96 * @param client the disconnecting client
97 */ 97 */
98void 98void
99GAS_normalization_preference_client_disconnect (void *client); 99GAS_normalization_preference_client_disconnect (struct GNUNET_SERVER_Client *client);
100 100
101 101
102/** 102/**