diff options
Diffstat (limited to 'xlators/protocol/lib/src/glusterfs3.x')
-rw-r--r-- | xlators/protocol/lib/src/glusterfs3.x | 42 |
1 files changed, 33 insertions, 9 deletions
diff --git a/xlators/protocol/lib/src/glusterfs3.x b/xlators/protocol/lib/src/glusterfs3.x index b6cc6e6abad..c9510527c27 100644 --- a/xlators/protocol/lib/src/glusterfs3.x +++ b/xlators/protocol/lib/src/glusterfs3.x @@ -491,10 +491,40 @@ struct gfs3_finodelk_req { unsigned hyper offset; unsigned int size; }; -struct gfs3_readdir_res { +struct gfs3_dirlist { + unsigned hyper d_ino; + unsigned hyper d_off; + unsigned int d_len; + unsigned int d_type; + char *name; + struct gfs3_dirlist *nextentry; +}; + +struct gfs3_readdir_rsp { unsigned hyper gfs_id; - opaque buf<>; -} ; + int op_ret; + int op_errno; + struct gfs3_dirlist reply; +}; + + + +struct gfs3_dirplist { + unsigned hyper d_ino; + unsigned hyper d_off; + unsigned int d_len; + unsigned int d_type; + char *name; + struct gf_iatt name_attributes; + struct gfs3_dirplist *nextentry; +}; + +struct gfs3_readdirp_rsp { + unsigned hyper gfs_id; + int op_ret; + int op_errno; + struct gfs3_dirlistp reply; +}; struct gfs3_readdirp_req { @@ -505,12 +535,6 @@ struct gfs3_readdir_res { unsigned hyper offset; unsigned int size; } ; - struct gfs3_readdirp_rsp { - unsigned hyper gfs_id; - int op_ret; - int op_errno; - opaque buf<>; -} ; struct gf_setvolume_req { |