summaryrefslogtreecommitdiffstats
path: root/src/restore.h
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2012-02-02 22:38:37 +0100
committerGravatar Nikias Bassen2012-02-02 22:38:37 +0100
commitea36c9e71c1f945a01e292bc4de95216be869814 (patch)
tree9139bc6d82aedebd8f473ffc78b8b244d9f9dc39 /src/restore.h
parenta657e472691dc02198f4849f2c9a05926b41fd66 (diff)
downloadidevicerestore-ea36c9e71c1f945a01e292bc4de95216be869814.tar.gz
idevicerestore-ea36c9e71c1f945a01e292bc4de95216be869814.tar.bz2
restore: some updates and fixes
Diffstat (limited to 'src/restore.h')
-rw-r--r--src/restore.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/restore.h b/src/restore.h
index eea63bc..deb8506 100644
--- a/src/restore.h
+++ b/src/restore.h
@@ -33,7 +33,7 @@ extern "C" {
struct restore_client_t {
plist_t tss;
idevice_t device;
- const char* uuid;
+ char* uuid;
unsigned int operation;
const char* filesystem;
uint64_t protocol_version;
@@ -50,6 +50,7 @@ int restore_handle_status_msg(restored_client_t client, plist_t msg);
int restore_handle_progress_msg(restored_client_t client, plist_t msg);
int restore_handle_data_request_msg(struct idevicerestore_client_t* client, idevice_t device, restored_client_t restore, plist_t message, plist_t build_identity, const char* filesystem);
int restore_send_nor(restored_client_t restore, struct idevicerestore_client_t* client, plist_t build_identity);
+int restore_send_root_ticket(restored_client_t restore, struct idevicerestore_client_t* client);
int restore_send_kernelcache(restored_client_t restore, struct idevicerestore_client_t* client, plist_t build_identity);
int restore_device(struct idevicerestore_client_t* client, plist_t build_identity, const char* filesystem);
int restore_open_with_timeout(struct idevicerestore_client_t* client);