summaryrefslogtreecommitdiff
path: root/src/stylesheet.h
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2008-10-19 21:46:54 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2008-10-19 21:46:54 +0000
commit3b433639d83e6bf4ddb074f989c17502bc862fc0 (patch)
treeb8b0aa295f2521413a52ddca79d19c2bf9d87f00 /src/stylesheet.h
parent0aa91129557556fcc8dbb92c699c641c161e777c (diff)
downloadlibcss-3b433639d83e6bf4ddb074f989c17502bc862fc0.tar.gz
libcss-3b433639d83e6bf4ddb074f989c17502bc862fc0.tar.bz2
Provide an internal mechanism for dumping stylesheets to a file handle.
Make the css21 test driver call this so we can see if it's working. svn path=/trunk/libcss/; revision=5602
Diffstat (limited to 'src/stylesheet.h')
-rw-r--r--src/stylesheet.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/stylesheet.h b/src/stylesheet.h
index bcb7b17..eaab9c3 100644
--- a/src/stylesheet.h
+++ b/src/stylesheet.h
@@ -9,6 +9,7 @@
#define css_stylesheet_h_
#include <inttypes.h>
+#include <stdio.h>
#include <libcss/errors.h>
#include <libcss/functypes.h>
@@ -173,5 +174,7 @@ css_error css_stylesheet_rule_add_selector(css_stylesheet *sheet,
css_error css_stylesheet_add_rule(css_stylesheet *sheet, css_rule *rule);
css_error css_stylesheet_remove_rule(css_stylesheet *sheet, css_rule *rule);
+void css_stylesheet_dump(css_stylesheet *sheet, FILE *target);
+
#endif