diff options
author | Christian Grothoff <christian@grothoff.org> | 2009-07-17 10:36:53 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2009-07-17 10:36:53 +0000 |
commit | 7bf136782e1fb5bf89780c86596692de625e26a3 (patch) | |
tree | 1cd91008e5db1a58cbff6e3cf0f7496d23aea9d6 /src/include/gnunet_time_lib.h | |
parent | 1889ea5dae621980f611b196e3f574c11c2ac881 (diff) | |
download | gnunet-7bf136782e1fb5bf89780c86596692de625e26a3.tar.gz gnunet-7bf136782e1fb5bf89780c86596692de625e26a3.zip |
stuff
Diffstat (limited to 'src/include/gnunet_time_lib.h')
-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 | * |