diff options
author | Nathan S. Evans <evans@in.tum.de> | 2011-07-27 15:49:02 +0000 |
---|---|---|
committer | Nathan S. Evans <evans@in.tum.de> | 2011-07-27 15:49:02 +0000 |
commit | 07ba70f731218eb74993553ff4923fd2ece3635b (patch) | |
tree | 4f4c1ec11eac116ef90927f6dcc686a7c3253fc5 /src/include/gnunet_time_lib.h | |
parent | 95daec0a418692408dadb9d0071b717295dde047 (diff) | |
download | gnunet-07ba70f731218eb74993553ff4923fd2ece3635b.tar.gz gnunet-07ba70f731218eb74993553ff4923fd2ece3635b.zip |
use arm timeouts, bad GNUNET_TIME function that will probably get removed
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 b1ffc4d40..386f6d609 100644 --- a/src/include/gnunet_time_lib.h +++ b/src/include/gnunet_time_lib.h | |||
@@ -422,6 +422,17 @@ struct GNUNET_TIME_Absolute GNUNET_TIME_absolute_ntoh (struct | |||
422 | a); | 422 | a); |
423 | 423 | ||
424 | /** | 424 | /** |
425 | * Convert a relative time to a string. | ||
426 | * NOT reentrant! | ||
427 | * | ||
428 | * @param time the time to print | ||
429 | * | ||
430 | * @return string form of the time (as milliseconds) | ||
431 | */ | ||
432 | const char * | ||
433 | GNUNET_TIME_relative_to_string (struct GNUNET_TIME_Relative time); | ||
434 | |||
435 | /** | ||
425 | * Set the timestamp offset for this instance. | 436 | * Set the timestamp offset for this instance. |
426 | * | 437 | * |
427 | * @param offset the offset to skew the locale time by | 438 | * @param offset the offset to skew the locale time by |