diff options
author | Ulf Lamping <ulf.lamping@web.de> | 2005-04-12 21:12:19 +0000 |
---|---|---|
committer | Ulf Lamping <ulf.lamping@web.de> | 2005-04-12 21:12:19 +0000 |
commit | 6e38159c2510c2066016feea205762ec0efc2f15 (patch) | |
tree | a2eac1fece65fae26087bca17cdc0d32cc11e656 /epan/filesystem.h | |
parent | 4929e662b80446be8b350f507e4e26e12a9a026e (diff) | |
download | wireshark-6e38159c2510c2066016feea205762ec0efc2f15.tar.gz wireshark-6e38159c2510c2066016feea205762ec0efc2f15.tar.bz2 wireshark-6e38159c2510c2066016feea205762ec0efc2f15.zip |
add functions file_exists and file_identical to filesystem.c (coming from file.c)
svn path=/trunk/; revision=14057
Diffstat (limited to 'epan/filesystem.h')
-rw-r--r-- | epan/filesystem.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/epan/filesystem.h b/epan/filesystem.h index d965c26300..534cfe384a 100644 --- a/epan/filesystem.h +++ b/epan/filesystem.h @@ -127,4 +127,14 @@ char *file_open_error_message(int err, gboolean for_writing); */ char *file_write_error_message(int err); +/* + * Check, if file is existing. + */ +extern gboolean file_exists(const char *fname); + +/* + * Check, if two filenames are identical (with absolute and relative paths). + */ +extern gboolean files_identical(const char *fname1, const char *fname2); + #endif /* FILESYSTEM_H */ |