aboutsummaryrefslogtreecommitdiff
path: root/src/ats/gnunet-service-ats_normalization.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2015-02-08 13:19:14 +0000
committerChristian Grothoff <christian@grothoff.org>2015-02-08 13:19:14 +0000
commite90c4dce6fc3253c9ca69305fb4efecf8eccc62e (patch)
treecd2f56b6244436b1b5ca4a651650ffd7327359b3 /src/ats/gnunet-service-ats_normalization.c
parentaa42cd5e2a145b6a66cdc62051b50274109cff42 (diff)
downloadgnunet-e90c4dce6fc3253c9ca69305fb4efecf8eccc62e.tar.gz
gnunet-e90c4dce6fc3253c9ca69305fb4efecf8eccc62e.zip
-rename for naming consistency
Diffstat (limited to 'src/ats/gnunet-service-ats_normalization.c')
-rw-r--r--src/ats/gnunet-service-ats_normalization.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/ats/gnunet-service-ats_normalization.c b/src/ats/gnunet-service-ats_normalization.c
index b3d8eba3f..936f8ca34 100644
--- a/src/ats/gnunet-service-ats_normalization.c
+++ b/src/ats/gnunet-service-ats_normalization.c
@@ -23,8 +23,6 @@
23 * @brief ats service address: management of ATS properties and preferences normalization 23 * @brief ats service address: management of ATS properties and preferences normalization
24 * @author Matthias Wachs 24 * @author Matthias Wachs
25 * @author Christian Grothoff 25 * @author Christian Grothoff
26 *
27 * FIXME: rename to 'properties'!? merge with addresses!?
28 */ 26 */
29#include "platform.h" 27#include "platform.h"
30#include <float.h> 28#include <float.h>
@@ -221,7 +219,7 @@ notify_change (void *cls,
221 struct Property *p = cls; 219 struct Property *p = cls;
222 struct ATS_Address *address = value; 220 struct ATS_Address *address = value;
223 221
224 GAS_normalized_property_changed (address, 222 GAS_plugin_notify_property_changed (address,
225 p->atsi_type, 223 p->atsi_type,
226 address->atsin[p->prop_type].norm); 224 address->atsin[p->prop_type].norm);
227 return GNUNET_OK; 225 return GNUNET_OK;
@@ -236,7 +234,7 @@ notify_change (void *cls,
236 * @param atsi_count the number of atsi information in the array 234 * @param atsi_count the number of atsi information in the array
237 */ 235 */
238void 236void
239GAS_normalization_normalize_property (struct ATS_Address *address, 237GAS_normalization_update_property (struct ATS_Address *address,
240 const struct GNUNET_ATS_Information *atsi, 238 const struct GNUNET_ATS_Information *atsi,
241 uint32_t atsi_count) 239 uint32_t atsi_count)
242{ 240{