summaryrefslogtreecommitdiff
path: root/content/content_protected.h
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2014-11-06 22:51:46 +0000
committerVincent Sanders <vince@kyllikki.org>2014-11-06 22:51:46 +0000
commit8c2cfecfb5e83d023609914dd101c23777fd2906 (patch)
treedf076fe2b22f0ecc6ec97d32a6b59f8ffa278d9b /content/content_protected.h
parent46f369ca9ee79af5e7a121551fe9715101d27395 (diff)
downloadnetsurf-8c2cfecfb5e83d023609914dd101c23777fd2906.tar.gz
netsurf-8c2cfecfb5e83d023609914dd101c23777fd2906.tar.bz2
Allow content handlers to have debug values set through API
Previously content handler debugging features were accessed by global variables. This allows the setting of debugging parameters via a content API giving per content control over debugging features. Currently only used by the html content handler to toggle global redraw debugging.
Diffstat (limited to 'content/content_protected.h')
-rw-r--r--content/content_protected.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/content/content_protected.h b/content/content_protected.h
index ce161befc..af274ef5a 100644
--- a/content/content_protected.h
+++ b/content/content_protected.h
@@ -77,6 +77,7 @@ struct content_handler {
const char *string);
void (*search_clear)(struct content *c);
nserror (*debug_dump)(struct content *c, FILE *f, enum content_debug op);
+ nserror (*debug)(struct content *c, enum content_debug op);
nserror (*clone)(const struct content *old, struct content **newc);
bool (*matches_quirks)(const struct content *c, bool quirks);
const char *(*get_encoding)(const struct content *c);