diff options
author | Csaba Henk <csaba.henk@creo.hu> | 2006-03-01 09:40:35 +0000 |
---|---|---|
committer | Csaba Henk <csaba.henk@creo.hu> | 2006-03-01 09:40:35 +0000 |
commit | ee588c01dca3991807aea456a66246ff8ad0c332 (patch) | |
tree | 495e5e37dc07b9049df2650a5866eaf80d7d145d /include | |
parent | aa8258e9fb887d45c0a5754f158015e035ce37bc (diff) | |
download | libfuse-ee588c01dca3991807aea456a66246ff8ad0c332.tar.gz |
pass device file descriptor to fuse_unmount
Diffstat (limited to 'include')
-rw-r--r-- | include/fuse.h | 1 | ||||
-rw-r--r-- | include/fuse_common.h | 3 | ||||
-rw-r--r-- | include/fuse_compat.h | 2 |
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> |