summaryrefslogtreecommitdiffstats
path: root/src/idevicerestore.h
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2015-10-09 03:05:21 +0200
committerGravatar Nikias Bassen2015-10-09 03:05:21 +0200
commit46ead9b3afd6e79fa05a391b94bc929e94101e33 (patch)
treed889975ee080fcd204cc408aa50a17205728c356 /src/idevicerestore.h
parent54d97a24791dfa879dc2c47092e99e234ecb2952 (diff)
downloadidevicerestore-46ead9b3afd6e79fa05a391b94bc929e94101e33.tar.gz
idevicerestore-46ead9b3afd6e79fa05a391b94bc929e94101e33.tar.bz2
Use hardware model instead of product type to identify device correctly
Diffstat (limited to 'src/idevicerestore.h')
-rw-r--r--src/idevicerestore.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/idevicerestore.h b/src/idevicerestore.h
index 1e2124a..931604c 100644
--- a/src/idevicerestore.h
+++ b/src/idevicerestore.h
@@ -3,7 +3,7 @@
* Restore device firmware and filesystem
*
* Copyright (c) 2010-2012 Martin Szulecki. All Rights Reserved.
- * Copyright (c) 2012 Nikias Bassen. All Rights Reserved.
+ * Copyright (c) 2012-2015 Nikias Bassen. All Rights Reserved.
* Copyright (c) 2010 Joshua Hill. All Rights Reserved.
*
* This library is free software; you can redistribute it and/or
@@ -73,7 +73,7 @@ const char* idevicerestore_get_error(void);
void usage(int argc, char* argv[]);
int check_mode(struct idevicerestore_client_t* client);
-const char* check_product_type(struct idevicerestore_client_t* client);
+const char* check_hardware_model(struct idevicerestore_client_t* client);
int get_ecid(struct idevicerestore_client_t* client, uint64_t* ecid);
int is_image4_supported(struct idevicerestore_client_t* client);
int get_ap_nonce(struct idevicerestore_client_t* client, unsigned char** nonce, int* nonce_size);