summaryrefslogtreecommitdiffstats
path: root/src/restore.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/restore.h')
-rw-r--r--src/restore.h22
1 files changed, 14 insertions, 8 deletions
diff --git a/src/restore.h b/src/restore.h
index 644658a..cf9cf51 100644
--- a/src/restore.h
+++ b/src/restore.h
@@ -19,18 +19,24 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef RESTORED_H
-#define RESTORED_H
+#ifndef IDEVICERESTORE_RESTORE_H
+#define IDEVICERESTORE_RESTORE_H
+#include <plist/plist.h>
#include <libimobiledevice/restore.h>
+#include <libimobiledevice/libimobiledevice.h>
-#include "restore.h"
-
-int restore_handle_progress_msg(restored_client_t client, plist_t msg);
+int restore_reboot(const char* uuid);
+int restore_check_mode(const char* uuid);
+int restore_check_device(const char* uuid);
+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 asr_send_system_image_data_from_file(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_data(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, const char* filesystem);
#endif