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 80a66c9..2fb1ef0 100644
--- a/bftw.h
+++ b/bftw.h
@@ -64,6 +64,8 @@ struct BFTW {
/** The string offset of the filename. */
size_t nameoff;
+ /** The root path passed to bftw(). */
+ const char *root;
/** The depth of this file in the traversal. */
size_t depth;
/** Which visit this is. */