diff options
Diffstat (limited to 'src/include/gnunet_time_lib.h')
-rw-r--r-- | src/include/gnunet_time_lib.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/include/gnunet_time_lib.h b/src/include/gnunet_time_lib.h index ff602194c..26b442066 100644 --- a/src/include/gnunet_time_lib.h +++ b/src/include/gnunet_time_lib.h | |||
@@ -549,6 +549,24 @@ GNUNET_TIME_absolute_is_never (struct GNUNET_TIME_Absolute abs); | |||
549 | 549 | ||
550 | 550 | ||
551 | /** | 551 | /** |
552 | * Test if @a abs is truly in the past (excluding now). | ||
553 | * | ||
554 | * @return true if it is. | ||
555 | */ | ||
556 | bool | ||
557 | GNUNET_TIME_absolute_is_past (struct GNUNET_TIME_Absolute abs); | ||
558 | |||
559 | |||
560 | /** | ||
561 | * Test if @a abs is truly in the future (excluding now). | ||
562 | * | ||
563 | * @return true if it is. | ||
564 | */ | ||
565 | bool | ||
566 | GNUNET_TIME_absolute_is_future (struct GNUNET_TIME_Absolute abs); | ||
567 | |||
568 | |||
569 | /** | ||
552 | * Test if @a rel is forever. | 570 | * Test if @a rel is forever. |
553 | * | 571 | * |
554 | * @return true if it is. | 572 | * @return true if it is. |