aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_json_lib.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2017-11-05 22:12:10 +0100
committerChristian Grothoff <christian@grothoff.org>2017-11-05 22:12:18 +0100
commit5295856396dc8364bf5ba3c710fb5210c095198a (patch)
treec743a3d31e3e32274187633afee4f6144ad1d685 /src/include/gnunet_json_lib.h
parent9833b07bfe99df292b94847eadb086e7be9d5a72 (diff)
downloadgnunet-5295856396dc8364bf5ba3c710fb5210c095198a.tar.gz
gnunet-5295856396dc8364bf5ba3c710fb5210c095198a.zip
add json from abs_time_nbo
Diffstat (limited to 'src/include/gnunet_json_lib.h')
-rw-r--r--src/include/gnunet_json_lib.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/include/gnunet_json_lib.h b/src/include/gnunet_json_lib.h
index f2682bea7..c12badcd9 100644
--- a/src/include/gnunet_json_lib.h
+++ b/src/include/gnunet_json_lib.h
@@ -343,6 +343,16 @@ GNUNET_JSON_from_time_abs (struct GNUNET_TIME_Absolute stamp);
343 343
344 344
345/** 345/**
346 * Convert absolute timestamp to a json string.
347 *
348 * @param stamp the time stamp
349 * @return a json string with the timestamp in @a stamp
350 */
351json_t *
352GNUNET_JSON_from_time_abs_nbo (struct GNUNET_TIME_AbsoluteNBO stamp);
353
354
355/**
346 * Convert relative timestamp to a json string. 356 * Convert relative timestamp to a json string.
347 * 357 *
348 * @param stamp the time stamp 358 * @param stamp the time stamp