summaryrefslogtreecommitdiff
path: root/src/apk_database.h
diff options
context:
space:
mode:
authorTimo Teras <timo.teras@iki.fi>2009-07-22 20:47:21 +0300
committerTimo Teras <timo.teras@iki.fi>2009-07-22 20:47:21 +0300
commit718ef3079ea18fcb588264d26e3316628ad18ba0 (patch)
tree7a945f9ad7510096854bb2f599271b7a73aafa95 /src/apk_database.h
parent9b77c053e8fd03348ed04ba09ceaaf7ba99ca6f6 (diff)
downloadapk-tools-718ef3079ea18fcb588264d26e3316628ad18ba0.tar.gz
apk-tools-718ef3079ea18fcb588264d26e3316628ad18ba0.tar.bz2
apk-tools-718ef3079ea18fcb588264d26e3316628ad18ba0.tar.xz
apk-tools-718ef3079ea18fcb588264d26e3316628ad18ba0.zip
add: fixes to installing non-repository package
make sure cache is enabled on non-permanent rootfs setups. some optimizations and fixes too.
Diffstat (limited to 'src/apk_database.h')
-rw-r--r--src/apk_database.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/apk_database.h b/src/apk_database.h
index 0edf4f2..46e6152 100644
--- a/src/apk_database.h
+++ b/src/apk_database.h
@@ -134,6 +134,7 @@ int apk_db_open(struct apk_database *db, const char *root, unsigned int flags);
int apk_db_write_config(struct apk_database *db);
void apk_db_close(struct apk_database *db);
int apk_db_cache_active(struct apk_database *db);
+int apk_db_permanent(struct apk_database *db);
struct apk_package *apk_db_pkg_add(struct apk_database *db, struct apk_package *pkg);
struct apk_package *apk_db_get_pkg(struct apk_database *db, struct apk_checksum *csum);