aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGravatar Miklos Szeredi <miklos@szeredi.hu>2002-12-05 14:23:01 +0000
committerGravatar Miklos Szeredi <miklos@szeredi.hu>2002-12-05 14:23:01 +0000
commit0f48a2693f4259371e6438d6d83fae157e9f78e9 (patch)
tree457d07588d25a462a485dc7d0b5c8bf9445b0859 /include
parent5f0548192fc4df56e8b21c239f8f75479147e34a (diff)
fixes
Diffstat (limited to 'include')
-rw-r--r--include/fuse.h33
1 files changed, 24 insertions, 9 deletions
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.
*
@@ -136,6 +143,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.
*
* Requests from the kernel are processed, and the apropriate
@@ -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
*
@@ -160,15 +184,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
*
* The context is only valid for the duration of a filesystem