From 6792e16519fea61050cd5979c0a42d2a6b2f5bae Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Fri, 17 Jul 2009 16:33:25 +0000 Subject: Change mechanism for handling case sensitivity of element names. Now has another selection handler callback for this. Change selector hash to use an ASCII case-insensitive hash function. svn path=/trunk/libcss/; revision=8602 --- include/libcss/select.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/libcss/select.h') diff --git a/include/libcss/select.h b/include/libcss/select.h index 5eaf120..bd85eaa 100644 --- a/include/libcss/select.h +++ b/include/libcss/select.h @@ -37,6 +37,8 @@ typedef struct css_select_handler { css_error (*parent_node)(void *pw, void *node, void **parent); css_error (*sibling_node)(void *pw, void *node, void **sibling); + css_error (*node_has_name)(void *pw, void *node, + lwc_string *name, bool *match); css_error (*node_has_class)(void *pw, void *node, lwc_string *name, bool *match); css_error (*node_has_id)(void *pw, void *node, -- cgit v1.2.3