Lines Matching +full:non +full:- +full:secure +full:- +full:domain
2 * Copyright (c) 2006-2007 Niels Provos <provos@citi.umich.edu>
3 * Copyright (c) 2007-2012 Niels Provos and Nick Mathewson
31 * public domain. You can find his original copyright below. Please,
32 * aware that the code as part of Libevent is governed by the 3-clause
35 * This software is Public Domain. To view a copy of the public domain dedication,
102 * globally. Otherwise each search domain is appended in turn.
107 * For example, with ndots set to 1 (the default) and a search domain list of
147 /** Error codes 0-5 are as described in RFC 1035. */
154 /** The domain name does not exist */
161 /** The reply was truncated or ill-formatted */
187 * - timeout:
188 * - getaddrinfo-allow-skew:
189 * - max-timeouts:
190 * - max-inflight:
191 * - attempts:
192 * - randomize-case:
193 * - initial-probe-timeout:
200 * - DNS_OPTION_SEARCH
201 * - DNS_OPTION_NAMESERVERS
202 * - DNS_OPTION_MISC
203 * - DNS_OPTION_HOSTSFILE
221 * - result is one of the DNS_ERR_* values (DNS_ERR_NONE for success)
222 * - type is either DNS_IPv4_A or DNS_PTR or DNS_IPv6_AAAA
223 * - count contains the number of addresses of form type
224 * - ttl is the number of seconds the resolution may be cached for.
225 * - addresses needs to be cast according to type. It will be an array of
226 * 4-byte sequences for ipv4, or an array of 16-byte sequences for ipv6,
227 * or a nul-terminated string for PTR.
247 This function initializes support for non-blocking name resolution by
269 @param fail_requests if zero, active requests will be aborted; if non-zero,
303 @return 0 if successful, or -1 if an error occurred
314 number of running nameservers). This is useful for double-checking
328 Resolves will not necessarily be re-attempted until evdns_base_resume() is called.
331 @return 0 if successful, or -1 if an error occurred
341 Re-attempt resolves left in limbo after an earlier call to
345 @return 0 if successful, or -1 if an error occurred
356 - [IPv6Address]:port
357 - [IPv6Address]
358 - IPv6Address
359 - IPv4Address:port
360 - IPv4Address
365 @return 0 if successful, or -1 if an error occurred
457 ndots, timeout, max-timeouts, max-inflight, attempts, randomize-case,
458 bind-to, initial-probe-timeout, getaddrinfo-allow-skew,
459 so-rcvbuf, so-sndbuf.
461 In versions before Libevent 2.0.3-alpha, the option name needed to end with
467 @return 0 if successful, or -1 if an error occurred
481 no-check-names, inet6, debug.
499 Load an /etc/hosts-style file from 'hosts_fname' into 'base'.
522 @return 0 if successful, or -1 if an error occurred
539 Add a domain to the list of search domains
541 @param domain the domain to be added to the search list
544 void evdns_base_search_add(struct evdns_base *base, const char *domain);
551 the first query to be without any search domain.
584 NOTE: This function has no effect in Libevent 2.0.4-alpha and later,
585 since Libevent now provides its own secure RNG.
596 NOTE: This function has no effect in Libevent 2.0.4-alpha and later,
597 since Libevent now provides its own secure RNG.
666 /* Functions to add an answer to an in-progress DNS reply.
701 /** Make a non-blocking getaddrinfo request using the dns_base in 'dns_base'.
714 * - The AI_V4MAPPED and AI_ALL flags are not currently implemented.
715 * - For ai_socktype, we only handle SOCKTYPE_STREAM, SOCKTYPE_UDP, and 0.
716 * - For ai_protocol, we only handle IPPROTO_TCP, IPPROTO_UDP, and 0.
725 /* Cancel an in-progress evdns_getaddrinfo. This MUST NOT be called after the
740 -1 if idx is greater than the number of configured nameservers, or a