summaryrefslogtreecommitdiff
path: root/src/apk_database.h
diff options
context:
space:
mode:
authorTimo Teras <timo.teras@iki.fi>2008-11-28 13:34:40 +0200
committerTimo Teras <timo.teras@iki.fi>2008-11-28 13:34:40 +0200
commit5ea81ca564534e4ef5eefbe723a74dbf490e6e07 (patch)
tree4b113c19fef609669d9e2db48a88d577b5e64eb3 /src/apk_database.h
parent545a915fafbecbda0e278dfcc881984bd7a8b19b (diff)
downloadapk-tools-5ea81ca564534e4ef5eefbe723a74dbf490e6e07.tar.gz
apk-tools-5ea81ca564534e4ef5eefbe723a74dbf490e6e07.tar.bz2
apk-tools-5ea81ca564534e4ef5eefbe723a74dbf490e6e07.tar.xz
apk-tools-5ea81ca564534e4ef5eefbe723a74dbf490e6e07.zip
add: add support to install packages not in a repository
Diffstat (limited to 'src/apk_database.h')
-rw-r--r--src/apk_database.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/apk_database.h b/src/apk_database.h
index 7914a03..3e70383 100644
--- a/src/apk_database.h
+++ b/src/apk_database.h
@@ -93,7 +93,7 @@ int apk_db_create(const char *root);
int apk_db_open(struct apk_database *db, const char *root);
void apk_db_close(struct apk_database *db);
-int apk_db_pkg_add_file(struct apk_database *db, const char *file);
+struct apk_package *apk_db_pkg_add_file(struct apk_database *db, const char *file);
struct apk_package *apk_db_get_pkg(struct apk_database *db, csum_t sum);
void apk_db_index_write(struct apk_database *db, int fd);