libimobiledevice  1.3.0
API Documentation - Return to Homepage

◆ service_client_new()

service_error_t service_client_new ( idevice_t  device,
lockdownd_service_descriptor_t  service,
service_client_t client 
)

Creates a new service for the specified service descriptor.

Parameters
deviceThe device to connect to.
serviceThe service descriptor returned by lockdownd_start_service.
clientPointer that will be set to a newly allocated service_client_t upon successful return.
Returns
SERVICE_E_SUCCESS on success, SERVICE_E_INVALID_ARG when one of the arguments is invalid, or SERVICE_E_MUX_ERROR when connecting to the device failed.