aboutsummaryrefslogtreecommitdiff
path: root/lib/lib.h
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2012-06-16 15:16:08 -0500
committerRob Landley <rob@landley.net>2012-06-16 15:16:08 -0500
commit6ec2178fafa44b2e9d710218db1e9827c1c81857 (patch)
tree5ab6d23527214f32a9b20adb0d7f63007e1dcaac /lib/lib.h
parent628eb9b22032fb0f2e343f43efa60ec52b01d345 (diff)
downloadtoybox-6ec2178fafa44b2e9d710218db1e9827c1c81857.tar.gz
Add dirtree_parentfd()
Diffstat (limited to 'lib/lib.h')
-rw-r--r--lib/lib.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/lib.h b/lib/lib.h
index c3aa15ce..a427640d 100644
--- a/lib/lib.h
+++ b/lib/lib.h
@@ -74,6 +74,7 @@ struct dirtree {
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));