aboutsummaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2021-07-23 20:18:47 +0200
committerChristian Grothoff <christian@grothoff.org>2021-07-23 20:18:47 +0200
commit577b336638cc9616edf87cf204a853ffc4e3ab0e (patch)
tree99bcdc0bdbf2b4dbe46b6e419bc1e99a06c4eafa /src/include
parentbe8bca81797f31db878a1ecc33659fe931b5b7c0 (diff)
downloadgnunet-577b336638cc9616edf87cf204a853ffc4e3ab0e.tar.gz
gnunet-577b336638cc9616edf87cf204a853ffc4e3ab0e.zip
-even more time functions
Diffstat (limited to 'src/include')
-rw-r--r--src/include/gnunet_time_lib.h18
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 */
556bool
557GNUNET_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 */
565bool
566GNUNET_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.