libimobiledevice  1.3.0
API Documentation - Return to Homepage

◆ service_get_connection()

LIBIMOBILEDEVICE_API service_error_t service_get_connection ( service_client_t  client,
idevice_connection_t connection 
)

Return a handle to the parent idevice_connection_t of the given service client.

Parameters
clientThe service client
connectionPointer to be assigned to the idevice_connection_t.
Returns
SERVICE_E_SUCCESS on success, SERVICE_E_INVALID_ARG if one or more of the arguments are invalid.