Lines Matching refs:filespec
90 char *filespec; member
402 if (strcmp(prf->filespec, default_filename) == 0) in profile_set_default()
439 (syntax_err_cb)(prf->filespec, retval, in profile_set_default()
460 errcode_t profile_open_file(const char * filespec, in profile_open_file() argument
475 len = strlen(filespec)+1; in profile_open_file()
476 if (filespec[0] == '~' && filespec[1] == '/') { in profile_open_file()
507 strcat(expanded_filename, filespec+1); in profile_open_file()
509 memcpy(expanded_filename, filespec, len); in profile_open_file()
511 prf->filespec = expanded_filename; in profile_open_file()
513 if (strcmp(prf->filespec, default_filename) != 0) { in profile_open_file()
548 if (stat(prf->filespec, &st)) { in profile_update_file()
577 f = fopen(prf->filespec, "r"); in profile_update_file()
591 (syntax_err_cb)(prf->filespec, retval, in profile_update_file()
611 free(prf->filespec); in profile_free_file()