chiark
/
gitweb
/
~ianmdlvl
/
adns.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
d2b95e7
)
WIP fix comment
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Tue, 27 May 2014 01:21:31 +0000
(
02:21
+0100)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Tue, 27 May 2014 01:21:31 +0000
(
02:21
+0100)
src/adns.h
patch
|
blob
|
history
diff --git
a/src/adns.h
b/src/adns.h
index 78b78326819b33318ada8aef86136de95d24b21c..bb88395287796d8aad8d3042447b3f2b0ace2b9e 100644
(file)
--- a/
src/adns.h
+++ b/
src/adns.h
@@
-689,13
+689,12
@@
int adns_text2addr(const char *addr, uint16_t port, struct sockaddr *sa,
int adns_addr2text(const struct sockaddr *sa,
char *addr_buffer, int *addr_buflen /* set iff ENOSPC */,
int *port_r /* may be 0 */);
int adns_addr2text(const struct sockaddr *sa,
char *addr_buffer, int *addr_buflen /* set iff ENOSPC */,
int *port_r /* may be 0 */);
- /* These DO NOT return an adns_status. Instead, 0 on success,
- * or an errno value on failure. Error values are:
+ /* Error return values are:
* EAFNOSUPPORT addr2text only
* EINVAL text2addr only: addr has invalid syntax
* ENOSPC only if *buflen < _BUFLEN or *salen < sizeof(adns_sockaddr)
* Extra errors are possible from text2addr if addr specifies a scope
* EAFNOSUPPORT addr2text only
* EINVAL text2addr only: addr has invalid syntax
* ENOSPC only if *buflen < _BUFLEN or *salen < sizeof(adns_sockaddr)
* Extra errors are possible from text2addr if addr specifies a scope
- * name suffix (ie, it has a "%"
and the scope suffix is not numeric)
:
+ * name suffix (ie, it has a "%"
) and the scope suffix is not numeric
:
* ENOSYS address is not link local
* ENXIO if_nametoindex said it wasn't a valid name
* EIO if_nametoindex went crazy (adns prints a message to stderr)
* ENOSYS address is not link local
* ENXIO if_nametoindex said it wasn't a valid name
* EIO if_nametoindex went crazy (adns prints a message to stderr)