diff options
Diffstat (limited to 'src/ats/gnunet-service-ats_normalization.h')
-rw-r--r-- | src/ats/gnunet-service-ats_normalization.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/ats/gnunet-service-ats_normalization.h b/src/ats/gnunet-service-ats_normalization.h index 0e65d0ed8..d3f10bb13 100644 --- a/src/ats/gnunet-service-ats_normalization.h +++ b/src/ats/gnunet-service-ats_normalization.h | |||
@@ -1,6 +1,6 @@ | |||
1 | /* | 1 | /* |
2 | This file is part of GNUnet. | 2 | This file is part of GNUnet. |
3 | (C) 2011 Christian Grothoff (and other contributing authors) | 3 | Copyright (C) 2011 Christian Grothoff (and other contributing authors) |
4 | 4 | ||
5 | GNUnet is free software; you can redistribute it and/or modify | 5 | GNUnet is free software; you can redistribute it and/or modify |
6 | it under the terms of the GNU General Public License as published | 6 | it under the terms of the GNU General Public License as published |
@@ -28,6 +28,9 @@ | |||
28 | #define GNUNET_SERVICE_ATS_NORMALIZATION_H | 28 | #define GNUNET_SERVICE_ATS_NORMALIZATION_H |
29 | #include "gnunet_ats_service.h" | 29 | #include "gnunet_ats_service.h" |
30 | 30 | ||
31 | /** | ||
32 | * Value we return for a normalized quality score if we have no data. | ||
33 | */ | ||
31 | #define DEFAULT_REL_QUALITY 1.0 | 34 | #define DEFAULT_REL_QUALITY 1.0 |
32 | 35 | ||
33 | 36 | ||
@@ -37,8 +40,7 @@ | |||
37 | * | 40 | * |
38 | * @param cls ignored | 41 | * @param cls ignored |
39 | * @param address the address | 42 | * @param address the address |
40 | * @return pointer to the values, can be indexed with GNUNET_ATS_PreferenceKind, | 43 | * @return pointer to the values, can be indexed with GNUNET_ATS_PreferenceKind |
41 | * default preferences if peer does not exist | ||
42 | */ | 44 | */ |
43 | const double * | 45 | const double * |
44 | GAS_normalization_get_properties (void *cls, | 46 | GAS_normalization_get_properties (void *cls, |
@@ -46,7 +48,7 @@ GAS_normalization_get_properties (void *cls, | |||
46 | 48 | ||
47 | 49 | ||
48 | /** | 50 | /** |
49 | * Update and normalize a atsi performance information | 51 | * Update and normalize a @a atsi performance information |
50 | * | 52 | * |
51 | * @param address the address to update | 53 | * @param address the address to update |
52 | * @param atsi the array of performance information | 54 | * @param atsi the array of performance information |