Just mad a function public:
- htmlTree.[ch] xmlIO.h: exported htmlDocContentDumpOutput
Daniel
diff --git a/ChangeLog b/ChangeLog
index 4a5fbe4..10d232b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Sun Jan 21 10:47:38 CET 2001 Daniel Veillard <Daniel.Veillard@imag.fr>
+
+ * htmlTree.[ch] xmlIO.h: exported htmlDocContentDumpOutput
+
Fri Jan 19 18:15:50 CET 2001 Daniel Veillard <Daniel.Veillard@imag.fr>
* xpath.c: seems I finally killed that ugly path evaluation
diff --git a/HTMLtree.c b/HTMLtree.c
index 82687ac..efd47c3 100644
--- a/HTMLtree.c
+++ b/HTMLtree.c
@@ -937,7 +937,7 @@
*
* 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 2b5331c..543d693 100644
--- a/HTMLtree.h
+++ b/HTMLtree.h
@@ -48,6 +48,11 @@
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 2b5331c..543d693 100644
--- a/include/libxml/HTMLtree.h
+++ b/include/libxml/HTMLtree.h
@@ -48,6 +48,11 @@
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 eaf4022..ecff73b 100644
--- a/include/libxml/xmlIO.h
+++ b/include/libxml/xmlIO.h
@@ -157,7 +157,7 @@
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 @@
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 eaf4022..ecff73b 100644
--- a/xmlIO.h
+++ b/xmlIO.h
@@ -157,7 +157,7 @@
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 @@
int level,
int format,
const char *encoding);
+void htmlDocContentDumpOutput(xmlOutputBufferPtr buf,
+ xmlDocPtr cur,
+ const char *encoding);
#ifdef __cplusplus
}
#endif