summaryrefslogtreecommitdiff
path: root/src/apk_database.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/apk_database.h')
-rw-r--r--src/apk_database.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/apk_database.h b/src/apk_database.h
index b7e87e9..17be61c 100644
--- a/src/apk_database.h
+++ b/src/apk_database.h
@@ -56,16 +56,18 @@ struct apk_db_file {
#define APK_DBDIRF_PROTECTED 0x01
#define APK_DBDIRF_SYMLINKS_ONLY 0x02
#define APK_DBDIRF_MODIFIED 0x04
+#define APK_DBDIRF_RECALC_MODE 0x08
struct apk_db_dir {
apk_hash_node hash_node;
unsigned long hash;
- struct hlist_head files;
struct apk_db_dir *parent;
-
unsigned short refs;
unsigned short namelen;
+ mode_t mode;
+ uid_t uid;
+ gid_t gid;
unsigned char flags;
char rooted_name[1];
char name[];