From 836ab71baf1a8da35a245500057a3a8bee1d769d Mon Sep 17 00:00:00 2001 From: Miklos Szeredi Date: Mon, 3 Oct 2005 14:11:59 +0000 Subject: fix --- include/fuse_common.h | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'include/fuse_common.h') diff --git a/include/fuse_common.h b/include/fuse_common.h index 2af3ce9..1cfbaf3 100644 --- a/include/fuse_common.h +++ b/include/fuse_common.h @@ -53,4 +53,23 @@ struct fuse_file_info { unsigned int keep_cache : 1; }; +/* + * Create a FUSE mountpoint + * + * Returns a control file descriptor suitable for passing to + * fuse_new() + * + * @param mountpoint the mount point path + * @param opts a comma separated list of mount options. Can be NULL. + * @return the control file descriptor on success, -1 on failure + */ +int fuse_mount(const char *mountpoint, const char *opts); + +/* + * Umount a FUSE mountpoint + * + * @param mountpoint the mount point path + */ +void fuse_unmount(const char *mountpoint); + #endif /* _FUSE_COMMON_H_ */ -- cgit v1.2.3