aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_time_lib.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/gnunet_time_lib.h')
-rw-r--r--src/include/gnunet_time_lib.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/include/gnunet_time_lib.h b/src/include/gnunet_time_lib.h
index 482ae52d8..d0da267a9 100644
--- a/src/include/gnunet_time_lib.h
+++ b/src/include/gnunet_time_lib.h
@@ -190,6 +190,16 @@ GNUNET_TIME_randomized_backoff(struct GNUNET_TIME_Relative rt, struct GNUNET_TIM
190 190
191 191
192/** 192/**
193 * Return a random time value between 0.5*r and 1.5*r.
194 *
195 * @param r input time for scaling
196 * @return randomized time
197 */
198struct GNUNET_TIME_Relative
199GNUNET_TIME_randomize(struct GNUNET_TIME_Relative r);
200
201
202/**
193 * Return relative time of 0ms. 203 * Return relative time of 0ms.
194 */ 204 */
195struct GNUNET_TIME_Relative 205struct GNUNET_TIME_Relative