libimobiledevice  1.3.0
API Documentation - Return to Homepage

◆ lockdownd_start_service()

lockdownd_error_t lockdownd_start_service ( lockdownd_client_t  client,
const char *  identifier,
lockdownd_service_descriptor_t *  service 
)

Requests to start a service and retrieve it's port on success.

Parameters
clientThe lockdownd client
identifierThe identifier of the service to start
serviceThe service descriptor on success or NULL on failure
Returns
LOCKDOWN_E_SUCCESS on success, LOCKDOWN_E_INVALID_ARG if a parameter is NULL, LOCKDOWN_E_INVALID_SERVICE if the requested service is not known by the device, LOCKDOWN_E_START_SERVICE_FAILED if the service could not be started by the device