aboutsummaryrefslogtreecommitdiff
path: root/lib/fuse_kernel_compat5.h
blob: 49936dc50503a5f399e26d5fbf053cefb5ecb0dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
struct fuse_mkdir_in_compat5 {
	__u32	mode;
};

struct fuse_setattr_in_compat5 {
	__u32	valid;
	struct fuse_attr attr;
};

struct fuse_open_out_compat5 {
	__u64	fh;
	__u32	open_flags;
};

struct fuse_write_out_compat5 {
	__u32	size;
};

struct fuse_getxattr_out_compat5 {
	__u32	size;
};

struct fuse_in_header_compat5 {
	__u32	len;
	__u32	opcode;
	__u64	unique;
	__u64	nodeid;
	__u32	uid;
	__u32	gid;
	__u32	pid;
};

struct fuse_dirent_compat5 {
	__u64	ino;
	__u32	namelen;
	__u32	type;
	char name[0];
};

#define FUSE_NAME_OFFSET_COMPAT5 ((unsigned) ((struct fuse_dirent_compat5 *) 0)->name)