libimobiledevice  1.3.0
API Documentation - Return to Homepage

◆ mobile_image_mounter_new()

mobile_image_mounter_error_t mobile_image_mounter_new ( idevice_t  device,
lockdownd_service_descriptor_t  service,
mobile_image_mounter_client_t client 
)

Connects to the mobile_image_mounter service on the specified device.

Parameters
deviceThe device to connect to.
serviceThe service descriptor returned by lockdownd_start_service.
clientPointer that will be set to a newly allocated mobile_image_mounter_client_t upon successful return.
Returns
MOBILE_IMAGE_MOUNTER_E_SUCCESS on success, MOBILE_IMAGE_MOUNTER_E_INVALID_ARG if device is NULL, or MOBILE_IMAGE_MOUNTER_E_CONN_FAILED if the connection to the device could not be established.