From 1e592489b152d305a44c3049ab7e263f2be9f6f7 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Sun, 16 Jan 2005 00:03:45 +0000 Subject: [project @ 2005-01-16 00:03:45 by jmb] Create interface for duplication and destruction of css_style structs. svn path=/import/netsurf/; revision=1450 --- css/css.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'css/css.h') diff --git a/css/css.h b/css/css.h index cc5e9bbd6..9c02cf26e 100644 --- a/css/css.h +++ b/css/css.h @@ -112,7 +112,7 @@ typedef enum { CSS_VERTICAL_ALIGN_PERCENT, CSS_VERTICAL_ALIGN_NOT_SET } css_vertical_align_type; - + struct css_counter { const char *name; css_list_style_type style; @@ -560,6 +560,8 @@ const char *css_parser_TokenName(int tokenType); #endif void css_get_style(struct content *c, xmlNode *n, struct css_style * style); +struct css_style *css_duplicate_style(const struct css_style * const style); +void css_free_style(struct css_style *style); void css_cascade(struct css_style * const style, const struct css_style * const apply); void css_merge(struct css_style * const style, -- cgit v1.2.3