From 1c15165f9688a344c6f68af2a8c5874d2ed307b7 Mon Sep 17 00:00:00 2001 From: hydazz Date: Thu, 26 Nov 2026 23:44:34 +1100 Subject: restore: Allow the caller to select the post-restore action --- src/idevicerestore.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/idevicerestore.h') 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); -- cgit v1.1-32-gdbae