libimobiledevice  1.3.0
API Documentation - Return to Homepage

◆ mobile_image_mounter_mount_image()

mobile_image_mounter_error_t mobile_image_mounter_mount_image ( mobile_image_mounter_client_t  client,
const char *  image_path,
const char *  signature,
uint16_t  signature_size,
const char *  image_type,
plist_t *  result 
)

Mounts an image on the device.

Parameters
clientThe connected mobile_image_mounter client.
image_pathThe absolute path of the image to mount. The image must be present before calling this function.
signaturePointer to a buffer holding the images' signature
signature_sizeLength of the signature image_signature points to
image_typeType of image to mount
resultPointer to a plist that will receive the result of the operation.
Note
This function may return MOBILE_IMAGE_MOUNTER_E_SUCCESS even if the operation has failed. Check the resulting plist for further information. Note that there is no unmounting function. The mount persists until the device is rebooted.
Returns
MOBILE_IMAGE_MOUNTER_E_SUCCESS on success, MOBILE_IMAGE_MOUNTER_E_INVALID_ARG if on ore more parameters are invalid, or another error code otherwise.