diff options
author | dec05eba <dec05eba@protonmail.com> | 2023-08-19 13:26:46 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2023-08-19 13:26:46 +0200 |
commit | fab7a00da328debef4fbeba9eb21fc02cf21675d (patch) | |
tree | 6d207b735889dd16412586b173fdef512bdb921e /include | |
parent | 75b13e6106e5adfa21589dd84f042bf410142288 (diff) |
Diffstat (limited to 'include')
-rw-r--r-- | include/HtmlTree.h | 7 |
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 |