X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fdata%2Ffile-name.h;h=8e04d36a926dffb80618b236f60cf7e4309d802b;hb=01e18746832583769419e3f59824b80229321275;hp=5564280bf45a3b4b0404fd2a58692a8c3915fbf0;hpb=e1fb96f07a06f3133f54702ed8706493989789fe;p=pspp diff --git a/src/data/file-name.h b/src/data/file-name.h index 5564280bf4..8e04d36a92 100644 --- a/src/data/file-name.h +++ b/src/data/file-name.h @@ -1,5 +1,5 @@ /* PSPP - a program for statistical analysis. - Copyright (C) 1997-9, 2000 Free Software Foundation, Inc. + Copyright (C) 1997-9, 2000, 2009, 2010 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -19,18 +19,11 @@ #include #include -#include #include -/* Search path for configuration files. */ -extern const char *config_path; +struct string_set; -void fn_init (void); - -void fn_interp_vars (struct substring src, - const char *(*getenv) (const char *), - struct string *dst); -char *fn_search_path (const char *base_name, const char *path); +char *fn_search_path (const char *base_name, char **path); char *fn_dir_name (const char *fn); char *fn_extension (const char *fn); @@ -50,5 +43,8 @@ struct file_identity *fn_get_identity (const char *file_name); void fn_free_identity (struct file_identity *); int fn_compare_file_identities (const struct file_identity *, const struct file_identity *); +unsigned int fn_hash_identity (const struct file_identity *); + +const char * default_output_path (void); #endif /* file-name.h */