summaryrefslogtreecommitdiffstats
path: root/cli/src/cli.h
diff options
context:
space:
mode:
authorAmar Tumballi <amar@gluster.com>2010-07-09 03:14:13 +0000
committerAnand V. Avati <avati@dev.gluster.com>2010-07-12 06:39:36 -0700
commitce8cee660a5cda88ea58e362be01e50cbccfff27 (patch)
treea8e7b3346096c9f7774db83025653589f9be0722 /cli/src/cli.h
parent9563c51ddeedee87a1d71defc20c0a7f06f24d23 (diff)
provide a port option for gluster command line
Signed-off-by: Amar Tumballi <amar@gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 971 (dynamic volume management) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=971
Diffstat (limited to 'cli/src/cli.h')
-rw-r--r--cli/src/cli.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/cli/src/cli.h b/cli/src/cli.h
index c532babf4..a53b6a9e1 100644
--- a/cli/src/cli.h
+++ b/cli/src/cli.h
@@ -34,6 +34,7 @@
enum argp_option_keys {
ARGP_DEBUG_KEY = 133,
+ ARGP_PORT_KEY = 'p',
};
struct cli_state;
@@ -89,6 +90,8 @@ struct cli_state {
/* autocompletion state */
char **matches;
char **matchesp;
+
+ int remote_port;
};