summaryrefslogtreecommitdiff
path: root/src/tokeniser/tokeniser.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/tokeniser/tokeniser.h')
-rw-r--r--src/tokeniser/tokeniser.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/tokeniser/tokeniser.h b/src/tokeniser/tokeniser.h
index 20bbe20..2292cd7 100644
--- a/src/tokeniser/tokeniser.h
+++ b/src/tokeniser/tokeniser.h
@@ -27,6 +27,7 @@ typedef enum hubbub_tokeniser_opttype {
HUBBUB_TOKENISER_BUFFER_HANDLER,
HUBBUB_TOKENISER_ERROR_HANDLER,
HUBBUB_TOKENISER_CONTENT_MODEL,
+ HUBBUB_TOKENISER_PROCESS_CDATA
} hubbub_tokeniser_opttype;
/**
@@ -51,6 +52,8 @@ typedef union hubbub_tokeniser_optparams {
struct {
hubbub_content_model model;
} content_model;
+
+ bool process_cdata;
} hubbub_tokeniser_optparams;
/* Create a hubbub tokeniser */