diff options
author | Nikias Bassen | 2012-02-09 02:39:05 +0100 |
---|---|---|
committer | Nikias Bassen | 2012-02-09 02:39:05 +0100 |
commit | a7dcea5c4cf995ec7fe40548afc781f7fd799210 (patch) | |
tree | 4930a20889947cb84be2bfd4b60e70bd0d949ad3 /src/normal.h | |
parent | 829c6cc434e9d89a42bc9fb6dce3f4e320cd6e2d (diff) | |
download | idevicerestore-a7dcea5c4cf995ec7fe40548afc781f7fd799210.tar.gz idevicerestore-a7dcea5c4cf995ec7fe40548afc781f7fd799210.tar.bz2 |
add support for targeting a device by ECID
Diffstat (limited to 'src/normal.h')
-rw-r--r-- | src/normal.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/normal.h b/src/normal.h index e86bf14..4ca6664 100644 --- a/src/normal.h +++ b/src/normal.h @@ -38,15 +38,15 @@ struct normal_client_t { }; -int normal_check_mode(const char* uuid); -int normal_check_device(const char* uuid); +int normal_check_mode(struct idevicerestore_client_t* client); +int normal_check_device(struct idevicerestore_client_t* client); int normal_client_new(struct idevicerestore_client_t* client); void normal_client_free(struct idevicerestore_client_t* client); int normal_open_with_timeout(struct idevicerestore_client_t* client); int normal_enter_recovery(struct idevicerestore_client_t* client); -int normal_get_cpid(const char* uuid, uint32_t* cpid); -int normal_get_bdid(const char* uuid, uint32_t* cpid); -int normal_get_ecid(const char* uuid, uint64_t* ecid); +int normal_get_cpid(struct idevicerestore_client_t* client, uint32_t* cpid); +int normal_get_bdid(struct idevicerestore_client_t* client, uint32_t* bdid); +int normal_get_ecid(struct idevicerestore_client_t* client, uint64_t* ecid); #ifdef __cplusplus } |