diff options
Diffstat (limited to 'rpc')
-rw-r--r-- | rpc/xdr/src/cli1.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/rpc/xdr/src/cli1.h b/rpc/xdr/src/cli1.h index 2b7c2c65c..96b511bfe 100644 --- a/rpc/xdr/src/cli1.h +++ b/rpc/xdr/src/cli1.h @@ -25,9 +25,13 @@ #include "cli1-xdr.h" -#define GF_DEFRAG_CMD_START 1 -#define GF_DEFRAG_CMD_STOP 2 -#define GF_DEFRAG_CMD_STATUS 3 +enum gf_cli_defrag_type { + GF_DEFRAG_CMD_START = 1, + GF_DEFRAG_CMD_STOP, + GF_DEFRAG_CMD_STATUS, + GF_DEFRAG_CMD_START_LAYOUT_FIX, + GF_DEFRAG_CMD_START_MIGRATE_DATA, +}; ssize_t gf_xdr_serialize_cli_probe_rsp (struct iovec outmsg, void *rsp); |