summaryrefslogtreecommitdiffstats
path: root/fuse/mount_util.h
diff options
context:
space:
mode:
Diffstat (limited to 'fuse/mount_util.h')
-rw-r--r--fuse/mount_util.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/fuse/mount_util.h b/fuse/mount_util.h
new file mode 100644
index 000000000..f89c1154d
--- /dev/null
+++ b/fuse/mount_util.h
@@ -0,0 +1,19 @@
+/*
+ FUSE: Filesystem in Userspace
+ Copyright (C) 2001-2007 Miklos Szeredi <miklos@szeredi.hu>
+
+ This program can be distributed under the terms of the GNU LGPLv2.
+ See the file COPYING.LIB.
+*/
+
+#include <sys/types.h>
+
+int fuse_mnt_add_mount(const char *progname, const char *fsname,
+ const char *mnt, const char *type, const char *opts);
+int fuse_mnt_remove_mount(const char *progname, const char *mnt);
+int fuse_mnt_umount(const char *progname, const char *abs_mnt,
+ const char *rel_mnt, int lazy);
+char *fuse_mnt_resolve_path(const char *progname, const char *orig);
+int fuse_mnt_check_empty(const char *progname, const char *mnt,
+ mode_t rootmode, off64_t rootsize);
+int fuse_mnt_check_fuseblk(void);