summaryrefslogtreecommitdiff
path: root/include/libcss/select.h
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2011-03-13 09:24:03 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2011-03-13 09:24:03 +0000
commitfc18fccd5ed2050a05cad53714f429a529253711 (patch)
tree659c5ee8e912fd70546cd7578551701346b7fb61 /include/libcss/select.h
parentc21a5d244101c695d59feaf5e333c194a33cc029 (diff)
downloadlibcss-fc18fccd5ed2050a05cad53714f429a529253711.tar.gz
libcss-fc18fccd5ed2050a05cad53714f429a529253711.tar.bz2
Add structure versioning for client input
svn path=/trunk/libcss/; revision=12007
Diffstat (limited to 'include/libcss/select.h')
-rw-r--r--include/libcss/select.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/libcss/select.h b/include/libcss/select.h
index bdc16ac..b6f9475 100644
--- a/include/libcss/select.h
+++ b/include/libcss/select.h
@@ -46,7 +46,14 @@ typedef struct css_select_results {
css_computed_style *styles[CSS_PSEUDO_ELEMENT_COUNT];
} css_select_results;
+typedef enum css_select_handler_version {
+ CSS_SELECT_HANDLER_VERSION_1 = 1
+} css_select_handler_version;
+
typedef struct css_select_handler {
+ /** ABI version of this structure */
+ uint32_t handler_version;
+
css_error (*node_name)(void *pw, void *node,
css_qname *qname);
css_error (*node_classes)(void *pw, void *node,