diff options
Diffstat (limited to 'src/include/gnunet_strings_lib.h')
-rw-r--r-- | src/include/gnunet_strings_lib.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/include/gnunet_strings_lib.h b/src/include/gnunet_strings_lib.h index 8d829d42e..cc655d0b0 100644 --- a/src/include/gnunet_strings_lib.h +++ b/src/include/gnunet_strings_lib.h | |||
@@ -116,7 +116,7 @@ GNUNET_STRINGS_byte_size_fancy (unsigned long long size); | |||
116 | * @param input_charset character set used for @a input | 116 | * @param input_charset character set used for @a input |
117 | * @param output_charset desired character set for the return value | 117 | * @param output_charset desired character set for the return value |
118 | * @return the converted string (0-terminated), | 118 | * @return the converted string (0-terminated), |
119 | * if conversion fails, a copy of the orignal | 119 | * if conversion fails, a copy of the original |
120 | * string is returned. | 120 | * string is returned. |
121 | */ | 121 | */ |
122 | char * | 122 | char * |
@@ -150,7 +150,7 @@ GNUNET_STRINGS_to_utf8 (const char *input, | |||
150 | * @param len the number of bytes in the @a input | 150 | * @param len the number of bytes in the @a input |
151 | * @param charset character set to convert to | 151 | * @param charset character set to convert to |
152 | * @return the converted string (0-terminated), | 152 | * @return the converted string (0-terminated), |
153 | * if conversion fails, a copy of the orignal | 153 | * if conversion fails, a copy of the original |
154 | * string is returned. | 154 | * string is returned. |
155 | */ | 155 | */ |
156 | char * | 156 | char * |
@@ -518,7 +518,7 @@ GNUNET_STRINGS_check_filename (const char *filename, | |||
518 | * @param addrlen length of zt_addr (not counting 0-terminator). | 518 | * @param addrlen length of zt_addr (not counting 0-terminator). |
519 | * @param r_buf a buffer to fill. Initially gets filled with zeroes, | 519 | * @param r_buf a buffer to fill. Initially gets filled with zeroes, |
520 | * then its sin6_port, sin6_family and sin6_addr are set appropriately. | 520 | * then its sin6_port, sin6_family and sin6_addr are set appropriately. |
521 | * @return #GNUNET_OK if conversion succeded. #GNUNET_SYSERR otherwise, in which | 521 | * @return #GNUNET_OK if conversion succeeded. #GNUNET_SYSERR otherwise, in which |
522 | * case the contents of r_buf are undefined. | 522 | * case the contents of r_buf are undefined. |
523 | */ | 523 | */ |
524 | int | 524 | int |
@@ -534,7 +534,7 @@ GNUNET_STRINGS_to_address_ipv6 (const char *zt_addr, | |||
534 | * @param zt_addr 0-terminated string. May be mangled by the function. | 534 | * @param zt_addr 0-terminated string. May be mangled by the function. |
535 | * @param addrlen length of zt_addr (not counting 0-terminator). | 535 | * @param addrlen length of zt_addr (not counting 0-terminator). |
536 | * @param r_buf a buffer to fill. | 536 | * @param r_buf a buffer to fill. |
537 | * @return #GNUNET_OK if conversion succeded. #GNUNET_SYSERR otherwise, in which case | 537 | * @return #GNUNET_OK if conversion succeeded. #GNUNET_SYSERR otherwise, in which case |
538 | * the contents of r_buf are undefined. | 538 | * the contents of r_buf are undefined. |
539 | */ | 539 | */ |
540 | int | 540 | int |
@@ -566,7 +566,7 @@ GNUNET_STRINGS_parse_socket_addr (const char *addr, | |||
566 | * @param addrlen number of bytes in @a addr (if addr is 0-terminated, | 566 | * @param addrlen number of bytes in @a addr (if addr is 0-terminated, |
567 | * 0-terminator should not be counted towards addrlen). | 567 | * 0-terminator should not be counted towards addrlen). |
568 | * @param r_buf a buffer to fill. | 568 | * @param r_buf a buffer to fill. |
569 | * @return #GNUNET_OK if conversion succeded. #GNUNET_SYSERR otherwise, in which | 569 | * @return #GNUNET_OK if conversion succeeded. #GNUNET_SYSERR otherwise, in which |
570 | * case the contents of r_buf are undefined. | 570 | * case the contents of r_buf are undefined. |
571 | */ | 571 | */ |
572 | int | 572 | int |