From ec720cc1c30ac3f9b7996575e835565f60ce2b3e Mon Sep 17 00:00:00 2001 From: Martin Szulecki Date: Sun, 18 Aug 2013 05:28:53 +0200 Subject: Refactor userpref logic to use plist format and implement trust dialog handling iOS 7 introduced a new pairing workflow which increases security by showing a trust dialog to the user before pairing with the host is allowed. The userpref system was refactored to use the native plist format, too. Configuration files of the native implementations are used on each platform. Former configuration files are no longer in use and can be deleted. --- include/libimobiledevice/lockdown.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/libimobiledevice/lockdown.h b/include/libimobiledevice/lockdown.h index 8d1b324..233c796 100644 --- a/include/libimobiledevice/lockdown.h +++ b/include/libimobiledevice/lockdown.h @@ -52,6 +52,8 @@ extern "C" { #define LOCKDOWN_E_INVALID_HOST_ID -16 #define LOCKDOWN_E_INVALID_SERVICE -17 #define LOCKDOWN_E_INVALID_ACTIVATION_RECORD -18 +#define LOCKDOWN_E_PAIRING_DIALOG_PENDING -20 +#define LOCKDOWN_E_USER_DENIED_PAIRING -21 #define LOCKDOWN_E_UNKNOWN_ERROR -256 /*@}*/ @@ -65,8 +67,9 @@ typedef lockdownd_client_private *lockdownd_client_t; /**< The client handle. */ struct lockdownd_pair_record { char *device_certificate; /**< The device certificate */ char *host_certificate; /**< The host certificate */ - char *host_id; /**< A unique HostID for the host computer */ char *root_certificate; /**< The root certificate */ + char *host_id; /**< A unique HostID for the host computer */ + char *system_buid; /**< A unique system id */ }; /** A pair record holding device, host and root certificates along the host_id */ typedef struct lockdownd_pair_record *lockdownd_pair_record_t; -- cgit v1.1-32-gdbae