service_enable_ssl - libimobiledevice 1.4.0

| libimobiledevice 1.4.0 API Documentation - Return to Homepage

service_client_factory_start_service
service_client_free
service_client_new
service_client_t
SERVICE_CONSTRUCTOR
service_disable_bypass_ssl
service_disable_ssl
service_enable_ssl
service_error_t
service_get_connection
service_receive
service_receive_with_timeout
service_send
| ## ◆ service_enable_ssl()
LIBIMOBILEDEVICE_API service_error_t service_enable_ssl | ( | service_client_t | client | ) |
  Enable SSL for the given service client. Parameters
  client | The 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.