aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorMiklos Szeredi <miklos@szeredi.hu>2004-03-30 15:17:26 +0000
committerMiklos Szeredi <miklos@szeredi.hu>2004-03-30 15:17:26 +0000
commit3ed84231ec6d4a66a5b20db355eb6e9585e9edc5 (patch)
treeb5f1bb251e0af63d3986d05db89ef38f99cb6022 /include/linux
parent98667e21f5657c7f4031523dc675c352825855d1 (diff)
downloadlibfuse-3ed84231ec6d4a66a5b20db355eb6e9585e9edc5.tar.gz
EA operations added
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/fuse.h53
1 files changed, 33 insertions, 20 deletions
diff --git a/include/linux/fuse.h b/include/linux/fuse.h
index d5fd357..f641271 100644
--- a/include/linux/fuse.h
+++ b/include/linux/fuse.h
@@ -94,26 +94,30 @@ struct fuse_kstatfs {
#define FATTR_CTIME (1 << 6)
enum fuse_opcode {
- FUSE_LOOKUP = 1,
- FUSE_FORGET = 2, /* no reply */
- FUSE_GETATTR = 3,
- FUSE_SETATTR = 4,
- FUSE_READLINK = 5,
- FUSE_SYMLINK = 6,
- FUSE_GETDIR = 7,
- FUSE_MKNOD = 8,
- FUSE_MKDIR = 9,
- FUSE_UNLINK = 10,
- FUSE_RMDIR = 11,
- FUSE_RENAME = 12,
- FUSE_LINK = 13,
- FUSE_OPEN = 14,
- FUSE_READ = 15,
- FUSE_WRITE = 16,
- FUSE_STATFS = 17,
- FUSE_RELEASE = 18, /* no reply */
- FUSE_INVALIDATE = 19, /* user initiated */
- FUSE_FSYNC = 20
+ FUSE_LOOKUP = 1,
+ FUSE_FORGET = 2, /* no reply */
+ FUSE_GETATTR = 3,
+ FUSE_SETATTR = 4,
+ FUSE_READLINK = 5,
+ FUSE_SYMLINK = 6,
+ FUSE_GETDIR = 7,
+ FUSE_MKNOD = 8,
+ FUSE_MKDIR = 9,
+ FUSE_UNLINK = 10,
+ FUSE_RMDIR = 11,
+ FUSE_RENAME = 12,
+ FUSE_LINK = 13,
+ FUSE_OPEN = 14,
+ FUSE_READ = 15,
+ FUSE_WRITE = 16,
+ FUSE_STATFS = 17,
+ FUSE_RELEASE = 18, /* no reply */
+ FUSE_INVALIDATE = 19, /* user initiated */
+ FUSE_FSYNC = 20,
+ FUSE_SETXATTR = 21,
+ FUSE_GETXATTR = 22,
+ FUSE_LISTXATTR = 23,
+ FUSE_REMOVEXATTR = 24,
};
/* Conservative buffer size for the client */
@@ -188,6 +192,15 @@ struct fuse_fsync_in {
int datasync;
};
+struct fuse_setxattr_in {
+ unsigned int size;
+ unsigned int flags;
+};
+
+struct fuse_getlistxattr_in {
+ unsigned int size;
+};
+
struct fuse_in_header {
int unique;
enum fuse_opcode opcode;