Lines Matching defs:word
293 char word[LWRES_CONFMAXLINELEN];
303 res = getword(fp, word, sizeof(word));
304 if (strlen(word) == 0U)
312 res = lwres_create_addr(word, &address, 1);
324 char word[LWRES_CONFMAXLINELEN];
333 res = getword(fp, word, sizeof(word));
334 if (strlen(word) == 0U)
342 res = lwres_create_addr(word,
352 char word[LWRES_CONFMAXLINELEN];
358 res = getword(fp, word, sizeof(word));
359 if (strlen(word) == 0U)
383 confdata->domainname = lwres_strdup(ctx, word);
394 char word[LWRES_CONFMAXLINELEN];
420 delim = getword(fp, word, sizeof(word));
421 if (strlen(word) == 0U)
425 while (strlen(word) > 0U) {
429 confdata->search[idx] = lwres_strdup(ctx, word);
439 delim = getword(fp, word, sizeof(word));
507 char word[LWRES_CONFMAXLINELEN];
513 delim = getword(fp, word, sizeof(word));
514 if (strlen(word) == 0U)
517 while (strlen(word) > 0U) {
521 p = strchr(word, '/');
526 res = lwres_create_addr(word, &confdata->sortlist[idx].addr, 1);
552 delim = getword(fp, word, sizeof(word));
565 char word[LWRES_CONFMAXLINELEN];
571 delim = getword(fp, word, sizeof(word));
572 if (strlen(word) == 0U)
575 while (strlen(word) > 0U) {
576 if (strcmp("debug", word) == 0) {
578 } else if (strcmp("no_tld_query", word) == 0) {
580 } else if (strcmp("debug", word) == 0) {
582 } else if (strncmp("ndots:", word, 6) == 0) {
583 ndots = strtol(word + 6, &p, 10);
589 } else if (strncmp("timeout:", word, 8) == 0) {
590 timeout = strtol(word + 8, &p, 10);
594 } else if (strncmp("attempts:", word, 9) == 0) {
595 attempts = strtol(word + 9, &p, 10);
606 delim = getword(fp, word, sizeof(word));
616 char word[256];
634 stopchar = getword(fp, word, sizeof(word));
641 if (strlen(word) == 0U)
643 else if (strcmp(word, "nameserver") == 0)
645 else if (strcmp(word, "lwserver") == 0)
647 else if (strcmp(word, "domain") == 0)
649 else if (strcmp(word, "search") == 0)
651 else if (strcmp(word, "sortlist") == 0)
653 else if (strcmp(word, "options") == 0)
656 /* unrecognised word. Ignore entire line */