diff options
author | Martin Szulecki | 2013-08-18 05:28:53 +0200 |
---|---|---|
committer | Martin Szulecki | 2013-09-17 11:43:33 +0200 |
commit | ec720cc1c30ac3f9b7996575e835565f60ce2b3e (patch) | |
tree | f92476e06ce36ab56348544fb9ae614ec10d904c /include | |
parent | 36e636a727ecbae7083878ceb493b26046a47179 (diff) | |
download | libimobiledevice-ec720cc1c30ac3f9b7996575e835565f60ce2b3e.tar.gz libimobiledevice-ec720cc1c30ac3f9b7996575e835565f60ce2b3e.tar.bz2 |
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.
Diffstat (limited to 'include')
-rw-r--r-- | include/libimobiledevice/lockdown.h | 5 |
1 files changed, 4 insertions, 1 deletions
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; |