Requests to start a service and retrieve it's port on success.
Sends the escrow bag from the device's pair record.
- Parameters
-
client | The lockdownd client |
identifier | The identifier of the service to start |
service | The 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 because started by the device, LOCKDOWN_E_INVALID_CONF if the host id or escrow bag are missing from the device record.