diff options
author | Rob Landley <rob@landley.net> | 2012-06-09 22:25:49 -0500 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2012-06-09 22:25:49 -0500 |
commit | 4af1e1d784fa757e1d50b3fa42bd27f0a9b7782c (patch) | |
tree | e6e247c6b617c1eb2d739c4a1baa8d49e8e9903a /lib/lib.h | |
parent | 98356226c81109227faa89b721674e5fabf04b42 (diff) | |
download | toybox-4af1e1d784fa757e1d50b3fa42bd27f0a9b7782c.tar.gz |
Implement DIRTREE_SYMFOLLOW and ls -cSHL.
Diffstat (limited to 'lib/lib.h')
-rw-r--r-- | lib/lib.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -71,14 +71,14 @@ struct dirtree { char name[]; }; -struct dirtree *dirtree_add_node(int dirfd, char *name); +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_opennode(struct dirtree *try); struct dirtree *handle_callback(struct dirtree *new, int (*callback)(struct dirtree *node)); void dirtree_recurse(struct dirtree *node, - int (*callback)(struct dirtree *node)); + int (*callback)(struct dirtree *node), int symfollow); struct dirtree *dirtree_read(char *path, int (*callback)(struct dirtree *node)); // lib.c |