From 56e984e3a255e439e32ac32e131fd79aa61fad0f Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Sun, 16 Sep 2007 17:02:20 +0000 Subject: Add callback for informational messaging (with variable severity, a la syslog) Use it to log interesting things during parsing. This needs to grow some i18n at some point. svn path=/trunk/dom/; revision=3540 --- bindings/xml/xmlparser.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bindings/xml/xmlparser.h') diff --git a/bindings/xml/xmlparser.h b/bindings/xml/xmlparser.h index e8cff7e..d9eb240 100644 --- a/bindings/xml/xmlparser.h +++ b/bindings/xml/xmlparser.h @@ -20,7 +20,7 @@ typedef struct xml_parser xml_parser; /* Create an XML parser instance */ xml_parser *xml_parser_create(const char *enc, const char *int_enc, - xml_alloc alloc, void *pw); + xml_alloc alloc, void *pw, xml_msg msg, void *mctx); /* Destroy an XML parser instance */ void xml_parser_destroy(xml_parser *parser); -- cgit v1.2.3