aboutsummaryrefslogtreecommitdiffstats
path: root/epan/filesystem.h
diff options
context:
space:
mode:
Diffstat (limited to 'epan/filesystem.h')
-rw-r--r--epan/filesystem.h10
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 */