diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2013-04-03 12:22:22 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2013-04-03 12:22:22 +0000 |
commit | 3a2c5bed831339afdb4166644adfd466af1f14ef (patch) | |
tree | 67216a3bb89edeccb54ec6c70ff9eaa6d352f1d3 /src/include | |
parent | 6d04a07b8b6f0553f535e224d22c9bfe4df4a704 (diff) | |
download | gnunet-3a2c5bed831339afdb4166644adfd466af1f14ef.tar.gz gnunet-3a2c5bed831339afdb4166644adfd466af1f14ef.zip |
ats change, done
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/gnunet_ats_service.h | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/src/include/gnunet_ats_service.h b/src/include/gnunet_ats_service.h index 692592148..3713949cb 100644 --- a/src/include/gnunet_ats_service.h +++ b/src/include/gnunet_ats_service.h | |||
@@ -59,11 +59,15 @@ enum GNUNET_ATS_Network_Type | |||
59 | */ | 59 | */ |
60 | #define GNUNET_ATS_DefaultBandwidth 65536 | 60 | #define GNUNET_ATS_DefaultBandwidth 65536 |
61 | 61 | ||
62 | /** | ||
63 | * Undefined value for a GNUNET_ATS_Property | ||
64 | */ | ||
65 | #define GNUNET_ATS_VALUE_UNDEFINED UINT32_MAX | ||
62 | 66 | ||
63 | /** | 67 | /** |
64 | * Textual equivalent for GNUNET_ATS_MaxBandwidth | 68 | * String representation for GNUNET_ATS_VALUE_UNDEFINED |
65 | */ | 69 | */ |
66 | #define GNUNET_ATS_MaxBandwidthString "unlimited" | 70 | #define GNUNET_ATS_VALUE_UNDEFINED_STR "undefined" |
67 | 71 | ||
68 | /** | 72 | /** |
69 | * Maximum bandwidth assigned to a network : 4095 MB/s | 73 | * Maximum bandwidth assigned to a network : 4095 MB/s |
@@ -71,6 +75,11 @@ enum GNUNET_ATS_Network_Type | |||
71 | #define GNUNET_ATS_MaxBandwidth UINT32_MAX | 75 | #define GNUNET_ATS_MaxBandwidth UINT32_MAX |
72 | 76 | ||
73 | /** | 77 | /** |
78 | * Textual equivalent for GNUNET_ATS_MaxBandwidth | ||
79 | */ | ||
80 | #define GNUNET_ATS_MaxBandwidthString "unlimited" | ||
81 | |||
82 | /** | ||
74 | * Number of property types supported by ATS | 83 | * Number of property types supported by ATS |
75 | */ | 84 | */ |
76 | #define GNUNET_ATS_PropertyCount 9 | 85 | #define GNUNET_ATS_PropertyCount 9 |