- parser.c xmlIO.[ch]: fixed the problem of encoding support
when using in memory parsing. Need some cleanup.
- xmllint.c configure.in: added a --memory flag to test memory
parsing
Daniel
diff --git a/xmlIO.h b/xmlIO.h
index 5289367..b966c4a 100644
--- a/xmlIO.h
+++ b/xmlIO.h
@@ -84,6 +84,9 @@
xmlParserInputBufferCreateFd (int fd,
xmlCharEncoding enc);
xmlParserInputBufferPtr
+ xmlParserInputBufferCreateMem (const char *mem, int size,
+ xmlCharEncoding enc);
+xmlParserInputBufferPtr
xmlParserInputBufferCreateIO (xmlInputReadCallback ioread,
xmlInputCloseCallback ioclose,
void *ioctx,