00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017 #ifndef __XML_C14N_H__
00018 #define __XML_C14N_H__
00019 #ifdef LIBXML_C14N_ENABLED
00020 #ifdef LIBXML_OUTPUT_ENABLED
00021
00022 #ifdef __cplusplus
00023 extern "C" {
00024 #endif
00025
00026 #include <libxml/xmlversion.h>
00027 #include <libxml/tree.h>
00028 #include <libxml/xpath.h>
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038
00039
00040
00041
00042
00043
00044
00045
00046
00047
00048
00049
00050
00051
00052
00053
00054
00055
00056 XMLPUBFUN int XMLCALL
00057 xmlC14NDocSaveTo (xmlDocPtr doc,
00058 xmlNodeSetPtr nodes,
00059 int exclusive,
00060 xmlChar **inclusive_ns_prefixes,
00061 int with_comments,
00062 xmlOutputBufferPtr buf);
00063
00064 XMLPUBFUN int XMLCALL
00065 xmlC14NDocDumpMemory (xmlDocPtr doc,
00066 xmlNodeSetPtr nodes,
00067 int exclusive,
00068 xmlChar **inclusive_ns_prefixes,
00069 int with_comments,
00070 xmlChar **doc_txt_ptr);
00071
00072 XMLPUBFUN int XMLCALL
00073 xmlC14NDocSave (xmlDocPtr doc,
00074 xmlNodeSetPtr nodes,
00075 int exclusive,
00076 xmlChar **inclusive_ns_prefixes,
00077 int with_comments,
00078 const char* filename,
00079 int compression);
00080
00081
00085 typedef int (*xmlC14NIsVisibleCallback) (void* user_data,
00086 xmlNodePtr node,
00087 xmlNodePtr parent);
00088
00089 XMLPUBFUN int XMLCALL
00090 xmlC14NExecute (xmlDocPtr doc,
00091 xmlC14NIsVisibleCallback is_visible_callback,
00092 void* user_data,
00093 int exclusive,
00094 xmlChar **inclusive_ns_prefixes,
00095 int with_comments,
00096 xmlOutputBufferPtr buf);
00097
00098 #ifdef __cplusplus
00099 }
00100 #endif
00101
00102 #endif
00103 #endif
00104 #endif
00105