aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2023-08-19 13:26:46 +0200
committerdec05eba <dec05eba@protonmail.com>2023-08-19 13:26:46 +0200
commitfab7a00da328debef4fbeba9eb21fc02cf21675d (patch)
tree6d207b735889dd16412586b173fdef512bdb921e /include
parent75b13e6106e5adfa21589dd84f042bf410142288 (diff)
Update html-parser version to latest, add html_node_find_childHEADmaster
Diffstat (limited to 'include')
-rw-r--r--include/HtmlTree.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/HtmlTree.h b/include/HtmlTree.h
index 4378152..2f25e1d 100644
--- a/include/HtmlTree.h
+++ b/include/HtmlTree.h
@@ -54,6 +54,13 @@ void html_tree_deinit(HtmlTree *self);
/* Case insensitive match. Returns NULL if not found */
HtmlAttribute* html_node_get_attribute_by_name(HtmlNode *self, HtmlStringView name);
+/*
+ Returns NULL if not found.
+ This function is not recursive.
+ Case insensitive search.
+*/
+HtmlNode* html_node_find_child(HtmlNode *self, const char *tag_name, const char *attribute_name, const char *attribute_value);
+
#ifdef __cplusplus
}
#endif