diff options
Diffstat (limited to 'rpc/xdr/src/cli1-xdr.h')
-rw-r--r-- | rpc/xdr/src/cli1-xdr.h | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/rpc/xdr/src/cli1-xdr.h b/rpc/xdr/src/cli1-xdr.h index e725e525785..2219b054740 100644 --- a/rpc/xdr/src/cli1-xdr.h +++ b/rpc/xdr/src/cli1-xdr.h @@ -270,6 +270,7 @@ struct gf1_cli_replace_brick_rsp { int op_ret; int op_errno; char *volname; + char *status; }; typedef struct gf1_cli_replace_brick_rsp gf1_cli_replace_brick_rsp; @@ -291,45 +292,44 @@ typedef struct gf1_cli_set_vol_rsp gf1_cli_set_vol_rsp; struct gf1_cli_log_filename_req { char *volname; - char *brick; - char *path; + char *brick; + char *path; }; typedef struct gf1_cli_log_filename_req gf1_cli_log_filename_req; struct gf1_cli_log_filename_rsp { int op_ret; int op_errno; - char *errstr; + char *errstr; }; typedef struct gf1_cli_log_filename_rsp gf1_cli_log_filename_rsp; struct gf1_cli_log_locate_req { char *volname; - char *brick; + char *brick; }; typedef struct gf1_cli_log_locate_req gf1_cli_log_locate_req; struct gf1_cli_log_locate_rsp { int op_ret; int op_errno; - char *path; + char *path; }; typedef struct gf1_cli_log_locate_rsp gf1_cli_log_locate_rsp; struct gf1_cli_log_rotate_req { char *volname; - char *brick; + char *brick; }; typedef struct gf1_cli_log_rotate_req gf1_cli_log_rotate_req; struct gf1_cli_log_rotate_rsp { int op_ret; int op_errno; - char *errstr; + char *errstr; }; typedef struct gf1_cli_log_rotate_rsp gf1_cli_log_rotate_rsp; - /* the xdr functions */ #if defined(__STDC__) || defined(__cplusplus) @@ -373,7 +373,6 @@ extern bool_t xdr_gf1_cli_log_locate_rsp (XDR *, gf1_cli_log_locate_rsp*); extern bool_t xdr_gf1_cli_log_rotate_req (XDR *, gf1_cli_log_rotate_req*); extern bool_t xdr_gf1_cli_log_rotate_rsp (XDR *, gf1_cli_log_rotate_rsp*); - #else /* K&R C */ extern bool_t xdr_gf1_cluster_type (); extern bool_t xdr_gf1_cli_replace_op (); |