aboutsummaryrefslogtreecommitdiffstats
path: root/lib/xmltree.h
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2010-08-15 00:00:53 +0100
committerWilmer van der Gaast <wilmer@gaast.net>2010-08-15 00:00:53 +0100
commitd912fe4783cc9f5c2e7204f810df420359d5bee8 (patch)
tree4ce2a497d76a44c47b6dcece559750067af7758e /lib/xmltree.h
parent4fc95c57361193c5338d9916fd37cc8a939067cd (diff)
Add xt_find_path() to simplify digging through multi-level XML trees.
Diffstat (limited to 'lib/xmltree.h')
-rw-r--r--lib/xmltree.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/xmltree.h b/lib/xmltree.h
index c1697ff5..5a0dbc8e 100644
--- a/lib/xmltree.h
+++ b/lib/xmltree.h
@@ -88,6 +88,7 @@ struct xt_node *xt_dup( struct xt_node *node );
void xt_free_node( struct xt_node *node );
void xt_free( struct xt_parser *xt );
struct xt_node *xt_find_node( struct xt_node *node, const char *name );
+struct xt_node *xt_find_path( struct xt_node *node, const char *name );
char *xt_find_attr( struct xt_node *node, const char *key );
struct xt_node *xt_new_node( char *name, const char *text, struct xt_node *children );