|
◆ mobile_image_mounter_upload_image()
Uploads an image with an optional signature to the device.
- Parameters
-
client | The connected mobile_image_mounter client. |
image_type | Type of image that is being uploaded. |
image_size | Total size of the image. |
signature | Buffer with a signature of the image being uploaded. If NULL, no signature will be used. |
signature_size | Total size of the image signature buffer. If 0, no signature will be used. |
upload_cb | Callback function that gets the data chunks for uploading the image. |
userdata | User defined data for the upload callback function. |
- Returns
- MOBILE_IMAGE_MOUNTER_E_SUCCESS on succes, or a MOBILE_IMAGE_MOUNTER_E_* error code otherwise.
|