Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
return NULL;
}
-pakfire_ctx* pakfire_root_get_ctx(pakfire_root* self) {
- return pakfire_ctx_ref(self->ctx);
-}
-
int pakfire_root_has_flag(pakfire_root* self, const int flag) {
return self->flags & flag;
}
// Snapshots
int pakfire_root_update_snapshot(pakfire_root* pakfire);
-pakfire_ctx* pakfire_root_get_ctx(pakfire_root* pakfire);
-
const char* pakfire_root_get_effective_arch(pakfire_root* pakfire);
int pakfire_root_on_root(pakfire_root* pakfire);