diff options
Diffstat (limited to 'src/include/gnunet_bandwidth_lib.h')
-rw-r--r-- | src/include/gnunet_bandwidth_lib.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/include/gnunet_bandwidth_lib.h b/src/include/gnunet_bandwidth_lib.h index 0484bfe13..43e75ed0a 100644 --- a/src/include/gnunet_bandwidth_lib.h +++ b/src/include/gnunet_bandwidth_lib.h | |||
@@ -94,6 +94,12 @@ GNUNET_BANDWIDTH_value_init (uint32_t bytes_per_second); | |||
94 | 94 | ||
95 | 95 | ||
96 | /** | 96 | /** |
97 | * Maximum possible bandwidth value. | ||
98 | */ | ||
99 | #define GNUNET_BANDWIDTH_VALUE_MAX GNUNET_BANDWIDTH_value_init(UINT32_MAX) | ||
100 | |||
101 | |||
102 | /** | ||
97 | * At the given bandwidth, calculate how much traffic will be | 103 | * At the given bandwidth, calculate how much traffic will be |
98 | * available until the given deadline. | 104 | * available until the given deadline. |
99 | * | 105 | * |