Lines Matching refs:search
81 #define RESCONFMAXSEARCH 8U /*%< max 8 domains in "search" entry */
102 char *search[RESCONFMAXSEARCH];
342 if (conf->search[i] != NULL) {
343 isc_mem_free(conf->mctx, conf->search[i]);
344 conf->search[i] = NULL;
369 * Remove any previous search definitions.
372 if (conf->search[idx] != NULL) {
373 isc_mem_free(conf->mctx, conf->search[idx]);
374 conf->search[idx] = NULL;
390 INSIST(idx < sizeof(conf->search) / sizeof(conf->search[0]));
391 conf->search[idx] = isc_mem_strdup(conf->mctx, word);
538 conf->search[i] = NULL;
557 } else if (strcmp(word, "search") == 0) {
592 * Construct unified search list from domain or configured
593 * search list
599 ret = add_search(conf, conf->search[i]);
664 if (conf->search[i] != NULL) {
665 isc_mem_free(conf->mctx, conf->search[i]);