diff options
author | Rob Landley <rob@landley.net> | 2012-06-16 15:16:08 -0500 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2012-06-16 15:16:08 -0500 |
commit | 6ec2178fafa44b2e9d710218db1e9827c1c81857 (patch) | |
tree | 5ab6d23527214f32a9b20adb0d7f63007e1dcaac /lib/lib.h | |
parent | 628eb9b22032fb0f2e343f43efa60ec52b01d345 (diff) | |
download | toybox-6ec2178fafa44b2e9d710218db1e9827c1c81857.tar.gz |
Add dirtree_parentfd()
Diffstat (limited to 'lib/lib.h')
-rw-r--r-- | lib/lib.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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)); |