diff options
| author | Mike Hommey <glandium@debian.org> | 2009-03-01 10:55:27 +0100 |
|---|---|---|
| committer | Mike Hommey <glandium@debian.org> | 2009-03-01 10:55:27 +0100 |
| commit | e248b20a3b7df364cc9617b8685b4c190338bcd2 (patch) | |
| tree | f289c8584c4a44dd9cdb87003b193488da8b00f3 /include/libxml/parser.h | |
| parent | 0c8f97ec9edb09da2e0b19c4f9ddf8c725cebc59 (diff) | |
| download | libxml2-upstream/2.7.3.dfsg.tar.gz | |
Import upstream version 2.7.3upstream/2.7.3.dfsg
Diffstat (limited to 'include/libxml/parser.h')
| -rw-r--r-- | include/libxml/parser.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/include/libxml/parser.h b/include/libxml/parser.h index 24d5cf9..567addb 100644 --- a/include/libxml/parser.h +++ b/include/libxml/parser.h @@ -594,7 +594,7 @@ typedef void (*cdataBlockSAXFunc) ( * Display and format a warning messages, callback. */ typedef void (XMLCDECL *warningSAXFunc) (void *ctx, - const char *msg, ...); + const char *msg, ...) ATTRIBUTE_PRINTF(2,3); /** * errorSAXFunc: * @ctx: an XML parser context @@ -604,7 +604,7 @@ typedef void (XMLCDECL *warningSAXFunc) (void *ctx, * Display and format an error messages, callback. */ typedef void (XMLCDECL *errorSAXFunc) (void *ctx, - const char *msg, ...); + const char *msg, ...) ATTRIBUTE_PRINTF(2,3); /** * fatalErrorSAXFunc: * @ctx: an XML parser context @@ -616,7 +616,7 @@ typedef void (XMLCDECL *errorSAXFunc) (void *ctx, * get all the callbacks for errors. */ typedef void (XMLCDECL *fatalErrorSAXFunc) (void *ctx, - const char *msg, ...); + const char *msg, ...) ATTRIBUTE_PRINTF(2,3); /** * isStandaloneSAXFunc: * @ctx: the user data (XML parser context) @@ -1096,7 +1096,8 @@ typedef enum { crash if you try to modify the tree) */ XML_PARSE_OLD10 = 1<<17,/* parse using XML-1.0 before update 5 */ XML_PARSE_NOBASEFIX = 1<<18,/* do not fixup XINCLUDE xml:base uris */ - XML_PARSE_HUGE = 1<<19 /* relax any hardcoded limit from the parser */ + XML_PARSE_HUGE = 1<<19, /* relax any hardcoded limit from the parser */ + XML_PARSE_OLDSAX = 1<<20 /* parse using SAX2 interface from before 2.7.0 */ } xmlParserOption; XMLPUBFUN void XMLCALL |
