diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2009-02-09 15:22:08 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2009-02-09 15:22:08 +0000 |
commit | 8c075f16ec633670ab75c865dcb74f78160d162e (patch) | |
tree | 06c02124439f98967cb3e67f4ccde0910ea2a4a7 /include | |
parent | 932213b80d817b8646505dfb4af322c9742c12d2 (diff) | |
download | libcss-8c075f16ec633670ab75c865dcb74f78160d162e.tar.gz |
Beginnings of a handler function table.
svn path=/trunk/libcss/; revision=6401
Diffstat (limited to 'include')
-rw-r--r-- | include/libcss/select.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/include/libcss/select.h b/include/libcss/select.h index 1948ca1..ab28b3b 100644 --- a/include/libcss/select.h +++ b/include/libcss/select.h @@ -12,6 +12,13 @@ #include <libcss/functypes.h> #include <libcss/types.h> +typedef struct css_select_handler { + css_error (*node_name)(void *pw, void *node, const uint8_t **name, + size_t *len); + + +} css_select_handler; + css_error css_select_ctx_create(css_alloc alloc, void *pw, css_select_ctx **result); css_error css_select_ctx_destroy(css_select_ctx *ctx); @@ -29,6 +36,7 @@ css_error css_select_ctx_get_sheet(css_select_ctx *ctx, uint32_t index, css_error css_select_style(css_select_ctx *ctx, void *node, uint64_t pseudo_element, uint64_t pseudo_classes, - uint64_t media, css_computed_style *result); + uint64_t media, css_computed_style *result, + css_select_handler *handler, void *pw); #endif |