From 90364defb038d5d6b97acf9df9ed152d2393a863 Mon Sep 17 00:00:00 2001 From: "hpopescu@ixiacom.com" Date: Fri, 10 Aug 2012 12:06:09 +0300 Subject: Added new feature (rfc2671) --- ares_mkquery.3 | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'ares_mkquery.3') 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: -- cgit v1.2.3