libimobiledevice  1.3.0
API Documentation - Return to Homepage

◆ mobile_image_mounter_hangup()

mobile_image_mounter_error_t mobile_image_mounter_hangup ( mobile_image_mounter_client_t  client)

Hangs up the connection to the mobile_image_mounter service.

This functions has to be called before freeing up a mobile_image_mounter instance. If not, errors appear in the device's syslog.

Parameters
clientThe client to hang up
Returns
MOBILE_IMAGE_MOUNTER_E_SUCCESS on success, MOBILE_IMAGE_MOUNTER_E_INVALID_ARG if client is invalid, or another error code otherwise.