summaryrefslogtreecommitdiffstats
path: root/cli/src/cli.h
diff options
context:
space:
mode:
authorRajesh Joseph <rjoseph@redhat.com>2014-05-05 13:37:34 +0530
committerVijay Bellur <vbellur@redhat.com>2014-07-12 09:50:25 -0700
commit656e6b38189d14c440a46d4d69b5ddfc5d8cfffc (patch)
tree6c8b5c8125258816b18e79cd0e342014892d4cbe /cli/src/cli.h
parent99685f18f190a73f2a46478cac0b09f4c59834b1 (diff)
cli/snapshot: provide --xml support for all snapshot command
Now --xml option can be used with all snapshot command. It will form the cli output in xml form. Change-Id: Ifc0ac31d2a9f91e136e87f3b51a629df7dba94e8 BUG: 1096610 Signed-off-by: Rajesh Joseph <rjoseph@redhat.com> Reviewed-on: http://review.gluster.org/7663 Reviewed-by: Sachin Pandit <spandit@redhat.com> Reviewed-by: Vijaikumar Mallikarjuna <vmallika@redhat.com> Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Vijay Bellur <vbellur@redhat.com>
Diffstat (limited to 'cli/src/cli.h')
-rw-r--r--cli/src/cli.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/cli/src/cli.h b/cli/src/cli.h
index a1a78eca2bc..74d35992680 100644
--- a/cli/src/cli.h
+++ b/cli/src/cli.h
@@ -388,6 +388,17 @@ cli_xml_output_vol_gsync (dict_t *dict, int op_ret, int op_errno,
int
cli_xml_output_vol_status_tasks_detail (cli_local_t *local, dict_t *dict);
+int
+cli_xml_output_snap_status_begin (cli_local_t *local, int op_ret, int op_errno,
+ char *op_errstr);
+int
+cli_xml_output_snap_status_end (cli_local_t *local);
+int
+cli_xml_snapshot_status_per_snap (xmlTextWriterPtr writer, xmlDocPtr doc,
+ dict_t *dict, const char *keyprefix);
+int
+cli_xml_output_snapshot (int cmd_type, dict_t *dict, int op_ret,
+ int op_errno, char *op_errstr);
char *
is_server_debug_xlator (void *myframe);