From 33200e72de88d505c036c2ae1fec28f519ac72af Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Tue, 10 Aug 2010 15:03:14 -0400 Subject: [PATCH] Document that DNS_NO_SEARCH is an obsolete alias for DNS_QUERY_NO_SEARCH --- include/event2/dns.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/include/event2/dns.h b/include/event2/dns.h index 55a49272..98eedb47 100644 --- a/include/event2/dns.h +++ b/include/event2/dns.h @@ -179,6 +179,9 @@ extern "C" { #define DNS_OPTION_HOSTSFILE 8 #define DNS_OPTIONS_ALL 15 +/* Obsolete name for DNS_QUERY_NO_SEARCH */ +#define DNS_NO_SEARCH DNS_QUERY_NO_SEARCH + /** * The callback that contains the results from a lookup. * - result is one of the DNS_ERR_* values (DNS_ERR_NONE for success) @@ -507,8 +510,6 @@ void evdns_set_transaction_id_fn(ev_uint16_t (*fn)(void)); */ void evdns_set_random_bytes_fn(void (*fn)(char *, size_t)); -#define DNS_NO_SEARCH 1 - /* * Functions used to implement a DNS server. */