summaryrefslogtreecommitdiffstats
path: root/include/libimobiledevice/service.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/libimobiledevice/service.h')
-rw-r--r--include/libimobiledevice/service.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/libimobiledevice/service.h b/include/libimobiledevice/service.h
index 6842054..28b6db6 100644
--- a/include/libimobiledevice/service.h
+++ b/include/libimobiledevice/service.h
@@ -184,6 +184,16 @@ service_error_t service_disable_ssl(service_client_t client);
184 */ 184 */
185service_error_t service_disable_bypass_ssl(service_client_t client, uint8_t sslBypass); 185service_error_t service_disable_bypass_ssl(service_client_t client, uint8_t sslBypass);
186 186
187/**
188 * Return a handle to the parent #idevice_connection_t of the given service client.
189 *
190 * @param client The service client
191 * @param connection Pointer to be assigned to the #idevice_connection_t.
192 *
193 * @return SERVICE_E_SUCCESS on success,
194 * SERVICE_E_INVALID_ARG if one or more of the arguments are invalid.
195 */
196service_error_t service_get_connection(service_client_t client, idevice_connection_t *connection);
187#ifdef __cplusplus 197#ifdef __cplusplus
188} 198}
189#endif 199#endif