aboutsummaryrefslogtreecommitdiff
path: root/lib/lib.h
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2012-06-24 18:35:49 -0500
committerRob Landley <rob@landley.net>2012-06-24 18:35:49 -0500
commit78aaef2a7ac9e852258e385ff3923353d78b8781 (patch)
tree91dddd2a5442f47c4a2e5c6d5529987edf175fcd /lib/lib.h
parent728c94a0022d431f80a2333a143fc4dbf1056268 (diff)
downloadtoybox-78aaef2a7ac9e852258e385ff3923353d78b8781.tar.gz
Unify chown and chgrp, add support for -hHLP flags.0.3.1
Diffstat (limited to 'lib/lib.h')
-rw-r--r--lib/lib.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/lib.h b/lib/lib.h
index a427640d..5ed06035 100644
--- a/lib/lib.h
+++ b/lib/lib.h
@@ -65,7 +65,7 @@ void get_optflags(void);
struct dirtree {
struct dirtree *next, *parent, *child;
long extra; // place for user to store their stuff (can be pointer)
- long data; // dirfd for directory, linklen for symlink
+ long data; // dirfd for directory, linklen for symlink, -1 = comeagain
struct stat st;
char *symlink;
char name[];
@@ -75,7 +75,6 @@ struct dirtree *dirtree_add_node(int dirfd, char *name, int symfollow);
char *dirtree_path(struct dirtree *node, int *plen);
int dirtree_notdotdot(struct dirtree *catch);
int dirtree_parentfd(struct dirtree *node);
-int dirtree_opennode(struct dirtree *try);
struct dirtree *handle_callback(struct dirtree *new,
int (*callback)(struct dirtree *node));
void dirtree_recurse(struct dirtree *node,