summaryrefslogtreecommitdiff
path: root/src/parse/parse.h
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2008-08-01 17:31:29 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2008-08-01 17:31:29 +0000
commit36966024c4044afa3706f2c51b544925dd438793 (patch)
treebe04afabdd8cb76a7384e78f9d836414bf742791 /src/parse/parse.h
parent70f8503b0fcf4253c905b01aec4a72363147ab6f (diff)
downloadlibcss-36966024c4044afa3706f2c51b544925dd438793.tar.gz
libcss-36966024c4044afa3706f2c51b544925dd438793.tar.bz2
Stub out a CSS 2.1 stage 2 parser.
Parser core doesn't need to know about css_stylesheet, so change its API. svn path=/trunk/libcss/; revision=4854
Diffstat (limited to 'src/parse/parse.h')
-rw-r--r--src/parse/parse.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/parse/parse.h b/src/parse/parse.h
index c1b6830..4137c65 100644
--- a/src/parse/parse.h
+++ b/src/parse/parse.h
@@ -10,6 +10,7 @@
#include <parserutils/utils/vector.h>
+#include <libcss/errors.h>
#include <libcss/functypes.h>
#include <libcss/types.h>
@@ -55,8 +56,8 @@ typedef union css_parser_optparams {
} event_handler;
} css_parser_optparams;
-css_parser *css_parser_create(css_stylesheet *sheet, const char *charset,
- css_charset_source cs_source, css_alloc alloc, void *pw);
+css_parser *css_parser_create(const char *charset, css_charset_source cs_source,
+ css_alloc alloc, void *pw);
void css_parser_destroy(css_parser *parser);
css_error css_parser_setopt(css_parser *parser, css_parser_opttype type,