diff options
Diffstat (limited to 'include/libimobiledevice/mobileactivation.h')
| -rw-r--r-- | include/libimobiledevice/mobileactivation.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/include/libimobiledevice/mobileactivation.h b/include/libimobiledevice/mobileactivation.h index bb1f3f4..b7f8064 100644 --- a/include/libimobiledevice/mobileactivation.h +++ b/include/libimobiledevice/mobileactivation.h | |||
| @@ -164,16 +164,18 @@ mobileactivation_error_t mobileactivation_activate(mobileactivation_client_t cli | |||
| 164 | 164 | ||
| 165 | /** | 165 | /** |
| 166 | * Activates the device with the given activation record in 'session' mode. | 166 | * Activates the device with the given activation record in 'session' mode. |
| 167 | * The activation record plist dictionary must be obtained using the | 167 | * The activation record plist must be obtained using the |
| 168 | * activation protocol requesting from Apple's https webservice. | 168 | * activation protocol requesting from Apple's https webservice. |
| 169 | * | 169 | * |
| 170 | * @param client The mobileactivation client | 170 | * @param client The mobileactivation client |
| 171 | * @param activation_record The activation record plist dictionary | 171 | * @param activation_record The activation record in plist format |
| 172 | * @param headers A plist dictionary with the activation response headers | ||
| 173 | * as returned from Apple's https webservice with the activation record | ||
| 172 | * | 174 | * |
| 173 | * @return MOBILEACTIVATION_E_SUCCESS on success, or an MOBILEACTIVATION_E_* | 175 | * @return MOBILEACTIVATION_E_SUCCESS on success, or an MOBILEACTIVATION_E_* |
| 174 | * error code otherwise. | 176 | * error code otherwise. |
| 175 | */ | 177 | */ |
| 176 | mobileactivation_error_t mobileactivation_activate_with_session(mobileactivation_client_t client, plist_t activation_record); | 178 | mobileactivation_error_t mobileactivation_activate_with_session(mobileactivation_client_t client, plist_t activation_record, plist_t headers); |
| 177 | 179 | ||
| 178 | /** | 180 | /** |
| 179 | * Deactivates the device. | 181 | * Deactivates the device. |
