From feed6ef8c3bee2354db4c778dd61ad7e756968e8 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Tue, 10 Jul 2007 21:36:14 +0000 Subject: Add NodeList and string comparison API svn path=/trunk/dom/; revision=3394 --- include/dom/core/string.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'include/dom/core/string.h') diff --git a/include/dom/core/string.h b/include/dom/core/string.h index f591464..759f042 100644 --- a/include/dom/core/string.h +++ b/include/dom/core/string.h @@ -35,4 +35,10 @@ dom_exception dom_string_create_from_const_ptr(struct dom_document *doc, dom_exception dom_string_get_data(struct dom_string *str, const uint8_t **data, size_t *len); +/* Case sensitively compare two DOM strings */ +int dom_string_cmp(struct dom_string *s1, struct dom_string *s2); +/* Case insensitively compare two DOM strings */ +int dom_string_icmp(struct dom_string *s1, struct dom_string *s2); + + #endif -- cgit v1.2.3