libimobiledevice  1.3.0-dirty
API Documentation - Return to Homepage

◆ service_disable_bypass_ssl()

service_error_t service_disable_bypass_ssl ( service_client_t client,
uint8_t sslBypass )

Disable SSL for the given service client, optionally without sending SSL terminate messages.

Parameters
clientThe connected service client for which SSL should be disabled.
sslBypassA boolean value indicating wether to disable SSL with a proper SSL shutdown (0), or bypass the shutdown (1).
Returns
SERVICE_E_SUCCESS on success, SERVICE_E_INVALID_ARG if client or client->connection is NULL, or SERVICE_E_UNKNOWN_ERROR otherwise.