libimobiledevice  1.3.0
API Documentation - Return to Homepage

◆ idevice_disconnect()

idevice_error_t idevice_disconnect ( idevice_connection_t  connection)

Disconnect from the device and clean up the connection structure.

Parameters
connectionThe connection to close.
Returns
IDEVICE_E_SUCCESS if ok, otherwise an error code.