diff --git a/ChangeLog b/ChangeLog index 4a5fbe4a..10d232bc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Sun Jan 21 10:47:38 CET 2001 Daniel Veillard + + * htmlTree.[ch] xmlIO.h: exported htmlDocContentDumpOutput + Fri Jan 19 18:15:50 CET 2001 Daniel Veillard * xpath.c: seems I finally killed that ugly path evaluation diff --git a/HTMLtree.c b/HTMLtree.c index 82687aca..efd47c31 100644 --- a/HTMLtree.c +++ b/HTMLtree.c @@ -937,7 +937,7 @@ htmlNodeDumpOutput(xmlOutputBufferPtr buf, xmlDocPtr doc, xmlNodePtr cur, const * * Dump an HTML document. */ -static void +void htmlDocContentDumpOutput(xmlOutputBufferPtr buf, xmlDocPtr cur, const char *encoding) { int type; diff --git a/HTMLtree.h b/HTMLtree.h index 2b5331c6..543d693d 100644 --- a/HTMLtree.h +++ b/HTMLtree.h @@ -48,6 +48,11 @@ int htmlSaveFileEnc (const char *filename, xmlDocPtr cur, const char *encoding); +/* This one is imported from xmlIO.h +void htmlDocContentDumpOutput(xmlOutputBufferPtr buf, + xmlDocPtr cur, + const char *encoding); + */ #ifdef __cplusplus } #endif diff --git a/include/libxml/HTMLtree.h b/include/libxml/HTMLtree.h index 2b5331c6..543d693d 100644 --- a/include/libxml/HTMLtree.h +++ b/include/libxml/HTMLtree.h @@ -48,6 +48,11 @@ int htmlSaveFileEnc (const char *filename, xmlDocPtr cur, const char *encoding); +/* This one is imported from xmlIO.h +void htmlDocContentDumpOutput(xmlOutputBufferPtr buf, + xmlDocPtr cur, + const char *encoding); + */ #ifdef __cplusplus } #endif diff --git a/include/libxml/xmlIO.h b/include/libxml/xmlIO.h index eaf4022a..ecff73bc 100644 --- a/include/libxml/xmlIO.h +++ b/include/libxml/xmlIO.h @@ -157,7 +157,7 @@ int xmlRegisterOutputCallbacks (xmlOutputMatchCallback match, xmlOutputCloseCallback close); /* - * This save function is part of tree.h actually + * This save function are part of tree.h and HTMLtree.h actually */ int xmlSaveFileTo (xmlOutputBuffer *buf, xmlDocPtr cur, @@ -168,6 +168,9 @@ void xmlNodeDumpOutput (xmlOutputBufferPtr buf, int level, int format, const char *encoding); +void htmlDocContentDumpOutput(xmlOutputBufferPtr buf, + xmlDocPtr cur, + const char *encoding); #ifdef __cplusplus } #endif diff --git a/xmlIO.h b/xmlIO.h index eaf4022a..ecff73bc 100644 --- a/xmlIO.h +++ b/xmlIO.h @@ -157,7 +157,7 @@ int xmlRegisterOutputCallbacks (xmlOutputMatchCallback match, xmlOutputCloseCallback close); /* - * This save function is part of tree.h actually + * This save function are part of tree.h and HTMLtree.h actually */ int xmlSaveFileTo (xmlOutputBuffer *buf, xmlDocPtr cur, @@ -168,6 +168,9 @@ void xmlNodeDumpOutput (xmlOutputBufferPtr buf, int level, int format, const char *encoding); +void htmlDocContentDumpOutput(xmlOutputBufferPtr buf, + xmlDocPtr cur, + const char *encoding); #ifdef __cplusplus } #endif