summaryrefslogtreecommitdiffstats
path: root/cli/src/cli.h
diff options
context:
space:
mode:
authorRajesh Joseph <rjoseph@redhat.com>2015-08-26 08:28:59 +0530
committerRajesh Joseph <rjoseph@redhat.com>2015-08-31 23:40:52 -0700
commiteb33931e4f7f57af87e307d36baba5084cd97da8 (patch)
treee406f7ece21f42a0bc47db191fd6a1730b6db59b /cli/src/cli.h
parentc00872cbff0ec2d7472d7c191e817f4e55f4ec9f (diff)
gluster/cli: snapshot delete all does not work with xml
Backport of http://review.gluster.org/#/c/12027/ Problem: snapshot delete all command fails with --xml option Fix: Provided xml support for delete all command Change-Id: I77cad131473a9160e188c783f442b6a38a37f758 BUG: 1258113 Signed-off-by: Rajesh Joseph <rjoseph@redhat.com> Reviewed-on: http://review.gluster.org/12027 Tested-by: NetBSD Build System <jenkins@build.gluster.org> Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Avra Sengupta <asengupt@redhat.com> (cherry picked from commit fd47635a4ffab621a2357c99cd1edd0482940bd5) Reviewed-on: http://review.gluster.org/12042
Diffstat (limited to 'cli/src/cli.h')
-rw-r--r--cli/src/cli.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/cli/src/cli.h b/cli/src/cli.h
index d831af049cc..a971d02ca2f 100644
--- a/cli/src/cli.h
+++ b/cli/src/cli.h
@@ -428,6 +428,24 @@ int
cli_xml_output_vol_status_tasks_detail (cli_local_t *local, dict_t *dict);
int
+cli_xml_output_common (xmlTextWriterPtr writer, int op_ret, int op_errno,
+ char *op_errstr);
+int
+cli_xml_snapshot_delete (xmlTextWriterPtr writer, xmlDocPtr doc, dict_t *dict,
+ gf_cli_rsp *rsp);
+int
+cli_xml_snapshot_begin_composite_op (cli_local_t *local);
+
+int
+cli_xml_snapshot_end_composite_op (cli_local_t *local);
+
+int
+cli_xml_output_snap_delete_begin (cli_local_t *local, int op_ret, int op_errno,
+ char *op_errstr);
+int
+cli_xml_output_snap_delete_end (cli_local_t *local);
+
+int
cli_xml_output_snap_status_begin (cli_local_t *local, int op_ret, int op_errno,
char *op_errstr);
int