diff options
Diffstat (limited to 'include/hubbub/parser.h')
-rw-r--r-- | include/hubbub/parser.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/hubbub/parser.h b/include/hubbub/parser.h index 7d2fb1f..cd5d6b5 100644 --- a/include/hubbub/parser.h +++ b/include/hubbub/parser.h @@ -32,7 +32,8 @@ typedef enum hubbub_parser_opttype { HUBBUB_PARSER_CONTENT_MODEL, HUBBUB_PARSER_TREE_HANDLER, HUBBUB_PARSER_DOCUMENT_NODE, - HUBBUB_PARSER_ENABLE_SCRIPTING + HUBBUB_PARSER_ENABLE_SCRIPTING, + HUBBUB_PARSER_PAUSE } hubbub_parser_opttype; /** @@ -58,6 +59,8 @@ typedef union hubbub_parser_optparams { void *document_node; /**< Document node */ bool enable_scripting; /**< Whether to enable scripting */ + + bool pause_parse; /**< Pause parsing */ } hubbub_parser_optparams; /* Create a hubbub parser */ |