Lines Matching refs:filespec
92 char *filespec; member
405 if (strcmp(prf->filespec, default_filename) == 0) in profile_set_default()
442 (syntax_err_cb)(prf->filespec, retval, in profile_set_default()
463 errcode_t profile_open_file(const char * filespec, in profile_open_file() argument
478 len = strlen(filespec)+1; in profile_open_file()
479 if (filespec[0] == '~' && filespec[1] == '/') { in profile_open_file()
510 strcat(expanded_filename, filespec+1); in profile_open_file()
512 memcpy(expanded_filename, filespec, len); in profile_open_file()
514 prf->filespec = expanded_filename; in profile_open_file()
516 if (strcmp(prf->filespec, default_filename) != 0) { in profile_open_file()
551 if (stat(prf->filespec, &st)) { in profile_update_file()
580 f = fopen(prf->filespec, "r"); in profile_update_file()
594 (syntax_err_cb)(prf->filespec, retval, in profile_update_file()
614 free(prf->filespec); in profile_free_file()