path: root/ares_query.3
diff options
Diffstat (limited to 'ares_query.3')
1 files changed, 6 insertions, 1 deletions
diff --git a/ares_query.3 b/ares_query.3
index 4bd8b68..93f64b2 100644
--- a/ares_query.3
+++ b/ares_query.3
@@ -22,7 +22,7 @@ ares_query \- Initiate a single-question DNS query
.B #include <ares.h>
.B typedef void (*ares_callback)(void *\fIarg\fP, int \fIstatus\fP,
-.B unsigned char *\fIabuf\fP, int \fIalen\fP)
+.B int \fItimeouts\fP, unsigned char *\fIabuf\fP, int \fIalen\fP)
.B void ares_query(ares_channel \fIchannel\fP, const char *\fIname\fP,
.B int \fIdnsclass\fP, int \fItype\fP, ares_callback \fIcallback\fP,
@@ -124,6 +124,11 @@ The name service channel
.I channel
is being destroyed; the query will not be completed.
+The callback argument
+.I timeouts
+reports how many times a query timed out during the execution of the
+given request.
If the query completed (even if there was something wrong with it, as
indicated by some of the above error codes), the callback argument
.I abuf