diff options
Diffstat (limited to 'include/fuse_common.h')
-rw-r--r-- | include/fuse_common.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/include/fuse_common.h b/include/fuse_common.h index 9bbc386..fb18b61 100644 --- a/include/fuse_common.h +++ b/include/fuse_common.h @@ -94,6 +94,21 @@ struct fuse_file_info { #define FUSE_CAP_BIG_WRITES (1 << 5) /** + * Ioctl flags + * + * FUSE_IOCTL_COMPAT: 32bit compat ioctl on 64bit machine + * FUSE_IOCTL_UNRESTRICTED: not restricted to well-formed ioctls, retry allowed + * FUSE_IOCTL_RETRY: retry with new iovecs + * + * FUSE_IOCTL_MAX_IOV: maximum of in_iovecs + out_iovecs + */ +#define FUSE_IOCTL_COMPAT (1 << 0) +#define FUSE_IOCTL_UNRESTRICTED (1 << 1) +#define FUSE_IOCTL_RETRY (1 << 2) + +#define FUSE_IOCTL_MAX_IOV 256 + +/** * Connection information, passed to the ->init() method * * Some of the elements are read-write, these can be changed to |