diff options
author | Joshua Hill | 2010-06-22 15:06:55 -0400 |
---|---|---|
committer | Joshua Hill | 2010-06-22 15:06:55 -0400 |
commit | 38c965c16625d26915b3d4998a8a7e790c834d89 (patch) | |
tree | 227333a4a327c66b23cad380ee8c9614c315aa5f /src/restore.h | |
parent | 61db8cf5abc37ea0da1878961f209f3eb2ba31bf (diff) | |
download | idevicerestore-38c965c16625d26915b3d4998a8a7e790c834d89.tar.gz idevicerestore-38c965c16625d26915b3d4998a8a7e790c834d89.tar.bz2 |
Reverted rcg4u merge, didn't realize this was actually from posixninja branch
Diffstat (limited to 'src/restore.h')
-rw-r--r-- | src/restore.h | 22 |
1 files changed, 8 insertions, 14 deletions
diff --git a/src/restore.h b/src/restore.h index cf9cf51..644658a 100644 --- a/src/restore.h +++ b/src/restore.h @@ -19,24 +19,18 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ -#ifndef IDEVICERESTORE_RESTORE_H -#define IDEVICERESTORE_RESTORE_H +#ifndef RESTORED_H +#define RESTORED_H -#include <plist/plist.h> #include <libimobiledevice/restore.h> -#include <libimobiledevice/libimobiledevice.h> -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); +#include "restore.h" + 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_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_send_kernelcache(restored_client_t client, char *kernel_data, int len); -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); +int restore_send_nor_data(restored_client_t client, char* ipsw, plist_t tss); +const char* restore_progress_string(unsigned int operation); #endif |