From 28c1dab3c2c631d8bea7d0a08aa48a1e11da7eff Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Mon, 24 Jun 2024 12:42:22 +0200 Subject: Add support for iOS 18 restore process --- src/asr.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/asr.h') diff --git a/src/asr.h b/src/asr.h index 0d9534c..4473fbb 100644 --- a/src/asr.h +++ b/src/asr.h @@ -30,6 +30,8 @@ extern "C" { #include +#define ASR_DEFAULT_PORT 12345 + typedef void (*asr_progress_cb_t)(double, void*); struct asr_client { @@ -44,7 +46,7 @@ typedef struct asr_client *asr_client_t; struct ipsw_file_handle; typedef struct ipsw_file_handle* ipsw_file_handle_t; -int asr_open_with_timeout(idevice_t device, asr_client_t* asr); +int asr_open_with_timeout(idevice_t device, asr_client_t* asr, uint16_t port); void asr_set_progress_callback(asr_client_t asr, asr_progress_cb_t, void* userdata); int asr_send(asr_client_t asr, plist_t data); int asr_receive(asr_client_t asr, plist_t* data); -- cgit v1.1-32-gdbae