diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2017-04-23 00:00:37 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2017-04-23 00:17:49 -0400 |
commit | 1efa932e4aeb007eddb6424a90bf0fc05dba7e4d (patch) | |
tree | 288ae5aa5385f985cbd4818497e01cf845591617 /bfs.h | |
parent | 8df078ada9045ffceb541e224985a4e4191e1526 (diff) | |
download | bfs-1efa932e4aeb007eddb6424a90bf0fc05dba7e4d.tar.xz |
Implement -fstype
Fixes #6!
Diffstat (limited to 'bfs.h')
-rw-r--r-- | bfs.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -15,6 +15,7 @@ #include "color.h" #include "exec.h" #include "printf.h" +#include "mtab.h" #include <regex.h> #include <stdbool.h> #include <stddef.h> @@ -90,6 +91,9 @@ struct cmdline { /** Colored stderr. */ CFILE *cerr; + /** Table of mounted file systems. */ + struct bfs_mtab *mtab; + /** -mindepth option. */ int mindepth; /** -maxdepth option. */ @@ -292,6 +296,7 @@ bool eval_nouser(const struct expr *expr, struct eval_state *state); bool eval_depth(const struct expr *expr, struct eval_state *state); bool eval_empty(const struct expr *expr, struct eval_state *state); +bool eval_fstype(const struct expr *expr, struct eval_state *state); bool eval_hidden(const struct expr *expr, struct eval_state *state); bool eval_inum(const struct expr *expr, struct eval_state *state); bool eval_links(const struct expr *expr, struct eval_state *state); |