From fe3993c221a604f5fb9f7ef1ba6179740cbf9173 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Wed, 15 Sep 2021 17:18:51 +0200 Subject: Remove dependency on string.h, make string case insensitive equals public --- include/HtmlParser.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include') 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 -- cgit v1.2.3