From 0f48a2693f4259371e6438d6d83fae157e9f78e9 Mon Sep 17 00:00:00 2001 From: Miklos Szeredi Date: Thu, 5 Dec 2002 14:23:01 +0000 Subject: fixes --- include/fuse.h | 33 ++++++++++++++++++++++++--------- 1 file changed, 24 insertions(+), 9 deletions(-) (limited to 'include/fuse.h') diff --git a/include/fuse.h b/include/fuse.h index 68f8eec..28d5f3b 100644 --- a/include/fuse.h +++ b/include/fuse.h @@ -125,6 +125,13 @@ extern "C" { */ int fuse_mount(const char *mountpoint, const char *args[]); +/* + * Umount a FUSE mountpoint + * + * @param mountpoint the mount point path + */ +void fuse_unmount(const char *mountpoint); + /** * Create a new FUSE filesystem. * @@ -135,6 +142,15 @@ int fuse_mount(const char *mountpoint, const char *args[]); */ struct fuse *fuse_new(int fd, int flags, const struct fuse_operations *op); +/** + * Destroy the FUSE handle. + * + * The filesystem is not unmounted. + * + * @param f the FUSE handle + */ +void fuse_destroy(struct fuse *f); + /** * FUSE event loop. * @@ -145,6 +161,14 @@ struct fuse *fuse_new(int fd, int flags, const struct fuse_operations *op); */ void fuse_loop(struct fuse *f); + +/** + * Exit from event loop + * + * @param f the FUSE handle + */ +void fuse_exit(struct fuse *f); + /** * FUSE event loop with multiple threads * @@ -159,15 +183,6 @@ void fuse_loop(struct fuse *f); */ void fuse_loop_mt(struct fuse *f); -/** - * Destroy the FUSE handle. - * - * The filesystem is not unmounted. - * - * @param f the FUSE handle - */ -void fuse_destroy(struct fuse *f); - /** * Get the current context * -- cgit v1.2.3