File indexing completed on 2026-09-12 09:14:53
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020 #ifndef __XML_C14N_H__
0021 #define __XML_C14N_H__
0022
0023 #include <libxml/xmlversion.h>
0024
0025 #ifdef LIBXML_C14N_ENABLED
0026
0027 #include <libxml/tree.h>
0028 #include <libxml/xpath.h>
0029
0030 #ifdef __cplusplus
0031 extern "C" {
0032 #endif
0033
0034
0035
0036
0037
0038
0039
0040
0041
0042
0043
0044
0045
0046
0047
0048
0049
0050
0051 typedef enum {
0052
0053 XML_C14N_1_0 = 0,
0054
0055 XML_C14N_EXCLUSIVE_1_0 = 1,
0056
0057 XML_C14N_1_1 = 2
0058 } xmlC14NMode;
0059
0060 XMLPUBFUN int
0061 xmlC14NDocSaveTo (xmlDoc *doc,
0062 xmlNodeSet *nodes,
0063 int mode,
0064 xmlChar **inclusive_ns_prefixes,
0065 int with_comments,
0066 xmlOutputBuffer *buf);
0067
0068 XMLPUBFUN int
0069 xmlC14NDocDumpMemory (xmlDoc *doc,
0070 xmlNodeSet *nodes,
0071 int mode,
0072 xmlChar **inclusive_ns_prefixes,
0073 int with_comments,
0074 xmlChar **doc_txt_ptr);
0075
0076 XMLPUBFUN int
0077 xmlC14NDocSave (xmlDoc *doc,
0078 xmlNodeSet *nodes,
0079 int mode,
0080 xmlChar **inclusive_ns_prefixes,
0081 int with_comments,
0082 const char* filename,
0083 int compression);
0084
0085
0086
0087
0088
0089
0090
0091
0092
0093
0094
0095
0096
0097 typedef int (*xmlC14NIsVisibleCallback) (void* user_data,
0098 xmlNode *node,
0099 xmlNode *parent);
0100
0101 XMLPUBFUN int
0102 xmlC14NExecute (xmlDoc *doc,
0103 xmlC14NIsVisibleCallback is_visible_callback,
0104 void* user_data,
0105 int mode,
0106 xmlChar **inclusive_ns_prefixes,
0107 int with_comments,
0108 xmlOutputBuffer *buf);
0109
0110 #ifdef __cplusplus
0111 }
0112 #endif
0113
0114 #endif
0115 #endif
0116