diff options
author | 2025-06-23 14:00:10 +0200 | |
---|---|---|
committer | 2025-06-23 14:00:10 +0200 | |
commit | 8061f08b4e0a8f0ab5d1548b7e9978f3cc8647a2 (patch) | |
tree | 5e01ac6e10a00c065dc5edf80adbd2ee4ce273e3 /src/idevicerestore.h | |
parent | a5905b7f905fc3cc83033ebd963f0dcba071e512 (diff) | |
download | idevicerestore-8061f08b4e0a8f0ab5d1548b7e9978f3cc8647a2.tar.gz idevicerestore-8061f08b4e0a8f0ab5d1548b7e9978f3cc8647a2.tar.bz2 |
Refactor logging and add logfile support
idevicerestore will now also create a logfile automatically, unless
disabled with --logfile=NONE.
Diffstat (limited to 'src/idevicerestore.h')
-rw-r--r-- | src/idevicerestore.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/idevicerestore.h b/src/idevicerestore.h index fe9d11f..1e01672 100644 --- a/src/idevicerestore.h +++ b/src/idevicerestore.h @@ -46,6 +46,7 @@ extern "C" { #define FLAG_ALLOW_RESTORE_MODE (1 << 10) #define FLAG_NO_RESTORE (1 << 11) #define FLAG_IGNORE_ERRORS (1 << 12) +#define FLAG_IN_PROGRESS (1 << 30) #define RESTORE_VARIANT_ERASE_INSTALL "Erase Install (IPSW)" #define RESTORE_VARIANT_UPGRADE_INSTALL "Upgrade Install (IPSW)" @@ -83,9 +84,6 @@ void idevicerestore_set_flags(struct idevicerestore_client_t* client, int flags) void idevicerestore_set_ipsw(struct idevicerestore_client_t* client, const char* path); void idevicerestore_set_cache_path(struct idevicerestore_client_t* client, const char* path); void idevicerestore_set_progress_callback(struct idevicerestore_client_t* client, idevicerestore_progress_cb_t cbfunc, void* userdata); -void idevicerestore_set_info_stream(FILE* strm); -void idevicerestore_set_error_stream(FILE* strm); -void idevicerestore_set_debug_stream(FILE* strm); int idevicerestore_start(struct idevicerestore_client_t* client); const char* idevicerestore_get_error(void); |