diff options
Diffstat (limited to 'include/fuse_common.h')
-rw-r--r-- | include/fuse_common.h | 19 |
1 files changed, 19 insertions, 0 deletions
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_ */ |