projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added files in src/output
[pspp]
/
src
/
filename.h
diff --git
a/src/filename.h
b/src/filename.h
index 499e693bc42ce370b02fb2dbcbbfe6dbfaa93795..46cdd7c532ba82a67815f5fca4dddf9ea3e03db3 100644
(file)
--- a/
src/filename.h
+++ b/
src/filename.h
@@
-14,8
+14,8
@@
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
- Foundation, Inc., 5
9 Temple Place - Suite 330
, Boston, MA
- 0211
1-1307
, USA. */
+ Foundation, Inc., 5
1 Franklin Street, Fifth Floor
, Boston, MA
+ 0211
0-1301
, USA. */
#if !filename_h
#define filename_h 1
#if !filename_h
#define filename_h 1
@@
-35,6
+35,7
@@
char *fn_prepend_dir (const char *filename, const char *directory);
char *fn_normalize (const char *fn);
char *fn_dirname (const char *fn);
char *fn_basename (const char *fn);
char *fn_normalize (const char *fn);
char *fn_dirname (const char *fn);
char *fn_basename (const char *fn);
+char *fn_extension (const char *fn);
char *fn_get_cwd (void);
char *fn_get_cwd (void);
@@
-48,6
+49,11
@@
const char *fn_getenv_default (const char *variable, const char *def);
FILE *fn_open (const char *fn, const char *mode);
int fn_close (const char *fn, FILE *file);
FILE *fn_open (const char *fn, const char *mode);
int fn_close (const char *fn, FILE *file);
+
+struct file_identity *fn_get_identity (const char *filename);
+void fn_free_identity (struct file_identity *);
+int fn_compare_file_identities (const struct file_identity *,
+ const struct file_identity *);
\f
/* Extended file routines. */
struct file_ext;
\f
/* Extended file routines. */
struct file_ext;