diff options
Diffstat (limited to 'src/include/gnunet_time_lib.h')
-rw-r--r-- | src/include/gnunet_time_lib.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/include/gnunet_time_lib.h b/src/include/gnunet_time_lib.h index bddf5c6bf..ff602194c 100644 --- a/src/include/gnunet_time_lib.h +++ b/src/include/gnunet_time_lib.h | |||
@@ -558,6 +558,15 @@ GNUNET_TIME_relative_is_forever (struct GNUNET_TIME_Relative rel); | |||
558 | 558 | ||
559 | 559 | ||
560 | /** | 560 | /** |
561 | * Test if @a rel is zero. | ||
562 | * | ||
563 | * @return true if it is. | ||
564 | */ | ||
565 | bool | ||
566 | GNUNET_TIME_relative_is_zero (struct GNUNET_TIME_Relative rel); | ||
567 | |||
568 | |||
569 | /** | ||
561 | * Convert seconds after the UNIX epoch to absolute time. | 570 | * Convert seconds after the UNIX epoch to absolute time. |
562 | * | 571 | * |
563 | * @param s_after_epoch seconds after epoch to convert | 572 | * @param s_after_epoch seconds after epoch to convert |