blob: 2c32a103998e2902a55756401ad37cabd88ec026 [file] [log] [blame]
Daniel Veillard50cdab52012-07-16 14:52:00 +08001/*
Daniel Veillard28cc42d2012-08-10 10:00:18 +08002 * Summary: Internal Interfaces for saving in libxml2
3 * Description: this module describes a few interfaces which were
4 * addded along with the API changes in 2.9.0
5 * those are private routines at this point
Daniel Veillard50cdab52012-07-16 14:52:00 +08006 *
Daniel Veillard28cc42d2012-08-10 10:00:18 +08007 * Copy: See Copyright for the status of this software.
Daniel Veillard50cdab52012-07-16 14:52:00 +08008 *
Daniel Veillard28cc42d2012-08-10 10:00:18 +08009 * Author: Daniel Veillard
Daniel Veillard50cdab52012-07-16 14:52:00 +080010 */
11
12#ifndef __XML_SAVE_H__
13#define __XML_SAVE_H__
14
15#include <libxml/tree.h>
16
17#ifdef __cplusplus
18extern "C" {
19#endif
20
Daniel Veillard28cc42d2012-08-10 10:00:18 +080021#ifdef LIBXML_OUTPUT_ENABLED
Daniel Veillard50cdab52012-07-16 14:52:00 +080022void xmlBufAttrSerializeTxtContent(xmlBufPtr buf, xmlDocPtr doc,
23 xmlAttrPtr attr, const xmlChar * string);
24void xmlBufDumpNotationTable(xmlBufPtr buf, xmlNotationTablePtr table);
25void xmlBufDumpElementDecl(xmlBufPtr buf, xmlElementPtr elem);
26void xmlBufDumpAttributeDecl(xmlBufPtr buf, xmlAttributePtr attr);
27void xmlBufDumpEntityDecl(xmlBufPtr buf, xmlEntityPtr ent);
Daniel Veillard7d4c5292012-09-05 11:45:32 +080028xmlChar *xmlEncodeAttributeEntities(xmlDocPtr doc, const xmlChar *input);
Daniel Veillard28cc42d2012-08-10 10:00:18 +080029#endif
Daniel Veillard50cdab52012-07-16 14:52:00 +080030
31#ifdef __cplusplus
32}
33#endif
34#endif /* __XML_SAVE_H__ */
35