Lines Matching refs:word
274 char word[RESCONFMAXLINELEN];
281 cp = getword(fp, word, sizeof(word));
282 if (strlen(word) == 0U)
290 result = add_server(conf->mctx, word, &conf->nameservers);
300 char word[RESCONFMAXLINELEN];
304 res = getword(fp, word, sizeof(word));
305 if (strlen(word) == 0U)
327 conf->domainname = isc_mem_strdup(conf->mctx, word);
338 char word[RESCONFMAXLINELEN];
359 delim = getword(fp, word, sizeof(word));
360 if (strlen(word) == 0U)
364 while (strlen(word) > 0U) {
369 conf->search[idx] = isc_mem_strdup(conf->mctx, word);
379 delim = getword(fp, word, sizeof(word));
389 char word[RESCONFMAXLINELEN];
392 delim = getword(fp, word, sizeof(word));
393 if (strlen(word) == 0U)
396 while (strlen(word) > 0U) {
400 p = strchr(word, '/');
406 res = create_addr(word, &conf->sortlist[idx].addr, 1);
428 delim = getword(fp, word, sizeof(word));
439 char word[RESCONFMAXLINELEN];
441 delim = getword(fp, word, sizeof(word));
442 if (strlen(word) == 0U)
445 while (strlen(word) > 0U) {
446 if (strcmp("debug", word) == 0) {
448 } else if (strncmp("ndots:", word, 6) == 0) {
449 ndots = strtol(word + 6, &p, 10);
460 delim = getword(fp, word, sizeof(word));
486 char word[256];
515 stopchar = getword(fp, word, sizeof(word));
522 if (strlen(word) == 0U)
524 else if (strcmp(word, "nameserver") == 0)
526 else if (strcmp(word, "domain") == 0)
528 else if (strcmp(word, "search") == 0)
530 else if (strcmp(word, "sortlist") == 0)
532 else if (strcmp(word, "options") == 0)
535 /* unrecognised word. Ignore entire line */