diff options
author | Timo Teräs <timo.teras@iki.fi> | 2011-04-07 14:14:27 +0300 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2011-04-07 14:14:27 +0300 |
commit | 91c4cc6c188bc20eddcd40e9b9b30f20dc2f36cf (patch) | |
tree | 68e8708f50b81ee95d59a71dec2c46bd1aae07c8 /src/apk_database.h | |
parent | 4a16ddbc1051c62e97e6a3332375051c8a06dc5b (diff) | |
download | apk-tools-91c4cc6c188bc20eddcd40e9b9b30f20dc2f36cf.tar.gz apk-tools-91c4cc6c188bc20eddcd40e9b9b30f20dc2f36cf.tar.bz2 apk-tools-91c4cc6c188bc20eddcd40e9b9b30f20dc2f36cf.tar.xz apk-tools-91c4cc6c188bc20eddcd40e9b9b30f20dc2f36cf.zip |
fetch: fix fetching of packages with arch
Diffstat (limited to 'src/apk_database.h')
-rw-r--r-- | src/apk_database.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/apk_database.h b/src/apk_database.h index 988a668..68bba08 100644 --- a/src/apk_database.h +++ b/src/apk_database.h @@ -183,6 +183,9 @@ int apk_db_add_repository(apk_database_t db, apk_blob_t repository); struct apk_repository *apk_db_select_repo(struct apk_database *db, struct apk_package *pkg); int apk_repository_update(struct apk_database *db, struct apk_repository *repo); +int apk_repo_format_filename(char *buf, size_t len, + const char *repourl, apk_blob_t *arch, + const char *pkgfile); int apk_db_cache_active(struct apk_database *db); void apk_cache_format_index(apk_blob_t to, struct apk_repository *repo); |