summaryrefslogtreecommitdiffstats
path: root/stat.h
diff options
context:
space:
mode:
Diffstat (limited to 'stat.h')
-rw-r--r--stat.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/stat.h b/stat.h
index cb68190..55c75e9 100644
--- a/stat.h
+++ b/stat.h
@@ -47,10 +47,11 @@ enum bfs_stat_field {
BFS_STAT_SIZE = 1 << 7,
BFS_STAT_BLOCKS = 1 << 8,
BFS_STAT_RDEV = 1 << 9,
- BFS_STAT_ATIME = 1 << 10,
- BFS_STAT_BTIME = 1 << 11,
- BFS_STAT_CTIME = 1 << 12,
- BFS_STAT_MTIME = 1 << 13,
+ BFS_STAT_ATTRS = 1 << 10,
+ BFS_STAT_ATIME = 1 << 11,
+ BFS_STAT_BTIME = 1 << 12,
+ BFS_STAT_CTIME = 1 << 13,
+ BFS_STAT_MTIME = 1 << 14,
};
/**
@@ -106,6 +107,9 @@ struct bfs_stat {
/** The device ID represented by this file. */
dev_t rdev;
+ /** Attributes/flags set on the file. */
+ unsigned long long attrs;
+
/** Access time. */
struct timespec atime;
/** Birth/creation time. */