From cb0352cd4f4748ee6e33bc64d2e2b09d09fe20eb Mon Sep 17 00:00:00 2001 From: Pranith Kumar K Date: Tue, 7 Sep 2010 04:03:31 +0000 Subject: cli: add script mode for gluster Signed-off-by: Pranith Kumar K Signed-off-by: Vijay Bellur BUG: 1554 (add script mode for gluster) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1554 --- cli/src/cli.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'cli/src/cli.h') diff --git a/cli/src/cli.h b/cli/src/cli.h index fdf53421f49..eaa638c29d6 100644 --- a/cli/src/cli.h +++ b/cli/src/cli.h @@ -39,6 +39,9 @@ enum argp_option_keys { ARGP_PORT_KEY = 'p', }; +enum gluster_mode { + GLUSTER_MODE_SCRIPT = 1 +}; struct cli_state; struct cli_cmd_word; struct cli_cmd_tree; @@ -96,6 +99,7 @@ struct cli_state { char **matchesp; int remote_port; + int mode; }; struct cli_local { -- cgit