summaryrefslogtreecommitdiffstats
path: root/src/restore.h
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2012-07-17 16:05:17 +0200
committerGravatar Nikias Bassen2012-07-17 16:05:17 +0200
commit995ed659864e14b7c55ee948889b3ffff7ff4991 (patch)
treec24e26ef05213a05e75d702e3123cb70fb0aa4f9 /src/restore.h
parent5e8990bf24b1f5319d1d1d00007f02919753b175 (diff)
downloadidevicerestore-995ed659864e14b7c55ee948889b3ffff7ff4991.tar.gz
idevicerestore-995ed659864e14b7c55ee948889b3ffff7ff4991.tar.bz2
main/restore: Pass full client to restore mode and device discovery functions
Diffstat (limited to 'src/restore.h')
-rw-r--r--src/restore.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/restore.h b/src/restore.h
index 6e9c96e..7ad0d9f 100644
--- a/src/restore.h
+++ b/src/restore.h
@@ -40,8 +40,8 @@ struct restore_client_t {
restored_client_t client;
};
-int restore_check_mode(const char* udid);
-int restore_check_device(const char* udid);
+int restore_check_mode(struct idevicerestore_client_t* client);
+int restore_check_device(struct idevicerestore_client_t* client);
int restore_client_new(struct idevicerestore_client_t* client);
void restore_client_free(struct idevicerestore_client_t* client);
int restore_reboot(struct idevicerestore_client_t* client);