summaryrefslogtreecommitdiff
path: root/include/dom/core/string.h
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2007-07-10 21:36:14 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2007-07-10 21:36:14 +0000
commitacfc9fd1b44f7b72ba66705daf34914940509793 (patch)
tree9ed7dfde5664ff05fd47565d3f68c27792604500 /include/dom/core/string.h
parentd39dbc93d93f537962fe998031ade04d7ee6ca6a (diff)
downloadlibdom-acfc9fd1b44f7b72ba66705daf34914940509793.tar.gz
libdom-acfc9fd1b44f7b72ba66705daf34914940509793.tar.bz2
Add NodeList and string comparison API
svn path=/trunk/dom/; revision=3394
Diffstat (limited to 'include/dom/core/string.h')
-rw-r--r--include/dom/core/string.h6
1 files changed, 6 insertions, 0 deletions
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