summaryrefslogtreecommitdiffstats
path: root/include/libimobiledevice/service.h
diff options
context:
space:
mode:
authorGravatar Demyan Kimitsa2019-10-10 11:57:06 +0300
committerGravatar Nikias Bassen2020-02-20 01:58:42 +0100
commite52ef954be27fb5a4bf6f7e769c33851483d0e80 (patch)
tree8b13ae05bb5643bf54106cdab276141210c2b109 /include/libimobiledevice/service.h
parent56527f070cefbbddf392ba3897e3318fc2f2db9f (diff)
downloadlibimobiledevice-e52ef954be27fb5a4bf6f7e769c33851483d0e80.tar.gz
libimobiledevice-e52ef954be27fb5a4bf6f7e769c33851483d0e80.tar.bz2
introduces optional `idevice_connection_disable_ssl` with ability not to send SSL shutdown message. As in debugserver this message will be considered as GDB server communication and break things
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);
*/
service_error_t service_disable_ssl(service_client_t client);
+/**
+ * Disable SSL for the given service client without sending SSL terminate messages.
+ *
+ * @param client The connected service client for that SSL should be disabled.
+ *
+ * @return SERVICE_E_SUCCESS on success,
+ * SERVICE_E_INVALID_ARG if client or client->connection is
+ * NULL, or SERVICE_E_UNKNOWN_ERROR otherwise.
+ */
+service_error_t service_disable_bypass_ssl(service_client_t client, uint8_t sslBypass);
+
#ifdef __cplusplus
}
#endif