Searched refs:evdns_base (Results 1 - 12 of 12) sorted by relevance

/freebsd-11-stable/contrib/ntp/sntp/libevent/include/event2/
H A Ddns.h203 struct evdns_base;
222 @return evdns_base object if successful, or NULL if an error occurred.
226 struct evdns_base * evdns_base_new(struct event_base *event_base, int initialize_nameservers);
236 @param evdns_base the evdns base to free
242 void evdns_base_free(struct evdns_base *base, int fail_requests);
248 @param evdns_base the evdns base to remove outdated host addresses from
251 void evdns_base_clear_host_addresses(struct evdns_base *base);
269 @param base the evdns_base to which to add the name server
275 int evdns_base_nameserver_add(struct evdns_base *base,
286 @param base the evdns_base t
[all...]
H A Ddns_compat.h71 struct evdns_base;
73 Return the global evdns_base created by event_init() and used by the other
77 evdns_base is error-prone.
79 struct evdns_base *evdns_get_global_base(void);
89 caller to specify which evdns_base it applies to. The recommended
105 caller to specify which evdns_base it applies to. The recommended
123 caller to specify which evdns_base it applies to. The recommended
137 caller to specify which evdns_base it applies to. The recommended
152 caller to specify which evdns_base it applies to. The recommended
167 caller to specify which evdns_base i
[all...]
H A Dhttp.h75 struct evdns_base;
510 struct event_base *base, struct evdns_base *dnsbase, struct bufferevent* bev, const char *address, unsigned short port);
630 struct event_base *base, struct evdns_base *dnsbase,
H A Dbufferevent.h214 struct evdns_base;
220 @param evdns_base Optionally, an evdns_base to use for resolving hostnames
237 Performance note: If you do not provide an evdns_base, this function
243 struct evdns_base *, int, const char *, int);
/freebsd-11-stable/contrib/ntp/sntp/libevent/
H A Devdns.c159 struct evdns_base *base;
194 struct evdns_base *base;
234 struct evdns_base *base;
304 struct evdns_base { struct
376 static struct evdns_base *current_base = NULL;
378 struct evdns_base *
392 static struct nameserver *nameserver_pick(struct evdns_base *base);
396 static int evdns_transmit(struct evdns_base *base);
401 static struct request *search_request_new(struct evdns_base *base, struct evdns_request *handle, int type, const char *const name, int flags, evdns_callback_type user_callback, void *user_arg);
402 static void evdns_requests_pump_waiting_queue(struct evdns_base *bas
4229 struct evdns_base *evdns_base; member in struct:evdns_getaddrinfo_request
4368 evdns_getaddrinfo_set_timeout(struct evdns_base *evdns_base, struct evdns_getaddrinfo_request *data) argument
[all...]
H A Dutil-internal.h353 struct evdns_base;
356 struct evdns_base *base,
371 int evutil_getaddrinfo_async_(struct evdns_base *dns_base,
H A Dhttp-internal.h102 struct evdns_base *dns_base;
H A Dbufferevent_sock.c468 struct evdns_base *evdns_base, int family, const char *hostname, int port)
496 err = evutil_getaddrinfo_async_(evdns_base, hostname, portbuf,
467 bufferevent_socket_connect_hostname(struct bufferevent *bev, struct evdns_base *evdns_base, int family, const char *hostname, int port) argument
H A Devutil.c1558 evutil_getaddrinfo_async_(struct evdns_base *dns_base,
H A Dhttp.c2250 evhttp_connection_base_bufferevent_new(struct event_base *base, struct evdns_base *dnsbase, struct bufferevent* bev,
2326 evhttp_connection_base_new(struct event_base *base, struct evdns_base *dnsbase,
/freebsd-11-stable/contrib/ntp/sntp/libevent/test/
H A Dregress_dns.c198 struct evdns_base *dns = evdns_base_new(base, 1/* init name servers */);
376 struct evdns_base *base=NULL;
535 struct evdns_base *dns = NULL;
619 struct evdns_base *dns = NULL;
695 struct evdns_base *dns = NULL;
794 struct evdns_base *dns = NULL;
869 struct evdns_base *dns = NULL;
934 struct evdns_base *dns = NULL;
1162 struct evdns_base *dns=NULL;
1190 /* Start an evdns_base tha
[all...]
H A Dregress_http.c968 const char *address, struct evdns_base *dnsbase, int ipv6, int family)
1078 struct evdns_base *dns_base = NULL;
3829 struct evdns_base *dns_base = NULL;

Completed in 262 milliseconds