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