From 6d5a3d6a35a8610f83d6a69156cfe1b64da4f2bd Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Thu, 29 Aug 2019 08:29:14 +0200 Subject: preboard: Remove development notes from preboard.c and add info to public header --- src/preboard.c | 63 ---------------------------------------------------------- 1 file changed, 63 deletions(-) (limited to 'src') diff --git a/src/preboard.c b/src/preboard.c index 7b27a34..b975f0e 100644 --- a/src/preboard.c +++ b/src/preboard.c @@ -229,73 +229,10 @@ LIBIMOBILEDEVICE_API preboard_error_t preboard_create_stashbag(preboard_client_t } return preboard_receive_status_loop_with_callback(client, status_cb, user_data); - - // return { ShowDialog: true} or {Timeout: true} followed by {HideDialog: true} - // or { Error: 1, ErrorString: } - - -/* - - - - - ShowDialog - - Version - 2 - - - -for success, it will send the HideDialog message, then wait up to 14400 seconds (4h) for the device to reboot? - - - - - - - - - Error - 1 - ErrorString - user authentication failed: Error Domain=com.apple.LocalAuthentication Code=-2 "Canceled by user." UserInfo={BiometryType=1, NSLocalizedDescription=Canceled by user.} - Version - 2 - - - - - - - - - - Timeout - - Version - 2 - - - - - - - - HideDialog - - Version - 2 - - - -*/ } LIBIMOBILEDEVICE_API preboard_error_t preboard_commit_stashbag(preboard_client_t client, plist_t manifest, preboard_status_cb_t status_cb, void *user_data) { - // returns { StashbagCommitComplete: true } - // or { StashbagCommitComplete: 0, Error: 1, ErrorString: } - if (!client) { return PREBOARD_E_INVALID_ARG; } -- cgit v1.1-32-gdbae