summaryrefslogtreecommitdiffstats
path: root/src/dfu.h
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2012-02-09 02:39:05 +0100
committerGravatar Nikias Bassen2012-02-09 02:39:05 +0100
commita7dcea5c4cf995ec7fe40548afc781f7fd799210 (patch)
tree4930a20889947cb84be2bfd4b60e70bd0d949ad3 /src/dfu.h
parent829c6cc434e9d89a42bc9fb6dce3f4e320cd6e2d (diff)
downloadidevicerestore-a7dcea5c4cf995ec7fe40548afc781f7fd799210.tar.gz
idevicerestore-a7dcea5c4cf995ec7fe40548afc781f7fd799210.tar.bz2
add support for targeting a device by ECID
Diffstat (limited to 'src/dfu.h')
-rw-r--r--src/dfu.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dfu.h b/src/dfu.h
index 7351013..8df31f3 100644
--- a/src/dfu.h
+++ b/src/dfu.h
@@ -37,7 +37,7 @@ 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_check_mode(struct idevicerestore_client_t* client, 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);