diff options
author | Martin Schanzenbach <schanzen@gnunet.org> | 2022-02-15 23:36:23 +0100 |
---|---|---|
committer | Martin Schanzenbach <schanzen@gnunet.org> | 2022-02-15 23:36:23 +0100 |
commit | e391a0a83f1336478d2171bbae321689b7fe8d03 (patch) | |
tree | 55d2f347612f680dd98953fdbad3bbc1f3abc1ea /src/include/gnunet_gnsrecord_lib.h | |
parent | 9c0ac480cb4148a0970c915a7d8aadc2ca47874d (diff) | |
download | gnunet-e391a0a83f1336478d2171bbae321689b7fe8d03.tar.gz gnunet-e391a0a83f1336478d2171bbae321689b7fe8d03.zip |
-sanitize utf8 api a bit
Diffstat (limited to 'src/include/gnunet_gnsrecord_lib.h')
-rw-r--r-- | src/include/gnunet_gnsrecord_lib.h | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/src/include/gnunet_gnsrecord_lib.h b/src/include/gnunet_gnsrecord_lib.h index cbf7ee15c..590d83476 100644 --- a/src/include/gnunet_gnsrecord_lib.h +++ b/src/include/gnunet_gnsrecord_lib.h | |||
@@ -431,7 +431,8 @@ GNUNET_GNSRECORD_is_expired (const struct GNUNET_GNSRECORD_Data *rd); | |||
431 | 431 | ||
432 | 432 | ||
433 | /** | 433 | /** |
434 | * Normalize a UTF-8 string to UTF-8 NFC | 434 | * Normalize a UTF-8 string to a GNS name |
435 | * | ||
435 | * @param src source string | 436 | * @param src source string |
436 | * @return converted result | 437 | * @return converted result |
437 | */ | 438 | */ |
@@ -440,15 +441,6 @@ GNUNET_GNSRECORD_string_normalize (const char *src); | |||
440 | 441 | ||
441 | 442 | ||
442 | /** | 443 | /** |
443 | * Convert a UTF-8 string to UTF-8 lowercase | ||
444 | * @param src source string | ||
445 | * @return converted result | ||
446 | */ | ||
447 | char * | ||
448 | GNUNET_GNSRECORD_string_to_lowercase (const char *src); | ||
449 | |||
450 | |||
451 | /** | ||
452 | * Convert a zone to a string (for printing debug messages). | 444 | * Convert a zone to a string (for printing debug messages). |
453 | * This is one of the very few calls in the entire API that is | 445 | * This is one of the very few calls in the entire API that is |
454 | * NOT reentrant! | 446 | * NOT reentrant! |