diff options
Diffstat (limited to 'libglusterfs/src/protocol.h')
| -rw-r--r-- | libglusterfs/src/protocol.h | 23 | 
1 files changed, 23 insertions, 0 deletions
diff --git a/libglusterfs/src/protocol.h b/libglusterfs/src/protocol.h index 82e42cfb180..35f172ab7b4 100644 --- a/libglusterfs/src/protocol.h +++ b/libglusterfs/src/protocol.h @@ -397,6 +397,17 @@ typedef struct {  } __attribute__((packed)) gf_fop_setxattr_req_t;  typedef struct { } __attribute__((packed)) gf_fop_setxattr_rsp_t; + +typedef struct { +        uint64_t ino; +	int64_t  fd; +	uint32_t flags; +	uint32_t dict_len; +	char     dict[0]; +} __attribute__((packed)) gf_fop_fsetxattr_req_t; +typedef struct { } __attribute__((packed)) gf_fop_fsetxattr_rsp_t; + +  typedef struct {  	uint64_t ino;  	uint32_t flags; @@ -438,6 +449,18 @@ typedef struct {  typedef struct { +        uint64_t ino; +	int64_t  fd; +        uint32_t namelen; +	char     name[0]; +} __attribute__((packed)) gf_fop_fgetxattr_req_t; +typedef struct { +	uint32_t dict_len; +	char     dict[0]; +} __attribute__((packed)) gf_fop_fgetxattr_rsp_t; + + +typedef struct {  	uint64_t ino;  	char     path[0];  	char     name[0];  | 
