From 3f8dea9bd12c4b4c52224b1a84835fa56df53fb2 Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Tue, 19 Nov 2013 21:38:31 +0100 Subject: Add helper function to check if device supports image4 format --- src/common.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/common.h') diff --git a/src/common.h b/src/common.h index a634e6f..2ea4a91 100644 --- a/src/common.h +++ b/src/common.h @@ -42,6 +42,13 @@ extern "C" { #define FLAG_QUIT 1 +#define CPFM_FLAG_SECURITY_MODE 1 << 0 +#define CPFM_FLAG_PRODUCTION_MODE 1 << 1 + +#define IBOOT_FLAG_IMAGE4_AWARE 1 << 2 +#define IBOOT_FLAG_EFFECTIVE_SECURITY_MODE 1 << 3 +#define IBOOT_FLAG_EFFECTIVE_PRODUCTION_MODE 1 << 4 + struct dfu_client_t; struct normal_client_t; struct restore_client_t; @@ -70,6 +77,7 @@ struct idevicerestore_client_t { uint64_t ecid; unsigned char* nonce; int nonce_size; + int image4supported; char* udid; char* srnm; char* ipsw; -- cgit v1.1-32-gdbae