Searched refs:hosts_fname (Results 1 - 2 of 2) sorted by last modified time

/freebsd-11-stable/contrib/ntp/sntp/libevent/
H A Devdns.c4171 evdns_base_load_hosts_impl(struct evdns_base *base, const char *hosts_fname) argument
4179 if (hosts_fname == NULL ||
4180 (err = evutil_read_file_(hosts_fname, &str, &len, 0)) < 0) {
4210 evdns_base_load_hosts(struct evdns_base *base, const char *hosts_fname) argument
4216 res = evdns_base_load_hosts_impl(base, hosts_fname);
/freebsd-11-stable/contrib/ntp/sntp/libevent/include/event2/
H A Ddns.h466 Load an /etc/hosts-style file from 'hosts_fname' into 'base'.
468 If hosts_fname is NULL, add minimal entries for localhost, and nothing
479 int evdns_base_load_hosts(struct evdns_base *base, const char *hosts_fname);

Completed in 90 milliseconds