|
◆ afc_client_new()
Makes a connection to the AFC service on the device.
- Parameters
-
device | The device to connect to. |
service | The service descriptor returned by lockdownd_start_service. |
client | Pointer that will be set to a newly allocated afc_client_t upon successful return. |
- Returns
- AFC_E_SUCCESS on success, AFC_E_INVALID_ARG if device or service is invalid, AFC_E_MUX_ERROR if the connection cannot be established, or AFC_E_NO_MEM if there is a memory allocation problem.
|