summaryrefslogtreecommitdiff
path: root/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'common.h')
-rw-r--r--common.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/common.h b/common.h
index 58119a6..3b779a5 100644
--- a/common.h
+++ b/common.h
@@ -24,6 +24,12 @@ void sstrncat(char *, const char *, int);
/* Safe version of strdup() */
char *sstrdup(const char *s);
+/* Test whether two file names are for the same device */
+int devcmp(const char *mtab_dev, char *user_dev);
+
+/* Test whether two file names are for the same directory */
+int dircmp(char *mtab_dir, char *user_dir);
+
/* Print version string */
void version(void);