summaryrefslogtreecommitdiff
path: root/include/libcss/libcss.h
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2008-05-01 16:36:27 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2008-05-01 16:36:27 +0000
commit72c39e3522c5781d1e7dc8abad77d96141c5d49b (patch)
treee16497caaa0bf20771ef34787de02fc95e5993bf /include/libcss/libcss.h
downloadlibcss-72c39e3522c5781d1e7dc8abad77d96141c5d49b.tar.gz
libcss-72c39e3522c5781d1e7dc8abad77d96141c5d49b.tar.bz2
Import beginnings of a CSS parsing library.
Currently comprises a lexer. svn path=/trunk/libcss/; revision=4112
Diffstat (limited to 'include/libcss/libcss.h')
-rw-r--r--include/libcss/libcss.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/include/libcss/libcss.h b/include/libcss/libcss.h
new file mode 100644
index 0000000..364a3eb
--- /dev/null
+++ b/include/libcss/libcss.h
@@ -0,0 +1,23 @@
+/*
+ * This file is part of LibCSS.
+ * Licensed under the MIT License,
+ * http://www.opensource.org/licenses/mit-license.php
+ * Copyright 2007 John-Mark Bell <jmb@netsurf-browser.org>
+ */
+
+#ifndef css_h_
+#define css_h_
+
+#include <libcss/errors.h>
+#include <libcss/functypes.h>
+#include <libcss/types.h>
+
+/* Initialise the CSS library for use */
+css_error css_initialise(const char *aliases_file,
+ css_alloc alloc, void *pw);
+
+/* Clean up after LibCSS */
+css_error css_finalise(css_alloc alloc, void *pw);
+
+#endif
+