mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-07-29 11:41:22 +03:00
- parser.c parser.h parserInternals.h: fixed a couple of
interfaces for handling memory buffer input to const char * upon suggestion of JamesH. Daniel
This commit is contained in:
@ -1,3 +1,9 @@
|
||||
Wed May 16 12:55:48 CEST 2001 Daniel Veillard <Daniel.Veillard@imag.fr>
|
||||
|
||||
* parser.c parser.h parserInternals.h: fixed a couple of
|
||||
interfaces for handling memory buffer input to const char *
|
||||
upon suggestion of JamesH.
|
||||
|
||||
Tue May 15 17:22:27 CEST 2001 Daniel Veillard <Daniel.Veillard@imag.fr>
|
||||
|
||||
* configure.in: LoTR sent a patch fixing the previous commit
|
||||
|
@ -402,7 +402,7 @@ int xmlSAXUserParseFile (xmlSAXHandlerPtr sax,
|
||||
const char *filename);
|
||||
int xmlSAXUserParseMemory (xmlSAXHandlerPtr sax,
|
||||
void *user_data,
|
||||
char *buffer,
|
||||
const char *buffer,
|
||||
int size);
|
||||
xmlDocPtr xmlSAXParseMemory (xmlSAXHandlerPtr sax,
|
||||
char *buffer,
|
||||
|
@ -137,7 +137,7 @@ int xmlIsChar (int c);
|
||||
*/
|
||||
xmlParserCtxtPtr xmlCreateDocParserCtxt (xmlChar *cur);
|
||||
xmlParserCtxtPtr xmlCreateFileParserCtxt (const char *filename);
|
||||
xmlParserCtxtPtr xmlCreateMemoryParserCtxt(char *buffer,
|
||||
xmlParserCtxtPtr xmlCreateMemoryParserCtxt(const char *buffer,
|
||||
int size);
|
||||
xmlParserCtxtPtr xmlNewParserCtxt (void);
|
||||
xmlParserCtxtPtr xmlCreateEntityParserCtxt(const xmlChar *URL,
|
||||
|
4
parser.c
4
parser.c
@ -9630,7 +9630,7 @@ xmlSAXUserParseFile(xmlSAXHandlerPtr sax, void *user_data,
|
||||
* Returns the new parser context or NULL
|
||||
*/
|
||||
xmlParserCtxtPtr
|
||||
xmlCreateMemoryParserCtxt(char *buffer, int size) {
|
||||
xmlCreateMemoryParserCtxt(const char *buffer, int size) {
|
||||
xmlParserCtxtPtr ctxt;
|
||||
xmlParserInputPtr input;
|
||||
xmlParserInputBufferPtr buf;
|
||||
@ -9745,7 +9745,7 @@ xmlDocPtr xmlRecoverMemory(char *buffer, int size) {
|
||||
* Returns 0 in case of success or a error number otherwise
|
||||
*/
|
||||
int xmlSAXUserParseMemory(xmlSAXHandlerPtr sax, void *user_data,
|
||||
char *buffer, int size) {
|
||||
const char *buffer, int size) {
|
||||
int ret = 0;
|
||||
xmlParserCtxtPtr ctxt;
|
||||
xmlSAXHandlerPtr oldsax = NULL;
|
||||
|
2
parser.h
2
parser.h
@ -402,7 +402,7 @@ int xmlSAXUserParseFile (xmlSAXHandlerPtr sax,
|
||||
const char *filename);
|
||||
int xmlSAXUserParseMemory (xmlSAXHandlerPtr sax,
|
||||
void *user_data,
|
||||
char *buffer,
|
||||
const char *buffer,
|
||||
int size);
|
||||
xmlDocPtr xmlSAXParseMemory (xmlSAXHandlerPtr sax,
|
||||
char *buffer,
|
||||
|
@ -137,7 +137,7 @@ int xmlIsChar (int c);
|
||||
*/
|
||||
xmlParserCtxtPtr xmlCreateDocParserCtxt (xmlChar *cur);
|
||||
xmlParserCtxtPtr xmlCreateFileParserCtxt (const char *filename);
|
||||
xmlParserCtxtPtr xmlCreateMemoryParserCtxt(char *buffer,
|
||||
xmlParserCtxtPtr xmlCreateMemoryParserCtxt(const char *buffer,
|
||||
int size);
|
||||
xmlParserCtxtPtr xmlNewParserCtxt (void);
|
||||
xmlParserCtxtPtr xmlCreateEntityParserCtxt(const xmlChar *URL,
|
||||
|
Reference in New Issue
Block a user