summaryrefslogtreecommitdiff
path: root/src/parse/css21.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/css21.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/css21.h')
-rw-r--r--src/parse/css21.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/parse/css21.h b/src/parse/css21.h
new file mode 100644
index 0000000..c1b1fda
--- /dev/null
+++ b/src/parse/css21.h
@@ -0,0 +1,25 @@
+/*
+ * This file is part of LibCSS.
+ * Licensed under the MIT License,
+ * http://www.opensource.org/licenses/mit-license.php
+ * Copyright 2008 John-Mark Bell <jmb@netsurf-browser.org>
+ */
+
+#ifndef css_parse_css21_h_
+#define css_parse_css21_h_
+
+#include <parserutils/utils/vector.h>
+
+#include <libcss/functypes.h>
+#include <libcss/types.h>
+
+#include "parse/parse.h"
+
+typedef struct css_css21 css_css21;
+
+css_css21 *css_css21_create(css_stylesheet *sheet, css_parser *parser,
+ css_alloc alloc, void *pw);
+void css_css21_destroy(css_css21 *css21);
+
+#endif
+