summaryrefslogtreecommitdiff
path: root/lib/ftw_.h
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2003-02-06 10:24:57 +0000
committerJim Meyering <jim@meyering.net>2003-02-06 10:24:57 +0000
commitae0cb229f2c7f03b12de9b3bef2edc2a8bebba88 (patch)
tree91882e3a54949d917713e53629932597556143b8 /lib/ftw_.h
parentadb8e94a33e82879a0d0343dcd100f79ba847650 (diff)
downloadcoreutils-ae0cb229f2c7f03b12de9b3bef2edc2a8bebba88.tar.xz
(FTW_DPRE) [enum]: New member and definition.
(struct FTW) [skip]: New member.
Diffstat (limited to 'lib/ftw_.h')
-rw-r--r--lib/ftw_.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/ftw_.h b/lib/ftw_.h
index cdb3ed6bf..c202fb3b0 100644
--- a/lib/ftw_.h
+++ b/lib/ftw_.h
@@ -73,6 +73,12 @@ enum
FTW_DCHP,
# define FTW_DCHP FTW_DCHP
+ /* nftw calls the user-supplied function at most twice for each directory
+ it encounters. When calling it the first time, it passes this value
+ as the `type'. */
+ FTW_DPRE,
+# define FTW_DPRE FTW_DPRE
+
# if defined __USE_BSD || defined __USE_XOPEN_EXTENDED
FTW_SL, /* Symbolic link. */
@@ -110,6 +116,7 @@ struct FTW
{
int base;
int level;
+ int skip;
};
# endif /* extended X/Open */