diff options
| author | Shehjar Tikoo <shehjart@gluster.com> | 2009-10-02 03:07:53 +0000 | 
|---|---|---|
| committer | Anand V. Avati <avati@dev.gluster.com> | 2009-10-06 06:34:46 -0700 | 
| commit | 55f55db6500835e95b324a2f28144c6a3dc55c62 (patch) | |
| tree | 027a754f40a6004d92ff0a72c18fd298cc063d88 /libglusterfs/src/protocol.h | |
| parent | 81cc40fee8b9cebcf5fc544c5d0c734fa7dfbb90 (diff) | |
core: Separate readdirp and readdir fops
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
BUG: 292 (Separate readdirp functionality from readdir fop)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=292
Diffstat (limited to 'libglusterfs/src/protocol.h')
| -rw-r--r-- | libglusterfs/src/protocol.h | 12 | 
1 files changed, 12 insertions, 0 deletions
diff --git a/libglusterfs/src/protocol.h b/libglusterfs/src/protocol.h index 59ebaf2bc08..f163d0ed4de 100644 --- a/libglusterfs/src/protocol.h +++ b/libglusterfs/src/protocol.h @@ -639,6 +639,18 @@ typedef struct {  } __attribute__((packed)) gf_fop_readdir_rsp_t; +typedef struct { +	uint64_t ino; +	int64_t  fd; +	uint64_t offset; +	uint32_t size; +} __attribute__((packed)) gf_fop_readdirp_req_t; +typedef struct { +	uint32_t size; +	char     buf[0]; +} __attribute__((packed)) gf_fop_readdirp_rsp_t; + +  typedef struct  {  	uint64_t ino;  	uint32_t mask;  | 
