Searched refs:sc_dns (Results 1 - 2 of 2) sorted by relevance

/macosx-10.10.1/libresolv-57/
H A Ddns.c529 dns_config_t *sc_dns; local
532 sc_dns = dns_configuration_copy();
533 if (sc_dns == NULL) return NULL;
539 if (sc_dns->n_resolver != 0) sc_res = sc_dns->resolver[0];
543 for (i = 0; (sc_res == NULL) && (i < sc_dns->n_resolver); i++)
545 if (sc_dns->resolver[i] == NULL) continue;
546 if (sc_dns->resolver[i]->domain == NULL) continue;
547 if (!strcasecmp(name, sc_dns->resolver[i]->domain)) sc_res = sc_dns
738 dns_config_t *sc_dns; local
[all...]
H A Dres_init.c1147 dns_config_t *sc_dns; local
1157 sc_dns = dns_configuration_copy();
1158 if (sc_dns == NULL) return res_vinit_from_file(statp, preinit, _PATH_RESCONF);
1160 sc_res = sc_dns->resolver[0];
1334 dns_configuration_free(sc_dns);

Completed in 106 milliseconds