diff options
author | Miklos Szeredi <miklos@szeredi.hu> | 2005-10-03 14:11:59 +0000 |
---|---|---|
committer | Miklos Szeredi <miklos@szeredi.hu> | 2005-10-03 14:11:59 +0000 |
commit | 836ab71baf1a8da35a245500057a3a8bee1d769d (patch) | |
tree | 8099e41972d049839eeed4006b632a5bc5b7a050 /include/fuse_common.h | |
parent | 807d8efd4ab406f3755428531d76ad235cc63957 (diff) |
fix
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_ */ |