summaryrefslogtreecommitdiff
path: root/src/tokeniser/tokeniser.h
diff options
context:
space:
mode:
authorAndrew Sidwell <andy@entai.co.uk>2008-06-19 01:49:02 +0000
committerAndrew Sidwell <andy@entai.co.uk>2008-06-19 01:49:02 +0000
commit28b06ed590c8e0d2acb4a0d42e4eca4d6f0aef3c (patch)
tree9f751d125edc733ef13a962348fbeb19af815e4e /src/tokeniser/tokeniser.h
parent1db020fb0e52995b2938512496740c11b81d61a3 (diff)
downloadlibhubbub-28b06ed590c8e0d2acb4a0d42e4eca4d6f0aef3c.tar.gz
libhubbub-28b06ed590c8e0d2acb4a0d42e4eca4d6f0aef3c.tar.bz2
Add CDATA tests and the infrastructure to support them.
svn path=/trunk/hubbub/; revision=4410
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 */