summaryrefslogtreecommitdiffstats
path: root/src/dfu.h
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2013-11-19 21:38:31 +0100
committerGravatar Nikias Bassen2013-11-19 21:38:31 +0100
commit3f8dea9bd12c4b4c52224b1a84835fa56df53fb2 (patch)
tree4a5ee3b9be4d6a521899e4342c49e9decb1c5a08 /src/dfu.h
parentaee53bef0385841109432948dbf814907a7d2dca (diff)
downloadidevicerestore-3f8dea9bd12c4b4c52224b1a84835fa56df53fb2.tar.gz
idevicerestore-3f8dea9bd12c4b4c52224b1a84835fa56df53fb2.tar.bz2
Add helper function to check if device supports image4 format
Diffstat (limited to 'src/dfu.h')
-rw-r--r--src/dfu.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/dfu.h b/src/dfu.h
index 36badb2..427754a 100644
--- a/src/dfu.h
+++ b/src/dfu.h
@@ -44,6 +44,7 @@ const char* dfu_check_product_type(struct idevicerestore_client_t* client);
int dfu_send_buffer(struct idevicerestore_client_t* client, unsigned char* buffer, unsigned int size);
int dfu_send_component(struct idevicerestore_client_t* client, plist_t build_identity, const char* component);
int dfu_get_cpid(struct idevicerestore_client_t* client, unsigned int* cpid);
+int dfu_is_image4_supported(struct idevicerestore_client_t* client);
int dfu_get_ap_nonce(struct idevicerestore_client_t* client, unsigned char** nonce, int* nonce_size);
int dfu_get_sep_nonce(struct idevicerestore_client_t* client, unsigned char** nonce, int* nonce_size);
int dfu_enter_recovery(struct idevicerestore_client_t* client, plist_t build_identity);