Lines Matching defs:line

164 			/* got a (logical) line from Sysfiles */
215 /* got a (logical) line from Devconfig */
234 * given a file pointer and buffer, construct logical line in buffer
235 * (i.e., concatenate lines ending in '\'). return length of line
240 getaline(f, line)
242 char *line;
245 lptr = line;
246 while (fgets(lptr, (line + BUFSIZ) - lptr, f) != NULL) {
249 /* empty buf or line too long! */
252 if ( lend == line ) /* empty line - ignore */
260 return(lptr - line);
265 * and a line: if line begins with the label and if the name appears
270 namematch(label, line, name)
271 char *label, *line, *name;
274 if (strncmp(label, line, strlen(label)) != SAME) {
275 return(FALSE); /* probably a comment line */
277 line += strlen(label);
278 if (*line == '\0')
286 while ((lend = strchr(line, ':')) != NULL) {
288 if (strcmp(line, name) == SAME)
290 line = lend+1;
292 return(strcmp(line, name) == SAME);
315 * look at top token in array: should be line of the form
322 { char **line, *equals;
327 for (line = tokens; (line - tokens) < NTOKENS && *line; line++) {
328 equals = strchr(*line, '=');
335 if (strcmp(*line, "systems") == SAME)
337 else if (strcmp(*line, "devices") == SAME)
339 else if (strcmp(*line, "dialers") == SAME)
341 else if (strcmp(*line, "pop") == SAME)
343 else if (strcmp(*line, "push") == SAME)
345 else if (strcmp(*line, "connecttime") == SAME)
347 else if (strcmp(*line, "expecttime") == SAME)
349 else if (strcmp(*line, "msgtime") == SAME)
352 (void)sprintf(errformat,"unrecognized label %s",*line);
361 * and a line of colon-separated files, add 'em to list
365 setfile(type, line)
366 char **type, *line;
370 if (*line == 0)
376 for (tok = strtok(line, ":"); tok != NULL;
395 * and a line of colon-separated modules, add 'em to list
399 setioctl(type, line)
400 char **type, *line;
403 if (*line == 0)
408 for (tok = strtok(line, ":"); tok != NULL;
459 * get next line from Systems file
472 /* initialize devices and dialers whenever a new line is read */
517 * get next line from Devices file
567 * get next line from Dialers file
752 /* got a (logical) line from Config file */