summaryrefslogtreecommitdiffstats
path: root/src/idevicerestore.h
diff options
context:
space:
mode:
authorGravatar hydazz2026-11-26 23:44:34 +1100
committerGravatar hydazz2026-11-26 23:44:34 +1100
commit1c15165f9688a344c6f68af2a8c5874d2ed307b7 (patch)
tree4c46ee1b9d68897810b937991ea9f56fa0183314 /src/idevicerestore.h
parent037467283fb3b3cd72a664caa9a935a641365616 (diff)
downloadidevicerestore-1c15165f9688a344c6f68af2a8c5874d2ed307b7.tar.gz
idevicerestore-1c15165f9688a344c6f68af2a8c5874d2ed307b7.tar.bz2
restore: Allow the caller to select the post-restore action
Diffstat (limited to 'src/idevicerestore.h')
-rw-r--r--src/idevicerestore.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/idevicerestore.h b/src/idevicerestore.h
index ce8686f..2b98191 100644
--- a/src/idevicerestore.h
+++ b/src/idevicerestore.h
@@ -85,6 +85,9 @@ void idevicerestore_set_flags(struct idevicerestore_client_t* client, int flags)
void idevicerestore_set_ipsw(struct idevicerestore_client_t* client, const char* path);
void idevicerestore_set_cache_path(struct idevicerestore_client_t* client, const char* path);
void idevicerestore_set_progress_callback(struct idevicerestore_client_t* client, idevicerestore_progress_cb_t cbfunc, void* userdata);
+/* What the restore OS does once it has sent its final status: "Reboot" (its
+ * default) or "Shutdown". NULL sends no PostRestoreAction. */
+void idevicerestore_set_post_restore_action(struct idevicerestore_client_t* client, const char* action);
int idevicerestore_start(struct idevicerestore_client_t* client);
const char* idevicerestore_get_error(void);