diff options
Diffstat (limited to 'include/libimobiledevice/property_list_service.h')
-rw-r--r-- | include/libimobiledevice/property_list_service.h | 20 |
1 files changed, 16 insertions, 4 deletions
diff --git a/include/libimobiledevice/property_list_service.h b/include/libimobiledevice/property_list_service.h index 5205551..3f6ebad 100644 --- a/include/libimobiledevice/property_list_service.h +++ b/include/libimobiledevice/property_list_service.h | |||
@@ -29,6 +29,7 @@ extern "C" { | |||
29 | #endif | 29 | #endif |
30 | 30 | ||
31 | #include <libimobiledevice/lockdown.h> | 31 | #include <libimobiledevice/lockdown.h> |
32 | #include <libimobiledevice/service.h> | ||
32 | 33 | ||
33 | /** Error Codes */ | 34 | /** Error Codes */ |
34 | typedef enum { | 35 | typedef enum { |
@@ -147,8 +148,8 @@ property_list_service_error_t property_list_service_receive_plist(property_list_ | |||
147 | * should be enabled. | 148 | * should be enabled. |
148 | * | 149 | * |
149 | * @return PROPERTY_LIST_SERVICE_E_SUCCESS on success, | 150 | * @return PROPERTY_LIST_SERVICE_E_SUCCESS on success, |
150 | * PROPERTY_LIST_SERVICE_E_INVALID_ARG if client or client->connection is | 151 | * PROPERTY_LIST_SERVICE_E_INVALID_ARG if one or more of the arguments are invalid, |
151 | * NULL, PROPERTY_LIST_SERVICE_E_SSL_ERROR when SSL could not be enabled, | 152 | * PROPERTY_LIST_SERVICE_E_SSL_ERROR when SSL could not be enabled, |
152 | * or PROPERTY_LIST_SERVICE_E_UNKNOWN_ERROR otherwise. | 153 | * or PROPERTY_LIST_SERVICE_E_UNKNOWN_ERROR otherwise. |
153 | */ | 154 | */ |
154 | property_list_service_error_t property_list_service_enable_ssl(property_list_service_client_t client); | 155 | property_list_service_error_t property_list_service_enable_ssl(property_list_service_client_t client); |
@@ -160,11 +161,22 @@ property_list_service_error_t property_list_service_enable_ssl(property_list_ser | |||
160 | * should be disabled. | 161 | * should be disabled. |
161 | * | 162 | * |
162 | * @return PROPERTY_LIST_SERVICE_E_SUCCESS on success, | 163 | * @return PROPERTY_LIST_SERVICE_E_SUCCESS on success, |
163 | * PROPERTY_LIST_SERVICE_E_INVALID_ARG if client or client->connection is | 164 | * PROPERTY_LIST_SERVICE_E_INVALID_ARG if one or more of the arguments are invalid, |
164 | * NULL, or PROPERTY_LIST_SERVICE_E_UNKNOWN_ERROR otherwise. | 165 | * or PROPERTY_LIST_SERVICE_E_UNKNOWN_ERROR otherwise. |
165 | */ | 166 | */ |
166 | property_list_service_error_t property_list_service_disable_ssl(property_list_service_client_t client); | 167 | property_list_service_error_t property_list_service_disable_ssl(property_list_service_client_t client); |
167 | 168 | ||
169 | /** | ||
170 | * Return a handle to the parent #service_client_t of the given property list service client. | ||
171 | * | ||
172 | * @param client The property list service client | ||
173 | * @param service_client Pointer to be assigned to the parent #service_client_t | ||
174 | * | ||
175 | * @return PROPERTY_LIST_SERVICE_E_SUCCESS on success, | ||
176 | * PROPERTY_LIST_SERVICE_E_INVALID_ARG if one or more of the arguments are invalid. | ||
177 | */ | ||
178 | property_list_service_error_t property_list_service_get_service_client(property_list_service_client_t client, service_client_t *service_client); | ||
179 | |||
168 | #ifdef __cplusplus | 180 | #ifdef __cplusplus |
169 | } | 181 | } |
170 | #endif | 182 | #endif |