summaryrefslogtreecommitdiffstats
path: root/src/dfu.h
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2012-02-05 22:38:10 +0100
committerGravatar Nikias Bassen2012-02-05 22:38:10 +0100
commit99158d9fd32a4a7961bea09e78ab249c2c3752c9 (patch)
tree81984f39997b22a6cc9f92896452b38a3f786aa0 /src/dfu.h
parent38d2408e87fe026df316067766ad5328d4284390 (diff)
downloadidevicerestore-99158d9fd32a4a7961bea09e78ab249c2c3752c9.tar.gz
idevicerestore-99158d9fd32a4a7961bea09e78ab249c2c3752c9.tar.bz2
add support for 0x1222 wtf mode
Diffstat (limited to 'src/dfu.h')
-rw-r--r--src/dfu.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/dfu.h b/src/dfu.h
index 34447bf..7351013 100644
--- a/src/dfu.h
+++ b/src/dfu.h
@@ -37,6 +37,11 @@ struct dfu_client_t {
int dfu_client_new(struct idevicerestore_client_t* client);
void dfu_client_free(struct idevicerestore_client_t* client);
+int dfu_check_mode(int* mode);
+int dfu_send_buffer(struct idevicerestore_client_t* client, char* buffer, uint32_t 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_get_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);