summaryrefslogtreecommitdiffstats
path: root/src/dbi.h
diff options
context:
space:
mode:
authorOpenGnSys Support Team <soporte-og@soleta.eu>2023-12-12 16:49:25 +0100
committerOpenGnSys Support Team <soporte-og@soleta.eu>2023-12-12 17:02:44 +0100
commitee09056908bc925d018a5466629872434ac3edf6 (patch)
tree92866106311664e5e0558e83dc9ac101dc3c6cec /src/dbi.h
parente3b8f3d2f9ea5f1b3ea68c4d5ba862680f7851fa (diff)
client: parse permissions and lastupdate in /image/create response from clientv1.2.5-5
Use permissions and last update from client. update src/schema.c to add a new database version.
Diffstat (limited to 'src/dbi.h')
-rw-r--r--src/dbi.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/dbi.h b/src/dbi.h
index 7e0757c..feac3fb 100644
--- a/src/dbi.h
+++ b/src/dbi.h
@@ -57,11 +57,13 @@ struct og_image {
uint64_t software_id;
uint64_t center_id;
uint64_t datasize;
+ uint64_t size;
+ long int lastupdate;
uint64_t group_id;
uint64_t repo_id;
uint64_t type;
uint64_t id;
- struct stat image_stats;
+ uint32_t perms;
};
struct og_legacy_partition {