From a7795fedd4ee2ed7de2dce89fd782ae20b03f6a4 Mon Sep 17 00:00:00 2001 From: Vijay Bellur Date: Mon, 26 Jul 2010 12:10:08 +0000 Subject: cli: Changes to provide proper exit status for gluster commandline Signed-off-by: Vijay Bellur Signed-off-by: Anand V. Avati BUG: 1205 () URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1205 --- cli/src/cli.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'cli/src/cli.h') diff --git a/cli/src/cli.h b/cli/src/cli.h index 140a1af1..c31b4631 100644 --- a/cli/src/cli.h +++ b/cli/src/cli.h @@ -167,4 +167,14 @@ cli_cmd_volume_replace_brick_parse (const char **words, int wordcount, dict_t **options); cli_local_t * cli_local_get (); + +int32_t +cli_cmd_await_connected (); + +int32_t +cli_cmd_broadcast_connected (); + +int +cli_rpc_notify (struct rpc_clnt *rpc, void *mydata, rpc_clnt_event_t event, + void *data); #endif /* __CLI_H__ */ -- cgit