summaryrefslogtreecommitdiffstats
path: root/cli/src/cli.h
diff options
context:
space:
mode:
Diffstat (limited to 'cli/src/cli.h')
-rw-r--r--cli/src/cli.h17
1 files changed, 5 insertions, 12 deletions
diff --git a/cli/src/cli.h b/cli/src/cli.h
index 854c609d2ca..9efabfe589d 100644
--- a/cli/src/cli.h
+++ b/cli/src/cli.h
@@ -39,14 +39,6 @@ enum argp_option_keys {
ARGP_PORT_KEY = 'p',
};
-typedef enum replace_brick_cmd {
- REPLACE_BRICK_START,
- REPLACE_BRICK_PAUSE,
- REPLACE_BRICK_ABORT,
- REPLACE_BRICK_STATUS,
- REPLACE_BRICK_COMMIT,
-} replace_brick_cmd_t;
-
struct cli_state;
struct cli_cmd_word;
struct cli_cmd_tree;
@@ -129,10 +121,8 @@ struct cli_local {
} defrag_vol;
struct {
- char *volume;
- replace_brick_cmd_t op;
- char *src_brick;
- char *dst_brick;
+ char *volname;
+ dict_t *dict;
} replace_brick;
} u;
};
@@ -186,6 +176,9 @@ cli_cmd_volume_replace_brick_parse (const char **words, int wordcount,
cli_local_t * cli_local_get ();
+void
+cli_local_wipe (cli_local_t *local);
+
int32_t
cli_cmd_await_connected ();