1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-08-08 17:42:14 +03:00

Just mad a function public:

- htmlTree.[ch] xmlIO.h: exported htmlDocContentDumpOutput
Daniel
This commit is contained in:
Daniel Veillard
2001-01-21 09:48:59 +00:00
parent 5a2b697af8
commit 701c736b96
6 changed files with 23 additions and 3 deletions

View File

@@ -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> Fri Jan 19 18:15:50 CET 2001 Daniel Veillard <Daniel.Veillard@imag.fr>
* xpath.c: seems I finally killed that ugly path evaluation * xpath.c: seems I finally killed that ugly path evaluation

View File

@@ -937,7 +937,7 @@ htmlNodeDumpOutput(xmlOutputBufferPtr buf, xmlDocPtr doc, xmlNodePtr cur, const
* *
* Dump an HTML document. * Dump an HTML document.
*/ */
static void void
htmlDocContentDumpOutput(xmlOutputBufferPtr buf, xmlDocPtr cur, const char *encoding) { htmlDocContentDumpOutput(xmlOutputBufferPtr buf, xmlDocPtr cur, const char *encoding) {
int type; int type;

View File

@@ -48,6 +48,11 @@ int htmlSaveFileEnc (const char *filename,
xmlDocPtr cur, xmlDocPtr cur,
const char *encoding); const char *encoding);
/* This one is imported from xmlIO.h
void htmlDocContentDumpOutput(xmlOutputBufferPtr buf,
xmlDocPtr cur,
const char *encoding);
*/
#ifdef __cplusplus #ifdef __cplusplus
} }
#endif #endif

View File

@@ -48,6 +48,11 @@ int htmlSaveFileEnc (const char *filename,
xmlDocPtr cur, xmlDocPtr cur,
const char *encoding); const char *encoding);
/* This one is imported from xmlIO.h
void htmlDocContentDumpOutput(xmlOutputBufferPtr buf,
xmlDocPtr cur,
const char *encoding);
*/
#ifdef __cplusplus #ifdef __cplusplus
} }
#endif #endif

View File

@@ -157,7 +157,7 @@ int xmlRegisterOutputCallbacks (xmlOutputMatchCallback match,
xmlOutputCloseCallback close); 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, int xmlSaveFileTo (xmlOutputBuffer *buf,
xmlDocPtr cur, xmlDocPtr cur,
@@ -168,6 +168,9 @@ void xmlNodeDumpOutput (xmlOutputBufferPtr buf,
int level, int level,
int format, int format,
const char *encoding); const char *encoding);
void htmlDocContentDumpOutput(xmlOutputBufferPtr buf,
xmlDocPtr cur,
const char *encoding);
#ifdef __cplusplus #ifdef __cplusplus
} }
#endif #endif

View File

@@ -157,7 +157,7 @@ int xmlRegisterOutputCallbacks (xmlOutputMatchCallback match,
xmlOutputCloseCallback close); 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, int xmlSaveFileTo (xmlOutputBuffer *buf,
xmlDocPtr cur, xmlDocPtr cur,
@@ -168,6 +168,9 @@ void xmlNodeDumpOutput (xmlOutputBufferPtr buf,
int level, int level,
int format, int format,
const char *encoding); const char *encoding);
void htmlDocContentDumpOutput(xmlOutputBufferPtr buf,
xmlDocPtr cur,
const char *encoding);
#ifdef __cplusplus #ifdef __cplusplus
} }
#endif #endif