summaryrefslogtreecommitdiffstats
path: root/expr.h
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2021-03-06 13:40:24 -0500
committerTavian Barnes <tavianator@tavianator.com>2021-03-06 13:40:24 -0500
commit863b70d198f62f28581162473a521208dd67879e (patch)
tree9506283742eef1951ecaa897f4584b3941499a51 /expr.h
parent8f201b2380aef3a566316343e7e71c6fc995cf41 (diff)
downloadbfs-863b70d198f62f28581162473a521208dd67879e.tar.xz
Implement -flags, from FreeBSD find
This is the last BSD-specific primary I'm aware of. Fixes #14.
Diffstat (limited to 'expr.h')
-rw-r--r--expr.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/expr.h b/expr.h
index 2462861..562d84e 100644
--- a/expr.h
+++ b/expr.h
@@ -135,6 +135,11 @@ struct expr {
/** Mode to use for directories (different due to X). */
mode_t dir_mode;
+ /** Flags that should be set. */
+ unsigned long long set_flags;
+ /** Flags that should be cleared. */
+ unsigned long long clear_flags;
+
/** The optional stat field to look at. */
enum bfs_stat_field stat_field;
/** The optional reference time. */