diff options
Diffstat (limited to 'rpc/xdr/src/cli1-xdr.x')
-rw-r--r-- | rpc/xdr/src/cli1-xdr.x | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/rpc/xdr/src/cli1-xdr.x b/rpc/xdr/src/cli1-xdr.x index 129f5f971ab..5697310ad7d 100644 --- a/rpc/xdr/src/cli1-xdr.x +++ b/rpc/xdr/src/cli1-xdr.x @@ -103,6 +103,19 @@ enum gf1_cli_top_op { GF_CLI_TOP_WRITE_PERF }; +/* The unconventional hex numbers help us perform + bit-wise operations which reduces complexity */ +enum gf_cli_status_type { + GF_CLI_STATUS_NONE = 0x0000, + GF_CLI_STATUS_VOL = 0x0100, + GF_CLI_STATUS_ALL = 0x0200, + GF_CLI_STATUS_BRICK = 0x0400, + GF_CLI_STATUS_DETAIL = 0x0800, + GF_CLI_STATUS_VOL_DETAIL = 0x0900, + GF_CLI_STATUS_ALL_DETAIL = 0x0A00, + GF_CLI_STATUS_BRICK_DETAIL = 0x0C00 +}; + struct gf_cli_req { opaque dict<>; } ; |