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.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/libimobiledevice/service.h b/include/libimobiledevice/service.h
index 84c5092..13d0e15 100644
--- a/include/libimobiledevice/service.h
+++ b/include/libimobiledevice/service.h
@@ -168,6 +168,17 @@ service_error_t service_enable_ssl(service_client_t client);
168 */ 168 */
169service_error_t service_disable_ssl(service_client_t client); 169service_error_t service_disable_ssl(service_client_t client);
170 170
171/**
172 * Disable SSL for the given service client without sending SSL terminate messages.
173 *
174 * @param client The connected service client for that SSL should be disabled.
175 *
176 * @return SERVICE_E_SUCCESS on success,
177 * SERVICE_E_INVALID_ARG if client or client->connection is
178 * NULL, or SERVICE_E_UNKNOWN_ERROR otherwise.
179 */
180service_error_t service_disable_bypass_ssl(service_client_t client, uint8_t sslBypass);
181
171#ifdef __cplusplus 182#ifdef __cplusplus
172} 183}
173#endif 184#endif