aboutsummaryrefslogtreecommitdiff
path: root/cftw.h
diff options
context:
space:
mode:
Diffstat (limited to 'cftw.h')
-rw-r--r--cftw.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/cftw.h b/cftw.h
index 612451e..663960c 100644
--- a/cftw.h
+++ b/cftw.h
@@ -1,11 +1,12 @@
#ifndef CFTW_H
#define CFTW_H
+#include <stdbool.h>
#include <sys/stat.h>
/* Thread-safe variant of ftw(3) and nftw(3) that allows passing an
* opaque pointer and removes some unneeded parameters. */
int cftw(const char *dirpath, int (*fn)(const char *fpath,
- const struct stat *sb, void *user), void *user);
+ const struct stat *sb, bool *done, void *user), void *user);
#endif /* CFTW_H */