aboutsummaryrefslogtreecommitdiff
path: root/include/HtmlTree.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/HtmlTree.h')
-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