diff options
author | 2010-06-03 17:03:33 -0400 | |
---|---|---|
committer | 2010-06-03 17:03:33 -0400 | |
commit | 95d83e38a95c9cf28ffa59611149fbba242449c4 (patch) | |
tree | 4fd644fcc627793c6a705549c9454602a8c9007a /src/idevicerestore.h | |
parent | 4d74cd31751165b671eba9a1b0936718b7f39b52 (diff) | |
download | idevicerestore-95d83e38a95c9cf28ffa59611149fbba242449c4.tar.gz idevicerestore-95d83e38a95c9cf28ffa59611149fbba242449c4.tar.bz2 |
Continuing to refactor code and add support for other devices
Diffstat (limited to 'src/idevicerestore.h')
-rw-r--r-- | src/idevicerestore.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/src/idevicerestore.h b/src/idevicerestore.h index f1861e9..40d5543 100644 --- a/src/idevicerestore.h +++ b/src/idevicerestore.h @@ -45,18 +45,18 @@ typedef enum { UNKNOWN_MODE = -1, DFU_MODE = 0, - NORMAL_MODE = 1, - RECOVERY_MODE = 2, - RESTORE_MODE = 3 + RECOVERY_MODE = 1, + RESTORE_MODE = 2, + NORMAL_MODE = 3, } idevicerestore_mode_t; typedef enum { UNKNOWN_DEVICE = -1, IPHONE2G_DEVICE = 0, IPHONE3G_DEVICE = 1, - IPHONE3GS_DEVICE = 2, - IPOD1G_DEVICE = 3, - IPOD2G_DEVICE = 4, + IPOD1G_DEVICE = 2, + IPOD2G_DEVICE = 3, + IPHONE3GS_DEVICE = 4, IPOD3G_DEVICE = 5, IPAD1G_DEVICE = 6 } idevicerestore_device_t; @@ -74,6 +74,7 @@ static char* idevicerestore_products[] = { extern int idevicerestore_quit; extern int idevicerestore_debug; +extern int idevicerestore_erase; extern int idevicerestore_custom; extern int idevicerestore_verbose; extern idevicerestore_mode_t idevicerestore_mode; |