Home | History | Annotate | Download | only in radius

Lines Matching refs:FILE

11  * See the file COPYRIGHT for the respective terms and conditions.
12 * If the file is missing contact me at lf@elemental.net
181 * Purpose: read the global config file
188 FILE *configfd;
312 char *file;
327 error("%s: no servers file specified", filename);
348 file = rc_conf_str("login_local");
349 if (stat(file, &st) == 0)
352 error("%s: not a regular file: %s", filename, file);
356 error("%s: file not found: %s", filename, file);
359 file = rc_conf_str("login_radius");
360 if (stat(file, &st) == 0)
363 error("%s: not a regular file: %s", filename, file);
367 error("%s: file not found: %s", filename, file);
444 * Purpose: search a server in the servers file
455 FILE *clientfd;
466 if ((clientfd = fopen (rc_conf_str("servers"), "r")) == (FILE *) NULL)
468 error("rc_find_server: couldn't open file: %m: %s", rc_conf_str("servers"));