summaryrefslogtreecommitdiffstats
path: root/src/bftw.h
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2023-11-23 13:41:35 -0500
committerTavian Barnes <tavianator@tavianator.com>2023-11-23 13:56:03 -0500
commitb9ed3f51d636bb0f182b0cc8a86ebf928b37f8c5 (patch)
tree9b885eed11768f3d3dfa0dfca01ac93d201a1ca5 /src/bftw.h
parent3114d6c94332cf4b7f2c0c87a425e513c006dd14 (diff)
downloadbfs-b9ed3f51d636bb0f182b0cc8a86ebf928b37f8c5.tar.xz
bftw: Add some whitespace to struct bftw_args
Diffstat (limited to 'src/bftw.h')
-rw-r--r--src/bftw.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/bftw.h b/src/bftw.h
index 2b36b8b..e325d14 100644
--- a/src/bftw.h
+++ b/src/bftw.h
@@ -182,18 +182,22 @@ struct bftw_args {
const char **paths;
/** The number of starting paths. */
size_t npaths;
+
/** The callback to invoke. */
bftw_callback *callback;
/** A pointer which is passed to the callback. */
void *ptr;
+
/** The maximum number of file descriptors to keep open. */
int nopenfd;
/** The maximum number of threads to use. */
int nthreads;
+
/** Flags that control bftw() behaviour. */
enum bftw_flags flags;
/** The search strategy to use. */
enum bftw_strategy strategy;
+
/** The parsed mount table, if available. */
const struct bfs_mtab *mtab;
};