aboutsummaryrefslogtreecommitdiff
path: root/tree.h
diff options
context:
space:
mode:
authorDaniel Lezcano <daniel.lezcano@linaro.org>2011-06-08 23:30:00 +0200
committerDaniel Lezcano <daniel.lezcano@free.fr>2011-06-08 23:30:00 +0200
commitafe6225aeb3803561ded0df7427b698be83b3d09 (patch)
tree973656679d2f8988fa9db85a8b0d37bb52da7d07 /tree.h
parent357dd8afb93fc6e08073ce7608107dc5f44fc853 (diff)
use 'find' tree function
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Diffstat (limited to 'tree.h')
-rw-r--r--tree.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tree.h b/tree.h
index 7be3fc4..176dd23 100644
--- a/tree.h
+++ b/tree.h
@@ -45,3 +45,5 @@ extern struct tree *tree_load(const char *path, tree_filter_t filter);
extern struct tree *tree_find(struct tree *tree, const char *name);
extern int tree_for_each(struct tree *tree, tree_cb_t cb, void *data);
+
+extern int tree_for_each_parent(struct tree *tree, tree_cb_t cb, void *data);