diff options
author | Joshua Hill | 2010-06-21 05:03:27 -0400 |
---|---|---|
committer | Joshua Hill | 2010-06-21 05:03:27 -0400 |
commit | ef2a1037524ad559658a31793d4a96e07773cebc (patch) | |
tree | 45416d3eadabe83df85c97a7ce326f27258376c3 /src/recovery.h | |
parent | 8708123ecfd708239137445c9f83c86a96ae63b7 (diff) | |
parent | b39abb66ffa5e26f38cb2ba03562d091decafc84 (diff) | |
download | idevicerestore-ef2a1037524ad559658a31793d4a96e07773cebc.tar.gz idevicerestore-ef2a1037524ad559658a31793d4a96e07773cebc.tar.bz2 |
Merge branch 'rcg'
Diffstat (limited to 'src/recovery.h')
-rw-r--r-- | src/recovery.h | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/src/recovery.h b/src/recovery.h index 5495638..1953c6a 100644 --- a/src/recovery.h +++ b/src/recovery.h @@ -19,19 +19,23 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ -#ifndef RECOVERY_H -#define RECOVERY_H +#ifndef IDEVICERESTORE_RECOVERY_H +#define IDEVICERESTORE_RECOVERY_H #include <stdint.h> #include <plist/plist.h> -int recovery_send_signed_component(irecv_client_t client, char* ipsw, plist_t tss, char* component); +int recovery_check_mode(); +int recovery_enter_restore(const char* uuid, const char* ipsw, plist_t tss); +int recovery_send_signed_component(irecv_client_t client, const char* ipsw, plist_t tss, char* component); irecv_error_t recovery_open_with_timeout(irecv_client_t* client); -int recovery_send_ibec(char* ipsw, plist_t tss); -int recovery_send_applelogo(char* ipsw, plist_t tss); -int recovery_send_devicetree(char* ipsw, plist_t tss); -int recovery_send_ramdisk(char* ipsw, plist_t tss); -int recovery_send_kernelcache(char* ipsw, plist_t tss); +int recovery_send_ibec(const char* ipsw, plist_t tss); +int recovery_send_applelogo(const char* ipsw, plist_t tss); +int recovery_send_devicetree(const char* ipsw, plist_t tss); +int recovery_send_ramdisk(const char* ipsw, plist_t tss); +int recovery_send_kernelcache(const char* ipsw, plist_t tss); int recovery_get_ecid(uint64_t* ecid); +int recovery_get_cpid(uint32_t* cpid); +int recovery_get_bdid(uint32_t* bdid); #endif |