summaryrefslogtreecommitdiff
path: root/include/libcss/select.h
diff options
context:
space:
mode:
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,