diff --git a/ChangeLog b/ChangeLog index bff2a754..34775036 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Wed Apr 9 14:07:18 CEST 2003 Daniel Veillard + + * HTMLparser.c include/libxml/HTMLparser.h: exported + htmlCreateMemoryParserCtxt() it was static + Wed Apr 9 13:21:48 CEST 2003 Daniel Veillard * xmlschemas.c xmlschemastypes.c include/libxml/xmlschemas.h: diff --git a/HTMLparser.c b/HTMLparser.c index 57fca745..86c575f0 100644 --- a/HTMLparser.c +++ b/HTMLparser.c @@ -4205,7 +4205,7 @@ htmlNewParserCtxt(void) * * Returns the new parser context or NULL */ -static htmlParserCtxtPtr +htmlParserCtxtPtr htmlCreateMemoryParserCtxt(const char *buffer, int size) { xmlParserCtxtPtr ctxt; xmlParserInputPtr input; diff --git a/include/libxml/HTMLparser.h b/include/libxml/HTMLparser.h index c6d8899c..1c90c0b5 100644 --- a/include/libxml/HTMLparser.h +++ b/include/libxml/HTMLparser.h @@ -90,6 +90,9 @@ const htmlEntityDesc * htmlParseEntityRef(htmlParserCtxtPtr ctxt, int htmlParseCharRef(htmlParserCtxtPtr ctxt); void htmlParseElement(htmlParserCtxtPtr ctxt); +htmlParserCtxtPtr htmlCreateMemoryParserCtxt(const char *buffer, + int size); + int htmlParseDocument(htmlParserCtxtPtr ctxt); htmlDocPtr htmlSAXParseDoc (xmlChar *cur, const char *encoding,