summaryrefslogtreecommitdiff
path: root/src/stylesheet.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/stylesheet.h')
-rw-r--r--src/stylesheet.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/stylesheet.h b/src/stylesheet.h
index f32bbe3..ff32d97 100644
--- a/src/stylesheet.h
+++ b/src/stylesheet.h
@@ -133,7 +133,7 @@ typedef struct css_rule_import {
typedef struct css_rule_charset {
css_rule base;
- char *encoding; /** \todo use MIB enum? */
+ const parserutils_hash_entry *encoding; /** \todo use MIB enum? */
} css_rule_charset;
struct css_stylesheet {
@@ -206,6 +206,9 @@ css_error css_stylesheet_rule_add_selector(css_stylesheet *sheet,
css_error css_stylesheet_rule_append_style(css_stylesheet *sheet,
css_rule *rule, css_style *style);
+css_error css_stylesheet_rule_set_charset(css_stylesheet *sheet,
+ css_rule *rule, const parserutils_hash_entry *charset);
+
/** \todo registering other rule-type data with css_rules */
css_error css_stylesheet_add_rule(css_stylesheet *sheet, css_rule *rule);