diff options
Diffstat (limited to 'src/apk_database.h')
-rw-r--r-- | src/apk_database.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/apk_database.h b/src/apk_database.h index da29ce9..92a6fbd 100644 --- a/src/apk_database.h +++ b/src/apk_database.h @@ -277,7 +277,7 @@ int apk_cache_download(struct apk_database *db, struct apk_repository *repo, struct apk_package *pkg, int verify, int autoupdate, apk_progress_cb cb, void *cb_ctx); -typedef void (*apk_cache_item_cb)(struct apk_database *db, int static_cache, +typedef int (*apk_cache_item_cb)(struct apk_database *db, int static_cache, int dirfd, const char *name, struct apk_package *pkg); int apk_db_cache_foreach_item(struct apk_database *db, apk_cache_item_cb cb, int static_cache); |