aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_strings_lib.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/gnunet_strings_lib.h')
-rw-r--r--src/include/gnunet_strings_lib.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/include/gnunet_strings_lib.h b/src/include/gnunet_strings_lib.h
index cc655d0b0..955a3afca 100644
--- a/src/include/gnunet_strings_lib.h
+++ b/src/include/gnunet_strings_lib.h
@@ -59,7 +59,7 @@ extern "C"
59/** 59/**
60 * Convert a given fancy human-readable size to bytes. 60 * Convert a given fancy human-readable size to bytes.
61 * 61 *
62 * @param fancy_size human readable string (i.e. 1 MB) 62 * @param fancy_size human readable string (e.g. 1 MB)
63 * @param size set to the size in bytes 63 * @param size set to the size in bytes
64 * @return #GNUNET_OK on success, #GNUNET_SYSERR on error 64 * @return #GNUNET_OK on success, #GNUNET_SYSERR on error
65 */ 65 */
@@ -72,7 +72,7 @@ GNUNET_STRINGS_fancy_size_to_bytes (const char *fancy_size,
72 * Convert a given fancy human-readable time to our internal 72 * Convert a given fancy human-readable time to our internal
73 * representation. 73 * representation.
74 * 74 *
75 * @param fancy_time human readable string (i.e. 1 minute) 75 * @param fancy_time human readable string (e.g. 1 minute)
76 * @param rtime set to the relative time 76 * @param rtime set to the relative time
77 * @return #GNUNET_OK on success, #GNUNET_SYSERR on error 77 * @return #GNUNET_OK on success, #GNUNET_SYSERR on error
78 */ 78 */
@@ -87,7 +87,7 @@ GNUNET_STRINGS_fancy_time_to_relative (const char *fancy_time,
87 * representation. The human-readable time is expected to be 87 * representation. The human-readable time is expected to be
88 * in local time, whereas the returned value will be in UTC. 88 * in local time, whereas the returned value will be in UTC.
89 * 89 *
90 * @param fancy_time human readable string (i.e. %Y-%m-%d %H:%M:%S) 90 * @param fancy_time human readable string (e.g. %Y-%m-%d %H:%M:%S)
91 * @param atime set to the absolute time 91 * @param atime set to the absolute time
92 * @return #GNUNET_OK on success, #GNUNET_SYSERR on error 92 * @return #GNUNET_OK on success, #GNUNET_SYSERR on error
93 */ 93 */
@@ -548,7 +548,7 @@ GNUNET_STRINGS_to_address_ipv4 (const char *zt_addr,
548 * `struct sockaddr`. 548 * `struct sockaddr`.
549 * 549 *
550 * @param addr the address 550 * @param addr the address
551 * @param[out] af set to the parsed address family (i.e. AF_INET) 551 * @param[out] af set to the parsed address family (e.g. AF_INET)
552 * @param[out] sa set to the parsed address 552 * @param[out] sa set to the parsed address
553 * @return 0 on error, otherwise number of bytes in @a sa 553 * @return 0 on error, otherwise number of bytes in @a sa
554 */ 554 */