aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_time_lib.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2021-07-23 20:10:45 +0200
committerChristian Grothoff <christian@grothoff.org>2021-07-23 20:10:45 +0200
commitbe8bca81797f31db878a1ecc33659fe931b5b7c0 (patch)
treed01c5f627d04f1f9bd8827921c6cbb8dfbb070fb /src/include/gnunet_time_lib.h
parentd44f867e71e13be3970e8803e0ae238e8d3ed7ee (diff)
downloadgnunet-be8bca81797f31db878a1ecc33659fe931b5b7c0.tar.gz
gnunet-be8bca81797f31db878a1ecc33659fe931b5b7c0.zip
introduce new TIME helper functions
Diffstat (limited to 'src/include/gnunet_time_lib.h')
-rw-r--r--src/include/gnunet_time_lib.h9
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 */
565bool
566GNUNET_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