Home
last modified time | relevance | path

Searched refs:confline (Results 1 – 2 of 2) sorted by relevance

/third_party/toybox/toys/pending/
Dsyslogd.c156 char *confline, *tk[2]; in parse_config_file() local
190 confline = NULL; in parse_config_file()
191 len = getline(&confline, &linelen, fp); in parse_config_file()
194 for (; *confline == ' '; confline++, len--) ; in parse_config_file()
195 if ((confline[0] == '#') || (confline[0] == '\n')) continue; in parse_config_file()
196 tk[0] = confline; in parse_config_file()
214 if (resolve_config(file, confline) == -1) { in parse_config_file()
219 free(confline); in parse_config_file()
Ddhcpd.c723 char *confline_temp = NULL,*confline = NULL, *tk = NULL, *tokens[2] = {NULL, NULL}; in parse_server_config() local
733 confline = confline_temp; in parse_server_config()
735 for (; *confline == ' '; confline++, len--); in parse_server_config()
736 if ((confline[0] == '#') || (confline[0] == '\n')) goto free_conf_continue; in parse_server_config()
737 tk = strchr(confline, '#'); in parse_server_config()
742 tk = strchr(confline, '\n'); in parse_server_config()
747 for (tcount=0, tk=strtok(confline, " \t"); tk && (tcount < 2); in parse_server_config()