libimobiledevice  1.3.0
API Documentation - Return to Homepage

◆ service_enable_ssl()

service_error_t service_enable_ssl ( service_client_t  client)

Enable SSL for the given service client.

Parameters
clientThe connected service client for that SSL should be enabled.
Returns
SERVICE_E_SUCCESS on success, SERVICE_E_INVALID_ARG if client or client->connection is NULL, SERVICE_E_NOT_ENOUGH_DATA when not enough data received, SERVICE_E_TIMEOUT when the connection times out, SERVICE_E_SSL_ERROR when SSL could not be enabled, or SERVICE_E_UNKNOWN_ERROR otherwise.