diff options
author | Nikias Bassen | 2024-03-23 04:25:21 +0100 |
---|---|---|
committer | Nikias Bassen | 2024-03-23 04:25:21 +0100 |
commit | e4a5ac4114177293e3a1b555ee767377b21d4432 (patch) | |
tree | 42d88df9ed5a4163de8d29ce1f2850277d422db4 /src/dfu.h | |
parent | babf9add7f1f5df7d8093e7d26d73b674ecd246b (diff) | |
download | idevicerestore-e4a5ac4114177293e3a1b555ee767377b21d4432.tar.gz idevicerestore-e4a5ac4114177293e3a1b555ee767377b21d4432.tar.bz2 |
Add support for Port DFU device restore
Diffstat (limited to 'src/dfu.h')
-rw-r--r-- | src/dfu.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -41,9 +41,13 @@ int dfu_client_new(struct idevicerestore_client_t* client); void dfu_client_free(struct idevicerestore_client_t* client); irecv_device_t dfu_get_irecv_device(struct idevicerestore_client_t* client); int dfu_send_buffer(struct idevicerestore_client_t* client, unsigned char* buffer, unsigned int size); +int dfu_send_buffer_with_options(struct idevicerestore_client_t* client, unsigned char* buffer, unsigned int size, unsigned int irecv_options); int dfu_send_component(struct idevicerestore_client_t* client, plist_t build_identity, const char* component); +int dfu_get_bdid(struct idevicerestore_client_t* client, unsigned int* bdid); int dfu_get_cpid(struct idevicerestore_client_t* client, unsigned int* cpid); +int dfu_get_prev(struct idevicerestore_client_t* client, unsigned int* prev); int dfu_is_image4_supported(struct idevicerestore_client_t* client); +int dfu_get_portdfu_nonce(struct idevicerestore_client_t* client, unsigned char** nonce, unsigned int* nonce_size); int dfu_get_ap_nonce(struct idevicerestore_client_t* client, unsigned char** nonce, unsigned int* nonce_size); int dfu_get_sep_nonce(struct idevicerestore_client_t* client, unsigned char** nonce, unsigned int* nonce_size); int dfu_enter_recovery(struct idevicerestore_client_t* client, plist_t build_identity); |