diff options
Diffstat (limited to 'include/fuse.h')
-rw-r--r-- | include/fuse.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/fuse.h b/include/fuse.h index 7b63c42..24e04bc 100644 --- a/include/fuse.h +++ b/include/fuse.h @@ -1219,6 +1219,16 @@ typedef struct fuse_fs *(*fuse_module_factory_t)(struct fuse_args *args, /** Get session from fuse object */ struct fuse_session *fuse_get_session(struct fuse *f); +/** + * Open a FUSE file descriptor and set up the mount for the given + * mountpoint and flags. + * + * @param mountpoint reference to the mount in the file system + * @param options mount options + * @return the FUSE file descriptor or -1 upon error + */ +int fuse_open_channel(const char *mountpoint, const char *options); + #ifdef __cplusplus } #endif |