summaryrefslogtreecommitdiff
path: root/src/html/html_document.h
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2013-02-19 23:27:10 +0000
committerVincent Sanders <vince@kyllikki.org>2013-02-19 23:27:10 +0000
commitddb2d27f4206905f2ed2ac7d61b74ce88d68401c (patch)
treec482500d137ff527279e15f1167ac3d2022fb013 /src/html/html_document.h
parenteb41fa70373b4f54fca3eab5a00521be4e48e5fe (diff)
downloadlibdom-ddb2d27f4206905f2ed2ac7d61b74ce88d68401c.tar.gz
libdom-ddb2d27f4206905f2ed2ac7d61b74ce88d68401c.tar.bz2
add context for default action function
Diffstat (limited to 'src/html/html_document.h')
-rw-r--r--src/html/html_document.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/html/html_document.h b/src/html/html_document.h
index ecc6236..67250f5 100644
--- a/src/html/html_document.h
+++ b/src/html/html_document.h
@@ -33,10 +33,13 @@ struct dom_html_document {
/* Create a HTMLDocument */
dom_exception _dom_html_document_create(
dom_events_default_action_fetcher daf,
+ void *daf_ctx,
dom_html_document **doc);
/* Initialise a HTMLDocument */
-dom_exception _dom_html_document_initialise(dom_html_document *doc,
- dom_events_default_action_fetcher daf);
+dom_exception _dom_html_document_initialise(
+ dom_html_document *doc,
+ dom_events_default_action_fetcher daf,
+ void *daf_ctx);
/* Finalise a HTMLDocument */
bool _dom_html_document_finalise(dom_html_document *doc);