add packaging
[platform/upstream/libxml2.git] / save.h
1 /*
2  * 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
6  *
7  * Copy: See Copyright for the status of this software.
8  *
9  * Author: Daniel Veillard
10  */
11
12 #ifndef __XML_SAVE_H__
13 #define __XML_SAVE_H__
14
15 #include <libxml/tree.h>
16
17 #ifdef __cplusplus
18 extern "C" {
19 #endif
20
21 #ifdef LIBXML_OUTPUT_ENABLED
22 void xmlBufAttrSerializeTxtContent(xmlBufPtr buf, xmlDocPtr doc,
23                                    xmlAttrPtr attr, const xmlChar * string);
24 void xmlBufDumpNotationTable(xmlBufPtr buf, xmlNotationTablePtr table);
25 void xmlBufDumpElementDecl(xmlBufPtr buf, xmlElementPtr elem);
26 void xmlBufDumpAttributeDecl(xmlBufPtr buf, xmlAttributePtr attr);
27 void xmlBufDumpEntityDecl(xmlBufPtr buf, xmlEntityPtr ent);
28 xmlChar *xmlEncodeAttributeEntities(xmlDocPtr doc, const xmlChar *input);
29 #endif
30
31 #ifdef __cplusplus
32 }
33 #endif
34 #endif /* __XML_SAVE_H__ */
35