summaryrefslogtreecommitdiff
path: root/save.h
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@redhat.com>2012-07-16 14:52:00 +0800
committerDaniel Veillard <veillard@redhat.com>2012-07-23 14:24:27 +0800
commit50cdab555237a6f3eb9d0af6994508dd1021bf28 (patch)
treeae93526e276c341b11209f0d4d5276bc78867b7b /save.h
parentdddeede060f7c01788274c4f5f006d4923f9a7aa (diff)
downloadlibxml2-50cdab555237a6f3eb9d0af6994508dd1021bf28.tar.gz
New saving functions using xmlBuf and conversion
* save.h: new header providing new functions currently internal and xmlBuf counterparts of old xmlBuffer based ones * xmlsave.c: convert functions to use xmlBuf as much as possible
Diffstat (limited to 'save.h')
-rw-r--r--save.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/save.h b/save.h
new file mode 100644
index 00000000..26cc51d1
--- /dev/null
+++ b/save.h
@@ -0,0 +1,29 @@
+/*
+ * save.h: Internal Interfaces for saving
+ *
+ * See Copyright for the status of this software.
+ *
+ * daniel@veillard.com
+ */
+
+#ifndef __XML_SAVE_H__
+#define __XML_SAVE_H__
+
+#include <libxml/tree.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+void xmlBufAttrSerializeTxtContent(xmlBufPtr buf, xmlDocPtr doc,
+ xmlAttrPtr attr, const xmlChar * string);
+void xmlBufDumpNotationTable(xmlBufPtr buf, xmlNotationTablePtr table);
+void xmlBufDumpElementDecl(xmlBufPtr buf, xmlElementPtr elem);
+void xmlBufDumpAttributeDecl(xmlBufPtr buf, xmlAttributePtr attr);
+void xmlBufDumpEntityDecl(xmlBufPtr buf, xmlEntityPtr ent);
+
+#ifdef __cplusplus
+}
+#endif
+#endif /* __XML_SAVE_H__ */
+