diff options
author | Daniel Veillard <veillard@redhat.com> | 2012-07-16 14:52:00 +0800 |
---|---|---|
committer | Daniel Veillard <veillard@redhat.com> | 2012-07-23 14:24:27 +0800 |
commit | 50cdab555237a6f3eb9d0af6994508dd1021bf28 (patch) | |
tree | ae93526e276c341b11209f0d4d5276bc78867b7b /save.h | |
parent | dddeede060f7c01788274c4f5f006d4923f9a7aa (diff) | |
download | libxml2-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.h | 29 |
1 files changed, 29 insertions, 0 deletions
@@ -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__ */ + |