]> granicus.if.org Git - libevent/commitdiff
Document that DNS_NO_SEARCH is an obsolete alias for DNS_QUERY_NO_SEARCH
authorNick Mathewson <nickm@torproject.org>
Tue, 10 Aug 2010 19:03:14 +0000 (15:03 -0400)
committerNick Mathewson <nickm@torproject.org>
Tue, 10 Aug 2010 19:03:14 +0000 (15:03 -0400)
include/event2/dns.h

index 55a4927205cbedd972e21ebc43741c5935b78727..98eedb47ccad7dd1b752df9910999e603aa197e7 100644 (file)
@@ -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.
  */