summaryrefslogtreecommitdiffstats
path: root/cli/src/cli.h
diff options
context:
space:
mode:
authorPranith Kumar K <pranithk@gluster.com>2010-09-07 04:03:31 +0000
committerVijay Bellur <vijay@dev.gluster.com>2010-09-07 07:45:50 -0700
commitcb0352cd4f4748ee6e33bc64d2e2b09d09fe20eb (patch)
tree933e86e16cce120e4c3197668b310c36c1feade8 /cli/src/cli.h
parent406e42973feeae6b78626f2db19971dc8f79c25f (diff)
cli: add script mode for gluster
Signed-off-by: Pranith Kumar K <pranithk@gluster.com> Signed-off-by: Vijay Bellur <vijay@dev.gluster.com> BUG: 1554 (add script mode for gluster) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1554
Diffstat (limited to 'cli/src/cli.h')
-rw-r--r--cli/src/cli.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/cli/src/cli.h b/cli/src/cli.h
index fdf53421f..eaa638c29 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 {