diff options
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/fuse.h | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/include/linux/fuse.h b/include/linux/fuse.h new file mode 100644 index 000000000000..2b1f4ae01e9d --- /dev/null +++ b/include/linux/fuse.h | |||
| @@ -0,0 +1,38 @@ | |||
| 1 | /* | ||
| 2 | FUSE: Filesystem in Userspace | ||
| 3 | Copyright (C) 2001-2005 Miklos Szeredi <miklos@szeredi.hu> | ||
| 4 | |||
| 5 | This program can be distributed under the terms of the GNU GPL. | ||
| 6 | See the file COPYING. | ||
| 7 | */ | ||
| 8 | |||
| 9 | /* This file defines the kernel interface of FUSE */ | ||
| 10 | |||
| 11 | #include <asm/types.h> | ||
| 12 | |||
| 13 | /** Version number of this interface */ | ||
| 14 | #define FUSE_KERNEL_VERSION 5 | ||
| 15 | |||
| 16 | /** Minor version number of this interface */ | ||
| 17 | #define FUSE_KERNEL_MINOR_VERSION 1 | ||
| 18 | |||
| 19 | /** The node ID of the root inode */ | ||
| 20 | #define FUSE_ROOT_ID 1 | ||
| 21 | |||
| 22 | struct fuse_attr { | ||
| 23 | __u64 ino; | ||
| 24 | __u64 size; | ||
| 25 | __u64 blocks; | ||
| 26 | __u64 atime; | ||
| 27 | __u64 mtime; | ||
| 28 | __u64 ctime; | ||
| 29 | __u32 atimensec; | ||
| 30 | __u32 mtimensec; | ||
| 31 | __u32 ctimensec; | ||
| 32 | __u32 mode; | ||
| 33 | __u32 nlink; | ||
| 34 | __u32 uid; | ||
| 35 | __u32 gid; | ||
| 36 | __u32 rdev; | ||
| 37 | }; | ||
| 38 | |||
