aboutsummaryrefslogtreecommitdiff
path: root/lib/lib.h
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2012-06-01 20:27:51 -0500
committerRob Landley <rob@landley.net>2012-06-01 20:27:51 -0500
commit38d3cfb8a38c32111e4bc713396f78ddbb0e5f50 (patch)
tree8ff7f831ea9e6d8dacecfa192464673b1ae66e9c /lib/lib.h
parent4fa1b32871f661a7e11898b274ec162d52c23ee9 (diff)
downloadtoybox-38d3cfb8a38c32111e4bc713396f78ddbb0e5f50.tar.gz
Changed my mind about the design again, now callback is dirtree_opennode() and recursion choice is how caller interprets flags.
Diffstat (limited to 'lib/lib.h')
-rw-r--r--lib/lib.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/lib.h b/lib/lib.h
index 88810b1f..b45ea753 100644
--- a/lib/lib.h
+++ b/lib/lib.h
@@ -74,7 +74,7 @@ struct dirtree {
struct dirtree *dirtree_add_node(int dirfd, char *name);
char *dirtree_path(struct dirtree *node, int *plen);
int dirtree_notdotdot(struct dirtree *catch);
-int dirtree_comeagain(struct dirtree *try, int recurse);
+int dirtree_opennode(struct dirtree *try);
struct dirtree *handle_callback(struct dirtree *new,
int (*callback)(struct dirtree *node));
void dirtree_recurse(struct dirtree *node,