From 50f5255a44870863e4a9b6bcb7a62b5319fefd62 Mon Sep 17 00:00:00 2001 From: Nikolaus Rath Date: Sun, 2 Oct 2016 10:26:40 -0700 Subject: Introduce separate mount/umount functions for low-level API. --- lib/fuse.c | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'lib/fuse.c') diff --git a/lib/fuse.c b/lib/fuse.c index f934747..e17b6b3 100644 --- a/lib/fuse.c +++ b/lib/fuse.c @@ -4836,3 +4836,13 @@ void fuse_destroy(struct fuse *f) free(f); fuse_delete_context_key(); } + +struct fuse_chan *fuse_mount(const char *mountpoint, struct fuse_args *args) +{ + return fuse_session_mount(mountpoint, args); +} + +void fuse_unmount(const char *mountpoint, struct fuse_chan *ch) +{ + fuse_session_unmount(mountpoint, ch); +} -- cgit v1.2.3