libimobiledevice  1.3.0
API Documentation - Return to Homepage

◆ mobile_image_mounter_mount_image_with_options()

LIBIMOBILEDEVICE_API mobile_image_mounter_error_t mobile_image_mounter_mount_image_with_options ( mobile_image_mounter_client_t  client,
const char *  image_path,
const unsigned char *  signature,
unsigned int  signature_size,
const char *  image_type,
plist_t  options,
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
optionsA dictionary containing additional key/value pairs to add
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.
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.