From 25fc4a3e710aec3632a6f34a073427fe90b365a9 Mon Sep 17 00:00:00 2001 From: Daniel Lezcano Date: Thu, 25 Aug 2011 15:46:13 +0200 Subject: follow symlinks when browsing the directory tree Sometime we are interested in following the symlinks, sometime not. Signed-off-by: Daniel Lezcano --- tree.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tree.h') diff --git a/tree.h b/tree.h index c7f3ca9..5c1c697 100644 --- a/tree.h +++ b/tree.h @@ -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); -- cgit v1.2.3