27 #ifndef EVENT2_DNS_COMPAT_H_INCLUDED_
28 #define EVENT2_DNS_COMPAT_H_INCLUDED_
42 #include <event2/event-config.h>
43 #ifdef EVENT__HAVE_SYS_TYPES_H
44 #include <sys/types.h>
46 #ifdef EVENT__HAVE_SYS_TIME_H
52 #include <event2/visibility.h>
350 int evdns_config_windows_nameservers(
void);
351 #define EVDNS_CONFIG_WINDOWS_NAMESERVERS_IMPLEMENTED
void(* evdns_request_callback_fn_type)(struct evdns_server_request *, void *)
Definition: dns.h:620
void(* evdns_callback_type)(int result, char type, int count, int ttl, void *addresses, void *arg)
Definition: dns.h:229
EVENT2_EXPORT_SYMBOL void evdns_search_ndots_set(const int ndots)
Definition: evdns.c:3192
EVENT2_EXPORT_SYMBOL struct evdns_server_port * evdns_add_server_port(evutil_socket_t socket, int flags, evdns_request_callback_fn_type callback, void *user_data)
Definition: evdns.c:1754
EVENT2_EXPORT_SYMBOL int evdns_count_nameservers(void)
Definition: evdns.c:2406
EVENT2_EXPORT_SYMBOL int evdns_resolve_ipv6(const char *name, int flags, evdns_callback_type callback, void *ptr)
Definition: evdns.c:2980
EVENT2_EXPORT_SYMBOL int evdns_set_option(const char *option, const char *val, int flags)
Definition: evdns.c:3573
EVENT2_EXPORT_SYMBOL int evdns_resolve_reverse(const struct in_addr *in, int flags, evdns_callback_type callback, void *ptr)
Definition: evdns.c:3015
EVENT2_EXPORT_SYMBOL int evdns_resolve_ipv4(const char *name, int flags, evdns_callback_type callback, void *ptr)
Definition: evdns.c:2942
EVENT2_EXPORT_SYMBOL int evdns_resolve_reverse_ipv6(const struct in6_addr *in, int flags, evdns_callback_type callback, void *ptr)
Definition: evdns.c:3055
EVENT2_EXPORT_SYMBOL void evdns_shutdown(int fail_requests)
Definition: evdns.c:4182
EVENT2_EXPORT_SYMBOL int evdns_resolv_conf_parse(int flags, const char *const filename)
Definition: evdns.c:3725
EVENT2_EXPORT_SYMBOL int evdns_clear_nameservers_and_suspend(void)
Definition: evdns.c:2478
EVENT2_EXPORT_SYMBOL void evdns_search_clear(void)
Definition: evdns.c:3128
EVENT2_EXPORT_SYMBOL int evdns_resume(void)
Definition: evdns.c:2496
EVENT2_EXPORT_SYMBOL int evdns_nameserver_ip_add(const char *ip_as_string)
Definition: evdns.c:2669
EVENT2_EXPORT_SYMBOL int evdns_init(void)
Definition: evdns.c:4052
EVENT2_EXPORT_SYMBOL void evdns_search_add(const char *domain)
Definition: evdns.c:3178
EVENT2_EXPORT_SYMBOL int evdns_nameserver_add(unsigned long int address)
Definition: evdns.c:2617
EVENT2_EXPORT_SYMBOL struct evdns_base * evdns_get_global_base(void)
Definition: evdns.c:383
Definition: ipv6-internal.h:53
#define evutil_socket_t
Definition: util.h:310