diff options
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/gnunet_time_lib.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/include/gnunet_time_lib.h b/src/include/gnunet_time_lib.h index 4ce1e3f1e..5a339e6cb 100644 --- a/src/include/gnunet_time_lib.h +++ b/src/include/gnunet_time_lib.h | |||
@@ -136,6 +136,17 @@ struct GNUNET_TIME_Absolute GNUNET_TIME_relative_to_absolute (struct | |||
136 | rel); | 136 | rel); |
137 | 137 | ||
138 | /** | 138 | /** |
139 | * Return the minimum of two relative time values. | ||
140 | * | ||
141 | * @return timestamp that is smaller | ||
142 | */ | ||
143 | struct GNUNET_TIME_Relative GNUNET_TIME_relative_min (struct | ||
144 | GNUNET_TIME_Relative | ||
145 | t1, | ||
146 | struct | ||
147 | GNUNET_TIME_Relative t2); | ||
148 | |||
149 | /** | ||
139 | * Given a timestamp in the future, how much time | 150 | * Given a timestamp in the future, how much time |
140 | * remains until then? | 151 | * remains until then? |
141 | * | 152 | * |