summaryrefslogtreecommitdiffstats
path: root/bftw.h
diff options
context:
space:
mode:
Diffstat (limited to 'bftw.h')
-rw-r--r--bftw.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/bftw.h b/bftw.h
index a7c14d9..a368777 100644
--- a/bftw.h
+++ b/bftw.h
@@ -98,5 +98,7 @@ int bftw(const char *path, bftw_fn *fn, int nopenfd, int flags, void *ptr);
#define BFTW_STAT (1 << 0)
/** flag: Attempt to recover from encountered errors. */
#define BFTW_RECOVER (1 << 1)
+/** flag: Visit all of a directory's descendants before the directory itself. */
+#define BFTW_DEPTH (1 << 2)
#endif // BFS_BFTW_H