Lines Matching refs:search
77 #define RESCONFMAXSEARCH 8U /*%< max 8 domains in "search" entry */
105 char *search[RESCONFMAXSEARCH];
344 if (conf->search[i] != NULL) {
345 isc_mem_free(conf->mctx, conf->search[i]);
346 conf->search[i] = NULL;
371 * Remove any previous search definitions.
374 if (conf->search[idx] != NULL) {
375 isc_mem_free(conf->mctx, conf->search[idx]);
376 conf->search[idx] = NULL;
392 INSIST(idx < sizeof(conf->search) / sizeof(conf->search[0]));
393 conf->search[idx] = isc_mem_strdup(conf->mctx, word);
555 conf->search[i] = NULL;
574 } else if (strcmp(word, "search") == 0) {
609 * Construct unified search list from domain or configured
610 * search list
616 ret = add_search(conf, conf->search[i]);
674 if (conf->search[i] != NULL) {
675 isc_mem_free(conf->mctx, conf->search[i]);