diff options
author | Tim Shimmin <tes@sgi.com> | 2007-12-04 05:11:38 +0000 |
---|---|---|
committer | Tim Shimmin <tes@sgi.com> | 2007-12-04 05:11:38 +0000 |
commit | 73819e442294ef3bf4a8fc6cfd47cead00a1a2c2 (patch) | |
tree | 65ebf846f3a6967b847101e50d7ce3a7de725bd6 /include | |
parent | 264bff299a6da24bcdbec4e8ba2131cd865718cc (diff) | |
download | acl-73819e442294ef3bf4a8fc6cfd47cead00a1a2c2.tar.gz |
Add some code to the tree walking to better handle file descriptors.
Merge of master-melb:xfs-cmds:30195a by kenmcd.
Diffstat (limited to 'include')
-rw-r--r-- | include/walk_tree.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/include/walk_tree.h b/include/walk_tree.h index 9045bad..73cbc7c 100644 --- a/include/walk_tree.h +++ b/include/walk_tree.h @@ -26,13 +26,14 @@ #define WALK_TREE_LOGICAL 0x4 #define WALK_TREE_DEREFERENCE 0x8 -#define WALK_TREE_SYMLINK 0x10 -#define WALK_TREE_FAILED 0x20 +#define WALK_TREE_TOPLEVEL 0x100 +#define WALK_TREE_SYMLINK 0x200 +#define WALK_TREE_FAILED 0x400 struct stat; -extern int walk_tree(const char *path, int walk_flags, - int (*func)(const char *, const struct stat *, int, void *), - void *arg); +extern int walk_tree(const char *path, int walk_flags, unsigned int num, + int (*func)(const char *, const struct stat *, int, + void *), void *arg); #endif |