summaryrefslogtreecommitdiff
path: root/ares_mkquery.3
diff options
context:
space:
mode:
authorhpopescu@ixiacom.com <hpopescu@ixiacom.com>2012-08-10 09:06:09 (GMT)
committerDaniel Stenberg <daniel@haxx.se>2012-08-16 22:54:47 (GMT)
commit90364defb038d5d6b97acf9df9ed152d2393a863 (patch)
tree82ea71d7a7718652727fed628849a247c464728b /ares_mkquery.3
parente447bc5c603a139852fd74d9930c1293535ea749 (diff)
downloadc-ares-90364defb038d5d6b97acf9df9ed152d2393a863.zip
c-ares-90364defb038d5d6b97acf9df9ed152d2393a863.tar.gz
c-ares-90364defb038d5d6b97acf9df9ed152d2393a863.tar.bz2
Added new feature (rfc2671)
Diffstat (limited to 'ares_mkquery.3')
-rw-r--r--ares_mkquery.37
1 files changed, 7 insertions, 0 deletions
diff --git a/ares_mkquery.3 b/ares_mkquery.3
index f7c5413..b2c90a9 100644
--- a/ares_mkquery.3
+++ b/ares_mkquery.3
@@ -25,6 +25,8 @@ ares_mkquery \- Compose a single-question DNS query buffer
.B int *\fIbuflen\fP)
.fi
.SH DESCRIPTION
+Deprecated function. See \fIares_create_query(3)\fP instead!
+
The
.B ares_mkquery
function composes a DNS query with a single question.
@@ -50,6 +52,11 @@ and the length of which will be stored in the variable pointed to by
.IR buflen .
It is the caller's responsibility to free this buffer using
\fIares_free_string(3)\fP when it is no longer needed.
+
+Usage of \fIares_mkquery(3)\fP is deprecated, whereas the function is
+equivalent to \fIares_create_query(3)\fP with \fBmax_udp_size\fP set to
+0.
+
.SH RETURN VALUES
.B ares_mkquery
can return any of the following values: