diff options
author | Daniel Lezcano <daniel.lezcano@linaro.org> | 2011-06-08 23:30:00 +0200 |
---|---|---|
committer | Daniel Lezcano <daniel.lezcano@free.fr> | 2011-06-08 23:30:00 +0200 |
commit | afe6225aeb3803561ded0df7427b698be83b3d09 (patch) | |
tree | 973656679d2f8988fa9db85a8b0d37bb52da7d07 /tree.h | |
parent | 357dd8afb93fc6e08073ce7608107dc5f44fc853 (diff) |
use 'find' tree function
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Diffstat (limited to 'tree.h')
-rw-r--r-- | tree.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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); |