diff options
author | dec05eba <dec05eba@protonmail.com> | 2021-09-15 17:18:51 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2021-09-15 17:18:51 +0200 |
commit | fe3993c221a604f5fb9f7ef1ba6179740cbf9173 (patch) | |
tree | 4c8e4d0cc12feb52609b0fa294425896675a5223 /include | |
parent | 2666c5618f0ba2cb885e484523d2261d938d119c (diff) |
Remove dependency on string.h, make string case insensitive equals public
Diffstat (limited to 'include')
-rw-r--r-- | include/HtmlParser.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/HtmlParser.h b/include/HtmlParser.h index 1e23d0d..87a3aa3 100644 --- a/include/HtmlParser.h +++ b/include/HtmlParser.h @@ -65,6 +65,9 @@ struct HtmlParser { */ int html_parser_parse(const char *html_source, size_t len, HtmlParseCallback parse_callback, void *userdata); +/* Returns 1 if equals */ +int html_string_view_equals_case_insensitive(HtmlStringView *self, HtmlStringView *other); + #ifdef __cplusplus } #endif |