diff options
Diffstat (limited to 'rpc/xdr/src/cli1-xdr.h')
-rw-r--r-- | rpc/xdr/src/cli1-xdr.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/rpc/xdr/src/cli1-xdr.h b/rpc/xdr/src/cli1-xdr.h index 436bf986d47..56a5f4802ff 100644 --- a/rpc/xdr/src/cli1-xdr.h +++ b/rpc/xdr/src/cli1-xdr.h @@ -632,6 +632,25 @@ struct gf1_cli_heal_vol_rsp { }; typedef struct gf1_cli_heal_vol_rsp gf1_cli_heal_vol_rsp; +struct gf1_cli_statedump_vol_req { + char *volname; + char *options; + int option_cnt; +}; +typedef struct gf1_cli_statedump_vol_req gf1_cli_statedump_vol_req; + +struct gf1_cli_statedump_vol_rsp { + int op_ret; + int op_errno; + char *volname; + char *op_errstr; + struct { + u_int dict_len; + char *dict_val; + } dict; +}; +typedef struct gf1_cli_statedump_vol_rsp gf1_cli_statedump_vol_rsp; + /* the xdr functions */ #if defined(__STDC__) || defined(__cplusplus) @@ -707,6 +726,8 @@ extern bool_t xdr_gf1_cli_umount_req (XDR *, gf1_cli_umount_req*); extern bool_t xdr_gf1_cli_umount_rsp (XDR *, gf1_cli_umount_rsp*); extern bool_t xdr_gf1_cli_heal_vol_req (XDR *, gf1_cli_heal_vol_req*); extern bool_t xdr_gf1_cli_heal_vol_rsp (XDR *, gf1_cli_heal_vol_rsp*); +extern bool_t xdr_gf1_cli_statedump_vol_req (XDR *, gf1_cli_statedump_vol_req*); +extern bool_t xdr_gf1_cli_statedump_vol_rsp (XDR *, gf1_cli_statedump_vol_rsp*); #else /* K&R C */ extern bool_t xdr_gf_cli_defrag_type (); @@ -781,6 +802,8 @@ extern bool_t xdr_gf1_cli_umount_req (); extern bool_t xdr_gf1_cli_umount_rsp (); extern bool_t xdr_gf1_cli_heal_vol_req (); extern bool_t xdr_gf1_cli_heal_vol_rsp (); +extern bool_t xdr_gf1_cli_statedump_vol_req (); +extern bool_t xdr_gf1_cli_statedump_vol_rsp (); #endif /* K&R C */ |