summaryrefslogtreecommitdiffstats
path: root/bfs.h
diff options
context:
space:
mode:
Diffstat (limited to 'bfs.h')
-rw-r--r--bfs.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/bfs.h b/bfs.h
index 191cb9e..3fd66a5 100644
--- a/bfs.h
+++ b/bfs.h
@@ -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);