summaryrefslogtreecommitdiff
path: root/src/tokeniser/tokeniser.h
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2012-07-19 10:22:44 +0100
committerChris Young <chris@unsatisfactorysoftware.co.uk>2012-07-19 10:22:44 +0100
commitd6807c519ae65d5ad58cace15f10359862969f89 (patch)
tree68a56298d5b7d7fe3f9f01a6210eed191767b030 /src/tokeniser/tokeniser.h
parentb7c12eff5456726f36cc1bf29e0bacaec3028877 (diff)
parentf6953cb68e18521361e18b6b7d504742263998ea (diff)
downloadlibhubbub-chris/amiga-lib.tar.gz
libhubbub-chris/amiga-lib.tar.bz2
Merge branch 'master' of git://git.netsurf-browser.org/libhubbub into chris/amiga-libchris/amiga-lib
Diffstat (limited to 'src/tokeniser/tokeniser.h')
-rw-r--r--src/tokeniser/tokeniser.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/tokeniser/tokeniser.h b/src/tokeniser/tokeniser.h
index e13a03a..ed46d60 100644
--- a/src/tokeniser/tokeniser.h
+++ b/src/tokeniser/tokeniser.h
@@ -26,7 +26,8 @@ typedef enum hubbub_tokeniser_opttype {
HUBBUB_TOKENISER_TOKEN_HANDLER,
HUBBUB_TOKENISER_ERROR_HANDLER,
HUBBUB_TOKENISER_CONTENT_MODEL,
- HUBBUB_TOKENISER_PROCESS_CDATA
+ HUBBUB_TOKENISER_PROCESS_CDATA,
+ HUBBUB_TOKENISER_PAUSE
} hubbub_tokeniser_opttype;
/**
@@ -48,6 +49,8 @@ typedef union hubbub_tokeniser_optparams {
} content_model; /**< Current content model */
bool process_cdata; /**< Whether to process CDATA sections*/
+
+ bool pause_parse; /**< Pause parsing */
} hubbub_tokeniser_optparams;
/* Create a hubbub tokeniser */