diff options
author | Timo Teräs <timo.teras@iki.fi> | 2013-06-17 17:13:14 +0300 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2013-06-17 17:13:14 +0300 |
commit | ade8d0b4e9c206ab67dc8ef2006e8070011aae83 (patch) | |
tree | 6e9df56d13cfd344d0b1ab0e26012a20257c52ab /src/apk_database.h | |
parent | 0a131418899436b58a163978176d99c08cbddb0c (diff) | |
download | apk-tools-ade8d0b4e9c206ab67dc8ef2006e8070011aae83.tar.gz apk-tools-ade8d0b4e9c206ab67dc8ef2006e8070011aae83.tar.bz2 apk-tools-ade8d0b4e9c206ab67dc8ef2006e8070011aae83.tar.xz apk-tools-ade8d0b4e9c206ab67dc8ef2006e8070011aae83.zip |
cache: implement progress bar (ref #1170)
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 02ba196..03a0751 100644 --- a/src/apk_database.h +++ b/src/apk_database.h @@ -226,7 +226,8 @@ unsigned int apk_db_get_pinning_mask_repos(struct apk_database *db, unsigned sho int apk_db_cache_active(struct apk_database *db); int apk_cache_download(struct apk_database *db, struct apk_repository *repo, - struct apk_package *pkg, int verify); + struct apk_package *pkg, int verify, + apk_progress_cb cb, void *cb_ctx); typedef void (*apk_cache_item_cb)(struct apk_database *db, int dirfd, const char *name, |