aboutsummaryrefslogtreecommitdiff
path: root/ares/ares_gethostbyaddr.3
diff options
context:
space:
mode:
Diffstat (limited to 'ares/ares_gethostbyaddr.3')
-rw-r--r--ares/ares_gethostbyaddr.37
1 files changed, 6 insertions, 1 deletions
diff --git a/ares/ares_gethostbyaddr.3 b/ares/ares_gethostbyaddr.3
index e3fc3c522..3782d4af5 100644
--- a/ares/ares_gethostbyaddr.3
+++ b/ares/ares_gethostbyaddr.3
@@ -22,7 +22,7 @@ ares_gethostbyaddr \- Initiate a host query by address
.B #include <ares.h>
.PP
.B typedef void (*ares_host_callback)(void *\fIarg\fP, int \fIstatus\fP,
-.B struct hostent *\fIhostent\fP)
+.B int \fItimeouts\fP, struct hostent *\fIhostent\fP)
.PP
.B void ares_gethostbyaddr(ares_channel \fIchannel\fP, const void *\fIaddr\fP,
.B int \fIaddrlen\fP, int \fIfamily\fP, ares_host_callback \fIcallback\fP,
@@ -76,6 +76,11 @@ The name service channel
.I channel
is being destroyed; the query will not be completed.
.PP
+The callback argument
+.I timeouts
+reports how many times a query timed out during the execution of the
+given request.
+.PP
On successful completion of the query, the callback argument
.I hostent
points to a