From 6085ed7429986c7dec579fe1f1303ae6651ea1f2 Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Thu, 9 Nov 2023 01:56:08 +0100 Subject: Print progress for large components (e.g. Cryptex) --- src/ipsw.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ipsw.h') diff --git a/src/ipsw.h b/src/ipsw.h index 56faf94..f0e11a1 100644 --- a/src/ipsw.h +++ b/src/ipsw.h @@ -44,7 +44,7 @@ void ipsw_close(ipsw_archive_t ipsw); int ipsw_print_info(const char* ipsw); typedef int (*ipsw_list_cb)(void *ctx, ipsw_archive_t ipsw, const char *name, struct stat *stat); -typedef int (*ipsw_send_cb)(void *ctx, void *data, size_t size); +typedef int (*ipsw_send_cb)(void *ctx, void *data, size_t size, size_t done, size_t total_size); struct ipsw_file_handle { FILE* file; -- cgit v1.1-32-gdbae