summaryrefslogtreecommitdiff
path: root/xps/muxps.h
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2012-11-24 15:34:00 +0100
committerRobin Watts <robin.watts@artifex.com>2012-11-26 12:49:49 +0000
commit11032ab74abc9f74161a7c2d138e894c7a7854da (patch)
treeedb49e82ec5a23a301f8c28a38fd613818b763d0 /xps/muxps.h
parentf132f5df437b0fbdef73899943da56ae810f9f1f (diff)
downloadmupdf-11032ab74abc9f74161a7c2d138e894c7a7854da.tar.xz
xps: Move XML parser into fitz namespace.
Diffstat (limited to 'xps/muxps.h')
-rw-r--r--xps/muxps.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/xps/muxps.h b/xps/muxps.h
index f342283e..c784a01a 100644
--- a/xps/muxps.h
+++ b/xps/muxps.h
@@ -10,17 +10,17 @@ typedef struct xps_page_s xps_page;
* XML document model
*/
-typedef struct element xml_element;
-
-xml_element *xml_parse_document(fz_context *doc, unsigned char *buf, int len);
-xml_element *xml_next(xml_element *item);
-xml_element *xml_down(xml_element *item);
-char *xml_tag(xml_element *item);
-char *xml_att(xml_element *item, const char *att);
-char *xml_text(xml_element *item);
-void xml_free_element(fz_context *doc, xml_element *item);
-void xml_print_element(xml_element *item, int level);
-void xml_detach(xml_element *node);
+typedef struct fz_xml_s fz_xml;
+
+fz_xml *fz_parse_xml(fz_context *doc, unsigned char *buf, int len);
+fz_xml *fz_xml_next(fz_xml *item);
+fz_xml *fz_xml_down(fz_xml *item);
+char *fz_xml_tag(fz_xml *item);
+char *fz_xml_att(fz_xml *item, const char *att);
+char *fz_xml_text(fz_xml *item);
+void fz_free_xml(fz_context *doc, fz_xml *item);
+void fz_print_xml(fz_xml *item, int level);
+void fz_detach_xml(fz_xml *node);
/*
xps_open_document: Open a document.