This should save us a couple of bytes of memory
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
int flags;
- // Pool stuff
+ // Pool
Pool* pool;
- int pool_ready;
// Logging
pakfire_log_function_t log_function;
int nrefs;
struct pakfire_config* config;
- int build_setup;
- int mount_tmpfs;
STAILQ_HEAD(mountpoints, mountpoint) mountpoints;
- int destroy_on_free;
struct pakfire_distro {
char pretty_name[256];
// GPG Context
gpgme_ctx_t gpgctx;
+
+ // States
+ int build_setup:1;
+ int destroy_on_free:1;
+ int mount_tmpfs:1;
+ int pool_ready:1;
};
/*