Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(337)

Side by Side Diff: third_party/libxml/include/libxml/xmlsave.h

Issue 2951008: Update libxml to 2.7.7. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: Created 10 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Summary: the XML document serializer 2 * Summary: the XML document serializer
3 * Description: API to save document or subtree of document 3 * Description: API to save document or subtree of document
4 * 4 *
5 * Copy: See Copyright for the status of this software. 5 * Copy: See Copyright for the status of this software.
6 * 6 *
7 * Author: Daniel Veillard 7 * Author: Daniel Veillard
8 */ 8 */
9 9
10 #ifndef __XML_XMLSAVE_H__ 10 #ifndef __XML_XMLSAVE_H__
(...skipping 12 matching lines...) Expand all
23 /** 23 /**
24 * xmlSaveOption: 24 * xmlSaveOption:
25 * 25 *
26 * This is the set of XML save options that can be passed down 26 * This is the set of XML save options that can be passed down
27 * to the xmlSaveToFd() and similar calls. 27 * to the xmlSaveToFd() and similar calls.
28 */ 28 */
29 typedef enum { 29 typedef enum {
30 XML_SAVE_FORMAT = 1<<0, /* format save output */ 30 XML_SAVE_FORMAT = 1<<0, /* format save output */
31 XML_SAVE_NO_DECL = 1<<1, /* drop the xml declaration */ 31 XML_SAVE_NO_DECL = 1<<1, /* drop the xml declaration */
32 XML_SAVE_NO_EMPTY = 1<<2, /* no empty tags */ 32 XML_SAVE_NO_EMPTY = 1<<2, /* no empty tags */
33 XML_SAVE_NO_XHTML» = 1<<3 /* disable XHTML1 specific rules */ 33 XML_SAVE_NO_XHTML» = 1<<3, /* disable XHTML1 specific rules */
34 XML_SAVE_XHTML» = 1<<4, /* force XHTML1 specific rules */
35 XML_SAVE_AS_XML = 1<<5, /* force XML serialization on HTML doc */
36 XML_SAVE_AS_HTML = 1<<6 /* force HTML serialization on XML doc */
34 } xmlSaveOption; 37 } xmlSaveOption;
35 38
36 39
37 typedef struct _xmlSaveCtxt xmlSaveCtxt; 40 typedef struct _xmlSaveCtxt xmlSaveCtxt;
38 typedef xmlSaveCtxt *xmlSaveCtxtPtr; 41 typedef xmlSaveCtxt *xmlSaveCtxtPtr;
39 42
40 XMLPUBFUN xmlSaveCtxtPtr XMLCALL 43 XMLPUBFUN xmlSaveCtxtPtr XMLCALL
41 xmlSaveToFd (int fd, 44 xmlSaveToFd (int fd,
42 const char *encoding, 45 const char *encoding,
43 int options); 46 int options);
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 XMLPUBFUN int XMLCALL 78 XMLPUBFUN int XMLCALL
76 xmlSaveSetAttrEscape (xmlSaveCtxtPtr ctxt, 79 xmlSaveSetAttrEscape (xmlSaveCtxtPtr ctxt,
77 xmlCharEncodingOutputFunc escape); 80 xmlCharEncodingOutputFunc escape);
78 #ifdef __cplusplus 81 #ifdef __cplusplus
79 } 82 }
80 #endif 83 #endif
81 #endif /* LIBXML_OUTPUT_ENABLED */ 84 #endif /* LIBXML_OUTPUT_ENABLED */
82 #endif /* __XML_XMLSAVE_H__ */ 85 #endif /* __XML_XMLSAVE_H__ */
83 86
84 87
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698