aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/fuse.h1
-rw-r--r--include/fuse_common.h3
-rw-r--r--include/fuse_compat.h2
3 files changed, 5 insertions, 1 deletions
diff --git a/include/fuse.h b/include/fuse.h
index b6ecaef..6c0bb72 100644
--- a/include/fuse.h
+++ b/include/fuse.h
@@ -562,6 +562,7 @@ void fuse_set_getcontext_func(struct fuse_context *(*func)(void));
# define fuse_operations fuse_operations_compat22
# define fuse_file_info fuse_file_info_compat22
# define fuse_mount fuse_mount_compat22
+# define fuse_unmount fuse_unmount_compat22
# else
# define fuse_dirfil_t fuse_dirfil_t_compat
# define __fuse_read_cmd fuse_read_cmd
diff --git a/include/fuse_common.h b/include/fuse_common.h
index 191b6f9..f05d237 100644
--- a/include/fuse_common.h
+++ b/include/fuse_common.h
@@ -91,8 +91,9 @@ int fuse_mount(const char *mountpoint, struct fuse_args *args);
* Umount a FUSE mountpoint
*
* @param mountpoint the mount point path
+ * @param the control file descriptor
*/
-void fuse_unmount(const char *mountpoint);
+void fuse_unmount(const char *mountpoint, int fd);
/**
* Parse common options
diff --git a/include/fuse_compat.h b/include/fuse_compat.h
index 97f7b12..ef7ff67 100644
--- a/include/fuse_compat.h
+++ b/include/fuse_compat.h
@@ -62,6 +62,8 @@ struct fuse *fuse_setup_compat25(int argc, char *argv[],
size_t op_size, char **mountpoint,
int *multithreaded, int *fd);
+void fuse_unmount_compat22(const char *mountpoint);
+
#ifndef __FreeBSD__
#include <sys/statfs.h>