diff options
Diffstat (limited to 'cli/src/cli.h')
-rw-r--r-- | cli/src/cli.h | 44 |
1 files changed, 6 insertions, 38 deletions
diff --git a/cli/src/cli.h b/cli/src/cli.h index 0a2fdb54b07..70310f103ed 100644 --- a/cli/src/cli.h +++ b/cli/src/cli.h @@ -116,44 +116,12 @@ struct cli_state { }; struct cli_local { - union { - struct { - dict_t *dict; - } create_vol; - - struct { - char *volname; - int flags; - } start_vol; - - struct { - char *volname; - int flags; - } stop_vol; - - struct { - char *volname; - } delete_vol; - - struct { - char *volname; - int cmd; - } defrag_vol; - - struct { - char *volname; - dict_t *dict; - } replace_brick; - - struct { - char *volname; - int flags; - } get_vol; - - struct { - char *volname; - }heal_vol; - } u; + struct { + char *volname; + int flags; + } get_vol; + + dict_t *dict; }; typedef struct cli_local cli_local_t; |