summaryrefslogtreecommitdiff
path: root/include/hubbub/parser.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/hubbub/parser.h')
-rw-r--r--include/hubbub/parser.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/include/hubbub/parser.h b/include/hubbub/parser.h
index d08d70e..803ec21 100644
--- a/include/hubbub/parser.h
+++ b/include/hubbub/parser.h
@@ -37,22 +37,22 @@ typedef union hubbub_parser_optparams {
struct {
hubbub_token_handler handler;
void *pw;
- } token_handler;
+ } token_handler; /**< Token handling callback */
struct {
hubbub_error_handler handler;
void *pw;
- } error_handler;
+ } error_handler; /**< Error handling callback */
struct {
hubbub_content_model model;
- } content_model;
+ } content_model; /**< Current content model */
- hubbub_tree_handler *tree_handler;
+ hubbub_tree_handler *tree_handler; /**< Tree handling callbacks */
- void *document_node;
+ void *document_node; /**< Document node */
- bool enable_scripting;
+ bool enable_scripting; /**< Whether to enable scripting */
} hubbub_parser_optparams;
/* Create a hubbub parser */