From 901ba842cd6c42ff24e0539a1b8231b3e802e1ce Mon Sep 17 00:00:00 2001 From: Csaba Henk Date: Tue, 11 Aug 2009 18:26:11 -0700 Subject: bring in fusermount --- contrib/fuse-util/mount_util.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 contrib/fuse-util/mount_util.h (limited to 'contrib/fuse-util/mount_util.h') diff --git a/contrib/fuse-util/mount_util.h b/contrib/fuse-util/mount_util.h new file mode 100644 index 00000000000..cf54d9d0d02 --- /dev/null +++ b/contrib/fuse-util/mount_util.h @@ -0,0 +1,17 @@ +/* + FUSE: Filesystem in Userspace + Copyright (C) 2001-2007 Miklos Szeredi + + This program can be distributed under the terms of the GNU LGPLv2. + See the file COPYING.LIB. +*/ + +#include + +int fuse_mnt_add_mount(const char *progname, const char *fsname, + const char *mnt, const char *type, const char *opts); +int fuse_mnt_umount(const char *progname, const char *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, off_t rootsize); +int fuse_mnt_check_fuseblk(void); -- cgit