From eac909b522bb405cd34a8fb48259ea3952d2360a Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Fri, 5 Nov 2010 18:03:51 +0100 Subject: afc: new function afc_client_new_from_connection This function allows creating an afc client upon an already established connection. This is for example required for the house_arrest service. --- include/libimobiledevice/afc.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/libimobiledevice') diff --git a/include/libimobiledevice/afc.h b/include/libimobiledevice/afc.h index 5b06e2c..8d47696 100644 --- a/include/libimobiledevice/afc.h +++ b/include/libimobiledevice/afc.h @@ -92,6 +92,7 @@ typedef struct afc_client_private afc_client_private; typedef afc_client_private *afc_client_t; /**< The client handle. */ /* Interface */ +afc_error_t afc_client_new_from_connection(idevice_connection_t connection, afc_client_t *client); afc_error_t afc_client_new(idevice_t device, uint16_t port, afc_client_t *client); afc_error_t afc_client_free(afc_client_t client); afc_error_t afc_get_device_info(afc_client_t client, char ***infos); -- cgit v1.1-32-gdbae