diff options
Diffstat (limited to 'src/include/gnunet_strings_lib.h')
-rw-r--r-- | src/include/gnunet_strings_lib.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/include/gnunet_strings_lib.h b/src/include/gnunet_strings_lib.h index 9dd2f733e..bb8577b7a 100644 --- a/src/include/gnunet_strings_lib.h +++ b/src/include/gnunet_strings_lib.h | |||
@@ -159,14 +159,12 @@ GNUNET_STRINGS_to_utf8 (const char *input, | |||
159 | 159 | ||
160 | /** | 160 | /** |
161 | * Normalize the utf-8 input string to NFC. | 161 | * Normalize the utf-8 input string to NFC. |
162 | * Output needs to be allocated appropriately. | ||
163 | * | 162 | * |
164 | * @param input input string | 163 | * @param input input string |
165 | * @param output output buffer | 164 | * @return result (freshly allocated) or NULL on error. |
166 | */ | 165 | */ |
167 | void | 166 | char* |
168 | GNUNET_STRINGS_utf8_normalize (const char *input, | 167 | GNUNET_STRINGS_utf8_normalize (const char *input); |
169 | char *output); | ||
170 | 168 | ||
171 | 169 | ||
172 | /** | 170 | /** |
@@ -192,8 +190,9 @@ GNUNET_STRINGS_from_utf8 (const char *input, | |||
192 | * | 190 | * |
193 | * @param input input string | 191 | * @param input input string |
194 | * @param output output buffer | 192 | * @param output output buffer |
193 | * @return GNUNET_OK on success | ||
195 | */ | 194 | */ |
196 | void | 195 | enum GNUNET_GenericReturnValue |
197 | GNUNET_STRINGS_utf8_tolower (const char *input, | 196 | GNUNET_STRINGS_utf8_tolower (const char *input, |
198 | char *output); | 197 | char *output); |
199 | 198 | ||
@@ -204,8 +203,9 @@ GNUNET_STRINGS_utf8_tolower (const char *input, | |||
204 | * | 203 | * |
205 | * @param input input string | 204 | * @param input input string |
206 | * @param output output buffer | 205 | * @param output output buffer |
206 | * @return GNUNET_OK on success | ||
207 | */ | 207 | */ |
208 | void | 208 | enum GNUNET_GenericReturnValue |
209 | GNUNET_STRINGS_utf8_toupper (const char *input, | 209 | GNUNET_STRINGS_utf8_toupper (const char *input, |
210 | char *output); | 210 | char *output); |
211 | 211 | ||
@@ -458,7 +458,7 @@ GNUNET_STRINGS_base64url_decode (const char *data, | |||
458 | * | 458 | * |
459 | * @param data the data to encode | 459 | * @param data the data to encode |
460 | * @param len the length of the input | 460 | * @param len the length of the input |
461 | * @param output where to write the output (*output should be NULL, | 461 | * @param[out] out where to write the output (*output should be NULL, |
462 | * is allocated) | 462 | * is allocated) |
463 | * @return the size of the output | 463 | * @return the size of the output |
464 | */ | 464 | */ |