Lines Matching defs:confdata
588 copy_server_list(lwres_conf_t *confdata, dig_serverlist_t *dest) {
595 for (i = 0; i < confdata->nsnext; i++) {
596 af = addr2af(confdata->nameservers[i].family);
603 lwres_net_ntop(af, confdata->nameservers[i].address,
656 add_nameserver(lwres_conf_t *confdata, const char *addr, int af) {
658 int i = confdata->nsnext;
660 if (confdata->nsnext >= LWRES_CONFMAXNAMESERVERS)
665 confdata->nameservers[i].family = LWRES_ADDRTYPE_V4;
666 confdata->nameservers[i].length = NS_INADDRSZ;
669 confdata->nameservers[i].family = LWRES_ADDRTYPE_V6;
670 confdata->nameservers[i].length = NS_IN6ADDRSZ;
676 if (lwres_net_pton(af, addr, &confdata->nameservers[i].address) == 1) {
677 confdata->nsnext++;
1018 create_search_list(lwres_conf_t *confdata) {
1025 for (i = 0; i < confdata->searchnxt; i++) {
1026 search = make_searchlist_entry(confdata->search[i]);