summaryrefslogtreecommitdiff
path: root/bindings/xml/xmlparser.h
diff options
context:
space:
mode:
Diffstat (limited to 'bindings/xml/xmlparser.h')
-rw-r--r--bindings/xml/xmlparser.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/bindings/xml/xmlparser.h b/bindings/xml/xmlparser.h
index 1e1edd7..66557e5 100644
--- a/bindings/xml/xmlparser.h
+++ b/bindings/xml/xmlparser.h
@@ -17,12 +17,12 @@
typedef struct dom_xml_parser dom_xml_parser;
typedef int (*dom_xml_parser_fetch_cb)(void *parser, const char *base, const char *uri,
- int (*expat_xmlparser_parse_cb)(void *parser, const char *data, int size));
+ int (*expat_xmlparser_parse_cb)(void *parser, const char *data, int size, const char *uri));
/* Create an XML parser instance */
dom_xml_parser *dom_xml_parser_create(const char *enc, const char *int_enc,
dom_msg msg, void *mctx, dom_document **document,
- dom_xml_parser_fetch_cb fetch_cb);
+ const char *url, dom_xml_parser_fetch_cb fetch_cb);
/* Destroy an XML parser instance */
void dom_xml_parser_destroy(dom_xml_parser *parser);