Lines Matching refs:word

296 	char word[LWRES_CONFMAXLINELEN];
306 res = getword(fp, word, sizeof(word));
307 if (strlen(word) == 0U)
315 res = lwres_create_addr(word, &address, 1);
327 char word[LWRES_CONFMAXLINELEN];
336 res = getword(fp, word, sizeof(word));
337 if (strlen(word) == 0U)
345 res = lwres_create_addr(word,
355 char word[LWRES_CONFMAXLINELEN];
361 res = getword(fp, word, sizeof(word));
362 if (strlen(word) == 0U)
386 confdata->domainname = lwres_strdup(ctx, word);
397 char word[LWRES_CONFMAXLINELEN];
423 delim = getword(fp, word, sizeof(word));
424 if (strlen(word) == 0U)
428 while (strlen(word) > 0U) {
432 confdata->search[idx] = lwres_strdup(ctx, word);
442 delim = getword(fp, word, sizeof(word));
478 char word[LWRES_CONFMAXLINELEN];
484 delim = getword(fp, word, sizeof(word));
485 if (strlen(word) == 0U)
488 while (strlen(word) > 0U) {
492 p = strchr(word, '/');
497 res = lwres_create_addr(word, &confdata->sortlist[idx].addr, 1);
523 delim = getword(fp, word, sizeof(word));
534 char word[LWRES_CONFMAXLINELEN];
540 delim = getword(fp, word, sizeof(word));
541 if (strlen(word) == 0U)
544 while (strlen(word) > 0U) {
545 if (strcmp("debug", word) == 0) {
547 } else if (strcmp("no_tld_query", word) == 0) {
549 } else if (strncmp("ndots:", word, 6) == 0) {
550 ndots = strtol(word + 6, &p, 10);
561 delim = getword(fp, word, sizeof(word));
571 char word[256];
589 stopchar = getword(fp, word, sizeof(word));
596 if (strlen(word) == 0U)
598 else if (strcmp(word, "nameserver") == 0)
600 else if (strcmp(word, "lwserver") == 0)
602 else if (strcmp(word, "domain") == 0)
604 else if (strcmp(word, "search") == 0)
606 else if (strcmp(word, "sortlist") == 0)
608 else if (strcmp(word, "options") == 0)
611 /* unrecognised word. Ignore entire line */