diff options
author | Christian Grothoff <christian@grothoff.org> | 2015-02-08 15:12:14 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2015-02-08 15:12:14 +0000 |
commit | 73189c33eb0e4c065c2dbd31ced703f48efdee6a (patch) | |
tree | d3761ce5f7a4726d8a258ea486e5074b89d7f5bd /src/ats/gnunet-service-ats_preferences.h | |
parent | 1d971bac50ceddcd6ea2ff20525013becc1d6170 (diff) | |
download | gnunet-73189c33eb0e4c065c2dbd31ced703f48efdee6a.tar.gz gnunet-73189c33eb0e4c065c2dbd31ced703f48efdee6a.zip |
cleaning up gnunet-service-ats_preferences.c
Diffstat (limited to 'src/ats/gnunet-service-ats_preferences.h')
-rw-r--r-- | src/ats/gnunet-service-ats_preferences.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/ats/gnunet-service-ats_preferences.h b/src/ats/gnunet-service-ats_preferences.h index 5425b73ff..dc19891bb 100644 --- a/src/ats/gnunet-service-ats_preferences.h +++ b/src/ats/gnunet-service-ats_preferences.h | |||
@@ -32,9 +32,14 @@ | |||
32 | #include "gnunet_statistics_service.h" | 32 | #include "gnunet_statistics_service.h" |
33 | #include "ats.h" | 33 | #include "ats.h" |
34 | 34 | ||
35 | 35 | /** | |
36 | * Default preference value we assume if we know nothing. | ||
37 | */ | ||
36 | #define DEFAULT_ABS_PREFERENCE 0.0 | 38 | #define DEFAULT_ABS_PREFERENCE 0.0 |
37 | 39 | ||
40 | /** | ||
41 | * Default relative preference value we assume if we know nothing. | ||
42 | */ | ||
38 | #define DEFAULT_REL_PREFERENCE 0.0 | 43 | #define DEFAULT_REL_PREFERENCE 0.0 |
39 | 44 | ||
40 | 45 | ||
@@ -75,7 +80,7 @@ GAS_preference_done (void); | |||
75 | */ | 80 | */ |
76 | const double * | 81 | const double * |
77 | GAS_preference_get_by_peer (void *cls, | 82 | GAS_preference_get_by_peer (void *cls, |
78 | const struct GNUNET_PeerIdentity *id); | 83 | const struct GNUNET_PeerIdentity *id); |
79 | 84 | ||
80 | 85 | ||
81 | /** | 86 | /** |