diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2007-07-10 21:36:14 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2007-07-10 21:36:14 +0000 |
commit | feed6ef8c3bee2354db4c778dd61ad7e756968e8 (patch) | |
tree | 9ed7dfde5664ff05fd47565d3f68c27792604500 /include/dom/core/string.h | |
parent | 7a9d61b0def3e8cff5b25892fdca5c8cdda4b628 (diff) | |
download | libdom-feed6ef8c3bee2354db4c778dd61ad7e756968e8.tar.gz libdom-feed6ef8c3bee2354db4c778dd61ad7e756968e8.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.h | 6 |
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 |