summaryrefslogtreecommitdiffstats
path: root/src/restore.h
diff options
context:
space:
mode:
authorGravatar Joshua Hill2010-06-04 23:17:05 -0400
committerGravatar Joshua Hill2010-06-04 23:17:05 -0400
commit0966c00988477450691c8c9bce47a3fb30eff6da (patch)
tree73a8cf475e0fb13ba8957fb3a696b7340f5cba9c /src/restore.h
parent7e9d37959d7db900528d68d44445509f4abc6fdf (diff)
downloadidevicerestore-0966c00988477450691c8c9bce47a3fb30eff6da.tar.gz
idevicerestore-0966c00988477450691c8c9bce47a3fb30eff6da.tar.bz2
Even more major cleanups and refactoring, this branch is still broken but starting to mature really well
Diffstat (limited to 'src/restore.h')
-rw-r--r--src/restore.h15
1 files changed, 9 insertions, 6 deletions
diff --git a/src/restore.h b/src/restore.h
index f344b5d..99ba80b 100644
--- a/src/restore.h
+++ b/src/restore.h
@@ -22,16 +22,19 @@
#ifndef IDEVICERESTORE_RESTORE_H
#define IDEVICERESTORE_RESTORE_H
+#include <plist/plist.h>
#include <libimobiledevice/restore.h>
-
-#include "restore.h"
+#include <libimobiledevice/libimobiledevice.h>
int restore_check_mode(const char* uuid);
-int restore_handle_progress_msg(restored_client_t client, plist_t msg);
+const char* restore_progress_string(unsigned int operation);
+void restore_close(idevice_t device, restored_client_t restore);
int restore_handle_status_msg(restored_client_t client, plist_t msg);
-int restore_send_filesystem(idevice_t device, restored_client_t client, const char *filesystem);
+int restore_handle_progress_msg(restored_client_t client, plist_t msg);
+int restore_send_nor(restored_client_t client, const char* ipsw, plist_t tss);
int restore_send_kernelcache(restored_client_t client, char *kernel_data, int len);
-int restore_send_nor(restored_client_t client, char* ipsw, plist_t tss);
-const char* restore_progress_string(unsigned int operation);
+int restore_device(const char* uuid, const char* ipsw, plist_t tss, const char* filesystem);
+int restore_open_with_timeout(const char* uuid, idevice_t* device, restored_client_t* client);
+int restore_send_filesystem(idevice_t device, restored_client_t client, const char *filesystem);
#endif