aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@src.gnome.org>2002-10-09 21:13:59 +0000
committerDaniel Veillard <veillard@src.gnome.org>2002-10-09 21:13:59 +0000
commit6045c90aefe11086aaf504415811f97f87e6f967 (patch)
tree93b6cd8c6e0d522fde91b2f423f87be4d9254a97 /include
parent595978c978070456dac57acff4dcfd9039af0ce4 (diff)
downloadandroid_external_libxml2-6045c90aefe11086aaf504415811f97f87e6f967.tar.gz
android_external_libxml2-6045c90aefe11086aaf504415811f97f87e6f967.tar.bz2
android_external_libxml2-6045c90aefe11086aaf504415811f97f87e6f967.zip
added xmlSchemaNewMemParserCtxt to parse a schemas from a memory area
* xmlschemas.c include/libxml/xmlschemas.h: added xmlSchemaNewMemParserCtxt to parse a schemas from a memory area * testSchemas.c: added --memory to test the new interface Daniel
Diffstat (limited to 'include')
-rw-r--r--include/libxml/xmlschemas.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/libxml/xmlschemas.h b/include/libxml/xmlschemas.h
index 6616c29b..6a9a26f4 100644
--- a/include/libxml/xmlschemas.h
+++ b/include/libxml/xmlschemas.h
@@ -73,7 +73,9 @@ typedef xmlSchemaValidCtxt *xmlSchemaValidCtxtPtr;
/*
* Interfaces for parsing.
*/
-xmlSchemaParserCtxtPtr xmlSchemaNewParserCtxt(const char *URL);
+xmlSchemaParserCtxtPtr xmlSchemaNewParserCtxt (const char *URL);
+xmlSchemaParserCtxtPtr xmlSchemaNewMemParserCtxt(const char *buffer,
+ int size);
void xmlSchemaFreeParserCtxt (xmlSchemaParserCtxtPtr ctxt);
void xmlSchemaSetParserErrors(xmlSchemaParserCtxtPtr ctxt,
xmlSchemaValidityErrorFunc err,