summaryrefslogtreecommitdiffstats
path: root/src/idevicerestore.h
diff options
context:
space:
mode:
authorGravatar Joshua Hill2010-06-04 05:03:33 +0800
committerGravatar rcg4u2010-06-09 17:17:28 +0800
commitf37ceaa046ac9114789a9334cfff04fba3805601 (patch)
tree4fd644fcc627793c6a705549c9454602a8c9007a /src/idevicerestore.h
parentbab56cf4083c2d0695215ba785019532ffae5749 (diff)
downloadidevicerestore-f37ceaa046ac9114789a9334cfff04fba3805601.tar.gz
idevicerestore-f37ceaa046ac9114789a9334cfff04fba3805601.tar.bz2
Continuing to refactor code and add support for other devices
Diffstat (limited to 'src/idevicerestore.h')
-rw-r--r--src/idevicerestore.h13
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;