diff options
author | Christian Grothoff <christian@grothoff.org> | 2015-02-03 17:40:54 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2015-02-03 17:40:54 +0000 |
commit | e8ee3b10972c452c29acf1bc00d9b39765205aa3 (patch) | |
tree | 8ac24717818591c2e3164eb20eac416778ce768a /src/include/gnunet_bandwidth_lib.h | |
parent | 799030df01f2306a804c5389dd936106c0a6dd42 (diff) | |
download | gnunet-e8ee3b10972c452c29acf1bc00d9b39765205aa3.tar.gz gnunet-e8ee3b10972c452c29acf1bc00d9b39765205aa3.zip |
doxygen, new define
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 ad8f3a2b9..bbad562dc 100644 --- a/src/include/gnunet_bandwidth_lib.h +++ b/src/include/gnunet_bandwidth_lib.h | |||
@@ -135,6 +135,12 @@ struct GNUNET_BANDWIDTH_Tracker | |||
135 | 135 | ||
136 | 136 | ||
137 | /** | 137 | /** |
138 | * Convenience definition to use for 0-bandwidth. | ||
139 | */ | ||
140 | #define GNUNET_BANDWIDTH_ZERO GNUNET_BANDWIDTH_value_init (0) | ||
141 | |||
142 | |||
143 | /** | ||
138 | * Create a new bandwidth value. | 144 | * Create a new bandwidth value. |
139 | * | 145 | * |
140 | * @param bytes_per_second value to create | 146 | * @param bytes_per_second value to create |