diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-05-02 19:38:20 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-05-02 19:38:20 +0000 |
commit | 78ef40f28e08ef786292429a4257fb82cf244635 (patch) | |
tree | 714b2a35361aa38b02fd98d37b39edda573301ed /src/include/gnunet_strings_lib.h | |
parent | 78bda4c51a6c27a7656273831e7c1bdbdfe0aad7 (diff) | |
download | gnunet-78ef40f28e08ef786292429a4257fb82cf244635.tar.gz gnunet-78ef40f28e08ef786292429a4257fb82cf244635.zip |
Diffstat (limited to 'src/include/gnunet_strings_lib.h')
-rw-r--r-- | src/include/gnunet_strings_lib.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/gnunet_strings_lib.h b/src/include/gnunet_strings_lib.h index 2eebfecff..54d2e3034 100644 --- a/src/include/gnunet_strings_lib.h +++ b/src/include/gnunet_strings_lib.h | |||
@@ -342,6 +342,7 @@ GNUNET_STRINGS_check_filename (const char *filename, | |||
342 | 342 | ||
343 | /** | 343 | /** |
344 | * Tries to convert 'zt_addr' string to an IPv6 address. | 344 | * Tries to convert 'zt_addr' string to an IPv6 address. |
345 | * The string is expected to have the format "[ABCD::01]:80". | ||
345 | * | 346 | * |
346 | * @param zt_addr 0-terminated string. May be mangled by the function. | 347 | * @param zt_addr 0-terminated string. May be mangled by the function. |
347 | * @param addrlen length of zt_addr (not counting 0-terminator). | 348 | * @param addrlen length of zt_addr (not counting 0-terminator). |
@@ -358,6 +359,7 @@ GNUNET_STRINGS_to_address_ipv6 (const char *zt_addr, | |||
358 | 359 | ||
359 | /** | 360 | /** |
360 | * Tries to convert 'zt_addr' string to an IPv4 address. | 361 | * Tries to convert 'zt_addr' string to an IPv4 address. |
362 | * The string is expected to have the format "1.2.3.4:80". | ||
361 | * | 363 | * |
362 | * @param zt_addr 0-terminated string. May be mangled by the function. | 364 | * @param zt_addr 0-terminated string. May be mangled by the function. |
363 | * @param addrlen length of zt_addr (not counting 0-terminator). | 365 | * @param addrlen length of zt_addr (not counting 0-terminator). |
@@ -373,8 +375,6 @@ GNUNET_STRINGS_to_address_ipv4 (const char *zt_addr, | |||
373 | 375 | ||
374 | /** | 376 | /** |
375 | * Tries to convert 'addr' string to an IP (v4 or v6) address. | 377 | * Tries to convert 'addr' string to an IP (v4 or v6) address. |
376 | * IPv6 address must have its address part enclosed in '()' parens | ||
377 | * instead of '[]'. | ||
378 | * Will automatically decide whether to treat 'addr' as v4 or v6 address. | 378 | * Will automatically decide whether to treat 'addr' as v4 or v6 address. |
379 | * | 379 | * |
380 | * @param addr a string, may not be 0-terminated. | 380 | * @param addr a string, may not be 0-terminated. |