From 02ea1414959a523a3dbb224324f26243b6b3dd02 Mon Sep 17 00:00:00 2001 From: Daniel Veillard Date: Wed, 9 Apr 2003 12:08:47 +0000 Subject: [PATCH] exported htmlCreateMemoryParserCtxt() it was static Daniel * HTMLparser.c include/libxml/HTMLparser.h: exported htmlCreateMemoryParserCtxt() it was static Daniel --- ChangeLog | 5 +++++ HTMLparser.c | 2 +- include/libxml/HTMLparser.h | 3 +++ 3 files changed, 9 insertions(+), 1 deletion(-) 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,