diff options
author | Martin Szulecki | 2013-09-27 20:26:50 +0200 |
---|---|---|
committer | Martin Szulecki | 2013-09-27 20:26:50 +0200 |
commit | da393b9c399e0c5541311e07f68c4f2c337d50b7 (patch) | |
tree | 24af1abd80c5ca287e99985704ed7e05f976bd65 /src/dfu.h | |
parent | b2619fbc52e9728c57c4ad6f9579327abb0bbc51 (diff) | |
download | idevicerestore-da393b9c399e0c5541311e07f68c4f2c337d50b7.tar.gz idevicerestore-da393b9c399e0c5541311e07f68c4f2c337d50b7.tar.bz2 |
Require libirecovery >= 0.2.0 and port code to it's new API
Diffstat (limited to 'src/dfu.h')
-rw-r--r-- | src/dfu.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -40,7 +40,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(struct idevicerestore_client_t* client, int* mode); -int dfu_check_device(struct idevicerestore_client_t* client); +const char* dfu_check_product_type(struct idevicerestore_client_t* client); 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); |