diff options
Diffstat (limited to 'src/parse/parse.h')
-rw-r--r-- | src/parse/parse.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/parse/parse.h b/src/parse/parse.h index 6b95acb..833aa51 100644 --- a/src/parse/parse.h +++ b/src/parse/parse.h @@ -34,7 +34,7 @@ typedef enum css_parser_event { CSS_PARSER_DECLARATION } css_parser_event; -typedef css_error (*css_parser_event_handler)(css_parser_event type, +typedef css_error (*css_parser_event_handler)(css_parser_event type, const parserutils_vector *tokens, void *pw); /** @@ -59,18 +59,18 @@ typedef union css_parser_optparams { css_error css__parser_create(const char *charset, css_charset_source cs_source, css_parser **parser); -css_error css__parser_create_for_inline_style(const char *charset, +css_error css__parser_create_for_inline_style(const char *charset, css_charset_source cs_source, css_parser **parser); css_error css__parser_destroy(css_parser *parser); css_error css__parser_setopt(css_parser *parser, css_parser_opttype type, css_parser_optparams *params); -css_error css__parser_parse_chunk(css_parser *parser, const uint8_t *data, +css_error css__parser_parse_chunk(css_parser *parser, const uint8_t *data, size_t len); css_error css__parser_completed(css_parser *parser); -const char *css__parser_read_charset(css_parser *parser, +const char *css__parser_read_charset(css_parser *parser, css_charset_source *source); bool css__parser_quirks_permitted(css_parser *parser); |