summaryrefslogtreecommitdiffstats
path: root/src/recovery.h
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2013-10-03 12:19:21 +0200
committerGravatar Nikias Bassen2013-10-03 12:19:21 +0200
commit7138a9cc3abc36b07b75bf41b9559fdaa57dc9f9 (patch)
tree1826ae0ada5a892d38d0c847675c4be0dc7b17da /src/recovery.h
parentb040d1b5f4732a431c1d900b55d6bbd3684f6c74 (diff)
downloadidevicerestore-7138a9cc3abc36b07b75bf41b9559fdaa57dc9f9.tar.gz
idevicerestore-7138a9cc3abc36b07b75bf41b9559fdaa57dc9f9.tar.bz2
AppleTV: set auto-boot to true again after restore
Apparently AppleTV units don't boot up in normal mode after restore but switch into recovery mode so we set auto-boot to true to make them boot up in normal mode.
Diffstat (limited to 'src/recovery.h')
-rw-r--r--src/recovery.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/recovery.h b/src/recovery.h
index 9ffb226..d9b4597 100644
--- a/src/recovery.h
+++ b/src/recovery.h
@@ -52,6 +52,7 @@ int recovery_send_ramdisk(struct idevicerestore_client_t* client, plist_t build_
int recovery_send_kernelcache(struct idevicerestore_client_t* client, plist_t build_identity);
int recovery_send_reset(struct idevicerestore_client_t* client);
int recovery_send_ticket(struct idevicerestore_client_t* client);
+int recovery_set_autoboot(struct idevicerestore_client_t* client, int enable);
int recovery_get_ecid(struct idevicerestore_client_t* client, uint64_t* ecid);
int recovery_get_nonce(struct idevicerestore_client_t* client, unsigned char** nonce, int* nonce_size);
int recovery_get_cpid(struct idevicerestore_client_t* client, uint32_t* cpid);