From ec1018714f31913d68fb440ec9f9a885366df12d Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Tue, 11 Mar 2008 23:04:35 +0000 Subject: More treebuilder (really 8.2.4.8 this time) Add tree handler entrypoint for creating elements with verbatim names svn path=/trunk/hubbub/; revision=3940 --- include/hubbub/functypes.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'include/hubbub/functypes.h') diff --git a/include/hubbub/functypes.h b/include/hubbub/functypes.h index ce95303..ddc307a 100644 --- a/include/hubbub/functypes.h +++ b/include/hubbub/functypes.h @@ -52,6 +52,12 @@ typedef int (*hubbub_tree_create_doctype)(void *ctx, const hubbub_string *qname, typedef int (*hubbub_tree_create_element)(void *ctx, const hubbub_tag *tag, void **result); +/** + * Type of tree element node creation function (verbatim name) + */ +typedef int (*hubbub_tree_create_element_verbatim)(void *ctx, + const uint8_t *name, size_t name_len, void **result); + /** * Type of tree text node creation function */ -- cgit v1.2.1