aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_strings_lib.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2009-09-11 11:47:30 +0000
committerChristian Grothoff <christian@grothoff.org>2009-09-11 11:47:30 +0000
commit34d2cace7259c408fdb0526dedd0d44a1a11929e (patch)
treee127d553c2532804928d5e9a667021f7343779e5 /src/include/gnunet_strings_lib.h
parent7f0c6bd7bc74dc479e991cba667e08f66e6e2d42 (diff)
downloadgnunet-34d2cace7259c408fdb0526dedd0d44a1a11929e.tar.gz
gnunet-34d2cace7259c408fdb0526dedd0d44a1a11929e.zip
docu
Diffstat (limited to 'src/include/gnunet_strings_lib.h')
-rw-r--r--src/include/gnunet_strings_lib.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/include/gnunet_strings_lib.h b/src/include/gnunet_strings_lib.h
index 98d2ed396..ab0f1ad7c 100644
--- a/src/include/gnunet_strings_lib.h
+++ b/src/include/gnunet_strings_lib.h
@@ -116,13 +116,18 @@ unsigned int GNUNET_STRINGS_buffer_tokenize (const char *buffer,
116/** 116/**
117 * "man ctime_r", except for GNUnet time; also, unlike ctime, the 117 * "man ctime_r", except for GNUnet time; also, unlike ctime, the
118 * return value does not include the newline character. 118 * return value does not include the newline character.
119 *
120 * @param t the absolute time to convert
121 * @return timestamp in human-readable form
119 */ 122 */
120char *GNUNET_STRINGS_absolute_time_to_string (struct GNUNET_TIME_Absolute t); 123char *GNUNET_STRINGS_absolute_time_to_string (struct GNUNET_TIME_Absolute t);
121 124
122 125
123/** 126/**
124 * Give relative time in human-readable fancy format. 127 * Give relative time in human-readable fancy format.
128 *
125 * @param delta time in milli seconds 129 * @param delta time in milli seconds
130 * @return string in human-readable form
126 */ 131 */
127char *GNUNET_STRINGS_relative_time_to_string (struct GNUNET_TIME_Relative 132char *GNUNET_STRINGS_relative_time_to_string (struct GNUNET_TIME_Relative
128 delta); 133 delta);