diff options
author | Daniel Lezcano <daniel.lezcano@linaro.org> | 2011-08-25 15:46:13 +0200 |
---|---|---|
committer | Daniel Lezcano <daniel.lezcano@linaro.org> | 2011-08-25 15:46:13 +0200 |
commit | 25fc4a3e710aec3632a6f34a073427fe90b365a9 (patch) | |
tree | c59cf3e55966ae5e973655e70037aaa623acabd0 /tree.h | |
parent | c80da0255e5d9e99da95b38d1c078887f6020e40 (diff) | |
download | powerdebug-25fc4a3e710aec3632a6f34a073427fe90b365a9.tar.gz |
follow symlinks when browsing the directory tree
Sometime we are interested in following the symlinks, sometime not.
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Diffstat (limited to 'tree.h')
-rw-r--r-- | tree.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -41,7 +41,7 @@ typedef int (*tree_cb_t)(struct tree *t, void *data); typedef int (*tree_filter_t)(const char *name); -extern struct tree *tree_load(const char *path, tree_filter_t filter); +extern struct tree *tree_load(const char *path, tree_filter_t filter, bool follow); extern struct tree *tree_find(struct tree *tree, const char *name); |