Searched refs:resolv_files (Results 1 – 3 of 3) sorted by relevance
432 if (daemon->resolv_files && !daemon->resolv_files->is_default) in main()435 daemon->resolv_files = NULL; in main()654 if (daemon->port != 0 && daemon->resolv_files && (daemon->options & OPT_NO_POLL)) { in async_event()655 reload_servers(daemon->resolv_files->name); in async_event()747 for (latest = NULL, res = daemon->resolv_files; res; res = res->next) in poll_resolv()
1049 struct resolvc* new, *list = daemon->resolv_files; in one_opt()1067 daemon->resolv_files = list; in one_opt()2449 daemon->resolv_files = &daemon->default_resolv; in read_opts()2556 if (!(daemon->options & OPT_NO_RESOLV) && daemon->resolv_files && daemon->resolv_files->next && in read_opts()2564 if ((daemon->options & OPT_NO_RESOLV) || !daemon->resolv_files || in read_opts()2565 (daemon->resolv_files)->next) in read_opts()2568 if (!(f = fopen((daemon->resolv_files)->name, "r"))) in read_opts()2569 die(_("failed to read %s: %s"), (daemon->resolv_files)->name, EC_FILE); in read_opts()2584 die(_("no search directive found in %s"), (daemon->resolv_files)->name, EC_MISC); in read_opts()
576 struct resolvc default_resolv, *resolv_files; member