diff options
Diffstat (limited to 'include/libimobiledevice/mobileactivation.h')
-rw-r--r-- | include/libimobiledevice/mobileactivation.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/include/libimobiledevice/mobileactivation.h b/include/libimobiledevice/mobileactivation.h index 774c116..8e036a8 100644 --- a/include/libimobiledevice/mobileactivation.h +++ b/include/libimobiledevice/mobileactivation.h | |||
@@ -59,7 +59,7 @@ typedef mobileactivation_client_private *mobileactivation_client_t; /**< The cli | |||
59 | * MOBILEACTIVATION_E_INVALID_ARG when one of the parameters is invalid, | 59 | * MOBILEACTIVATION_E_INVALID_ARG when one of the parameters is invalid, |
60 | * or MOBILEACTIVATION_E_MUX_ERROR when the connection failed. | 60 | * or MOBILEACTIVATION_E_MUX_ERROR when the connection failed. |
61 | */ | 61 | */ |
62 | mobileactivation_error_t mobileactivation_client_new(idevice_t device, lockdownd_service_descriptor_t service, mobileactivation_client_t *client); | 62 | LIBIMOBILEDEVICE_API mobileactivation_error_t mobileactivation_client_new(idevice_t device, lockdownd_service_descriptor_t service, mobileactivation_client_t *client); |
63 | 63 | ||
64 | /** | 64 | /** |
65 | * Starts a new mobileactivation service on the specified device and connects to it. | 65 | * Starts a new mobileactivation service on the specified device and connects to it. |
@@ -74,7 +74,7 @@ mobileactivation_error_t mobileactivation_client_new(idevice_t device, lockdownd | |||
74 | * @return MOBILEACTIVATION_E_SUCCESS on success, or an MOBILEACTIVATION_E_* | 74 | * @return MOBILEACTIVATION_E_SUCCESS on success, or an MOBILEACTIVATION_E_* |
75 | * error code otherwise. | 75 | * error code otherwise. |
76 | */ | 76 | */ |
77 | mobileactivation_error_t mobileactivation_client_start_service(idevice_t device, mobileactivation_client_t* client, const char* label); | 77 | LIBIMOBILEDEVICE_API mobileactivation_error_t mobileactivation_client_start_service(idevice_t device, mobileactivation_client_t* client, const char* label); |
78 | 78 | ||
79 | /** | 79 | /** |
80 | * Disconnects a mobileactivation client from the device and frees up the | 80 | * Disconnects a mobileactivation client from the device and frees up the |
@@ -87,7 +87,7 @@ mobileactivation_error_t mobileactivation_client_start_service(idevice_t device, | |||
87 | * is invalid, or MOBILEACTIVATION_E_UNKNOWN_ERROR when the was an | 87 | * is invalid, or MOBILEACTIVATION_E_UNKNOWN_ERROR when the was an |
88 | * error freeing the parent property_list_service client. | 88 | * error freeing the parent property_list_service client. |
89 | */ | 89 | */ |
90 | mobileactivation_error_t mobileactivation_client_free(mobileactivation_client_t client); | 90 | LIBIMOBILEDEVICE_API mobileactivation_error_t mobileactivation_client_free(mobileactivation_client_t client); |
91 | 91 | ||
92 | 92 | ||
93 | /** | 93 | /** |
@@ -102,7 +102,7 @@ mobileactivation_error_t mobileactivation_client_free(mobileactivation_client_t | |||
102 | * @return MOBILEACTIVATION_E_SUCCESS on success, or an MOBILEACTIVATION_E_* | 102 | * @return MOBILEACTIVATION_E_SUCCESS on success, or an MOBILEACTIVATION_E_* |
103 | * error code otherwise. | 103 | * error code otherwise. |
104 | */ | 104 | */ |
105 | mobileactivation_error_t mobileactivation_get_activation_state(mobileactivation_client_t client, plist_t *state); | 105 | LIBIMOBILEDEVICE_API mobileactivation_error_t mobileactivation_get_activation_state(mobileactivation_client_t client, plist_t *state); |
106 | 106 | ||
107 | /** | 107 | /** |
108 | * Retrieves a session blob required for 'drmHandshake' via albert.apple.com. | 108 | * Retrieves a session blob required for 'drmHandshake' via albert.apple.com. |
@@ -116,7 +116,7 @@ mobileactivation_error_t mobileactivation_get_activation_state(mobileactivation_ | |||
116 | * @return MOBILEACTIVATION_E_SUCCESS on success, or an MOBILEACTIVATION_E_* | 116 | * @return MOBILEACTIVATION_E_SUCCESS on success, or an MOBILEACTIVATION_E_* |
117 | * error code otherwise. | 117 | * error code otherwise. |
118 | */ | 118 | */ |
119 | mobileactivation_error_t mobileactivation_create_activation_session_info(mobileactivation_client_t client, plist_t *blob); | 119 | LIBIMOBILEDEVICE_API mobileactivation_error_t mobileactivation_create_activation_session_info(mobileactivation_client_t client, plist_t *blob); |
120 | 120 | ||
121 | /** | 121 | /** |
122 | * Retrieves the activation info required for device activation. | 122 | * Retrieves the activation info required for device activation. |
@@ -130,7 +130,7 @@ mobileactivation_error_t mobileactivation_create_activation_session_info(mobilea | |||
130 | * @return MOBILEACTIVATION_E_SUCCESS on success, or an MOBILEACTIVATION_E_* | 130 | * @return MOBILEACTIVATION_E_SUCCESS on success, or an MOBILEACTIVATION_E_* |
131 | * error code otherwise. | 131 | * error code otherwise. |
132 | */ | 132 | */ |
133 | mobileactivation_error_t mobileactivation_create_activation_info(mobileactivation_client_t client, plist_t *info); | 133 | LIBIMOBILEDEVICE_API mobileactivation_error_t mobileactivation_create_activation_info(mobileactivation_client_t client, plist_t *info); |
134 | 134 | ||
135 | /** | 135 | /** |
136 | * Retrieves the activation info required for device activation in 'session' | 136 | * Retrieves the activation info required for device activation in 'session' |
@@ -148,7 +148,7 @@ mobileactivation_error_t mobileactivation_create_activation_info(mobileactivatio | |||
148 | * @return MOBILEACTIVATION_E_SUCCESS on success, or an MOBILEACTIVATION_E_* | 148 | * @return MOBILEACTIVATION_E_SUCCESS on success, or an MOBILEACTIVATION_E_* |
149 | * error code otherwise. | 149 | * error code otherwise. |
150 | */ | 150 | */ |
151 | mobileactivation_error_t mobileactivation_create_activation_info_with_session(mobileactivation_client_t client, plist_t handshake_response, plist_t *info); | 151 | LIBIMOBILEDEVICE_API mobileactivation_error_t mobileactivation_create_activation_info_with_session(mobileactivation_client_t client, plist_t handshake_response, plist_t *info); |
152 | 152 | ||
153 | /** | 153 | /** |
154 | * Activates the device with the given activation record. | 154 | * Activates the device with the given activation record. |
@@ -161,7 +161,7 @@ mobileactivation_error_t mobileactivation_create_activation_info_with_session(mo | |||
161 | * @return MOBILEACTIVATION_E_SUCCESS on success, or an MOBILEACTIVATION_E_* | 161 | * @return MOBILEACTIVATION_E_SUCCESS on success, or an MOBILEACTIVATION_E_* |
162 | * error code otherwise. | 162 | * error code otherwise. |
163 | */ | 163 | */ |
164 | mobileactivation_error_t mobileactivation_activate(mobileactivation_client_t client, plist_t activation_record); | 164 | LIBIMOBILEDEVICE_API mobileactivation_error_t mobileactivation_activate(mobileactivation_client_t client, plist_t activation_record); |
165 | 165 | ||
166 | /** | 166 | /** |
167 | * Activates the device with the given activation record in 'session' mode. | 167 | * Activates the device with the given activation record in 'session' mode. |
@@ -176,14 +176,14 @@ mobileactivation_error_t mobileactivation_activate(mobileactivation_client_t cli | |||
176 | * @return MOBILEACTIVATION_E_SUCCESS on success, or an MOBILEACTIVATION_E_* | 176 | * @return MOBILEACTIVATION_E_SUCCESS on success, or an MOBILEACTIVATION_E_* |
177 | * error code otherwise. | 177 | * error code otherwise. |
178 | */ | 178 | */ |
179 | mobileactivation_error_t mobileactivation_activate_with_session(mobileactivation_client_t client, plist_t activation_record, plist_t headers); | 179 | LIBIMOBILEDEVICE_API mobileactivation_error_t mobileactivation_activate_with_session(mobileactivation_client_t client, plist_t activation_record, plist_t headers); |
180 | 180 | ||
181 | /** | 181 | /** |
182 | * Deactivates the device. | 182 | * Deactivates the device. |
183 | * | 183 | * |
184 | * @param client The mobileactivation client | 184 | * @param client The mobileactivation client |
185 | */ | 185 | */ |
186 | mobileactivation_error_t mobileactivation_deactivate(mobileactivation_client_t client); | 186 | LIBIMOBILEDEVICE_API mobileactivation_error_t mobileactivation_deactivate(mobileactivation_client_t client); |
187 | 187 | ||
188 | #ifdef __cplusplus | 188 | #ifdef __cplusplus |
189 | } | 189 | } |