summaryrefslogtreecommitdiffstats
path: root/cli/src/cli.c
diff options
context:
space:
mode:
authorVijay Bellur <vijay@gluster.com>2010-07-25 00:38:01 +0000
committerAnand V. Avati <avati@dev.gluster.com>2010-07-25 23:29:53 -0700
commit931a59e2b9130c6e748f2b7193cd0c2ac5a557bf (patch)
tree2d7e8f31c6865176c3d619646dfcaf3c84abd011 /cli/src/cli.c
parentea294f8fd967e8fc6e77558ecf1ab4fd298b7c4f (diff)
DVM: bug fixes in cli and glusterd for probe, start volumev3.1.0qa2
Signed-off-by: Vijay Bellur <vijay@gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 1187 () URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1187
Diffstat (limited to 'cli/src/cli.c')
-rw-r--r--cli/src/cli.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/cli/src/cli.c b/cli/src/cli.c
index b31e9feda45..d70c67f8535 100644
--- a/cli/src/cli.c
+++ b/cli/src/cli.c
@@ -424,6 +424,16 @@ out:
return rpc;
}
+cli_local_t *
+cli_local_get ()
+{
+ cli_local_t *local = NULL;
+
+ local = GF_CALLOC (1, sizeof (*local), cli_mt_cli_local_t);
+
+ return local;
+}
+
struct cli_state *global_state;
int