actually, below two structures are good enough for handling all our cli <--> glusterd communications, and that makes the code look more simple. ---- struct cli_req { opaque dict<>; }; struct cli_rsp { int32_t op_ret; int32_t op_errno; string op_errstr; opaque dict<>; }; ----
CHANGE: http://review.gluster.com/662 (By using only 1 xdr struct for request and 1 xdr struct for response,) merged in master by Vijay Bellur (vijay)