diff options
author | Timo Teras <timo.teras@iki.fi> | 2009-07-20 11:13:03 +0300 |
---|---|---|
committer | Timo Teras <timo.teras@iki.fi> | 2009-07-20 11:13:03 +0300 |
commit | eca9c22205105eba20e1e28ddae8ad9da81c5323 (patch) | |
tree | 3a31082b2a5082c10047249a0348478f77c93cf7 /src/apk_database.h | |
parent | 99be653f141f57e1474bd645efd770aa3e3bd68f (diff) | |
download | apk-tools-eca9c22205105eba20e1e28ddae8ad9da81c5323.tar.gz apk-tools-eca9c22205105eba20e1e28ddae8ad9da81c5323.tar.bz2 apk-tools-eca9c22205105eba20e1e28ddae8ad9da81c5323.tar.xz apk-tools-eca9c22205105eba20e1e28ddae8ad9da81c5323.zip |
db: signed index loading (ref #46)
prefer index in the new format as signed .tar.gz.
Diffstat (limited to 'src/apk_database.h')
-rw-r--r-- | src/apk_database.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/apk_database.h b/src/apk_database.h index 979d0e8..4cf8b14 100644 --- a/src/apk_database.h +++ b/src/apk_database.h @@ -21,6 +21,7 @@ #define APK_CACHE_CSUM_BYTES 4 extern const char * const apk_index_gz; +extern const char * const apkindex_tar_gz; struct apk_name; APK_ARRAY(apk_name_array, struct apk_name *); @@ -144,7 +145,7 @@ int apk_db_index_write(struct apk_database *db, struct apk_ostream *os); int apk_db_add_repository(apk_database_t db, apk_blob_t repository); int apk_repository_update(struct apk_database *db, struct apk_repository *repo); int apk_cache_download(struct apk_database *db, struct apk_checksum *csum, - const char *url, const char *item); + const char *url, const char *item, int verify); int apk_cache_exists(struct apk_database *db, struct apk_checksum *csum, const char *item); |