summaryrefslogtreecommitdiffstats
path: root/types.h
diff options
context:
space:
mode:
Diffstat (limited to 'types.h')
-rw-r--r--types.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/types.h b/types.h
index 78022bd..c573d13 100644
--- a/types.h
+++ b/types.h
@@ -64,12 +64,16 @@ typedef enum {
CURSOR_WATCH
} cursor_t;
+typedef enum {
+ FF_WARN = 1,
+ FF_MARK = 2
+} fileflags_t;
+
typedef struct {
const char *name; /* as given by user */
const char *path; /* always absolute */
const char *base;
- bool warn;
- bool marked;
+ fileflags_t flags;
} fileinfo_t;
/* timeouts in milliseconds: */