summaryrefslogtreecommitdiff
path: root/utils/libdom.h
diff options
context:
space:
mode:
authorJohn-Mark Bell <jmb@netsurf-browser.org>2023-03-12 21:38:10 +0000
committerJohn-Mark Bell <jmb@netsurf-browser.org>2023-03-12 21:38:10 +0000
commitb56d74b5df9becb324ef2d49bfe079acc505e76b (patch)
tree5615df063a856d109c5ef2128ea30309e147a18b /utils/libdom.h
parent7e6acf326bc52fbd97d5e330799240f977db5ccb (diff)
downloadnetsurf-b56d74b5df9becb324ef2d49bfe079acc505e76b.tar.gz
netsurf-b56d74b5df9becb324ef2d49bfe079acc505e76b.tar.bz2
Retire long-dead code
Diffstat (limited to 'utils/libdom.h')
-rw-r--r--utils/libdom.h23
1 files changed, 0 insertions, 23 deletions
diff --git a/utils/libdom.h b/utils/libdom.h
index 306aa0f8b..63841934f 100644
--- a/utils/libdom.h
+++ b/utils/libdom.h
@@ -33,29 +33,6 @@
#include <dom/bindings/hubbub/errors.h>
/**
- * depth-first walk the dom calling callback for each element
- *
- * \param root the dom node to use as the root of the tree walk
- * \param callback The function called for each element
- * \param ctx The context passed to the callback.
- * \return true if all nodes were examined, false if the callback terminated
- * the walk early.
- */
-bool libdom_treewalk(dom_node *root,
- bool (*callback)(dom_node *node, dom_string *name, void *ctx),
- void *ctx);
-
-/**
- * Search the descendants of a node for an element.
- *
- * \param node dom_node to search children of, or NULL
- * \param element_name name of element to find
- * \return first child of node which is an element and matches name, or
- * NULL if not found or parameter node is NULL
- */
-dom_node *libdom_find_element(dom_node *node, lwc_string *element_name);
-
-/**
* Search children of a node for first named element
* \param parent dom_node to search children of, or NULL
* \param element_name name of element to find