diff options
author | Nikias Bassen | 2010-11-05 18:03:51 +0100 |
---|---|---|
committer | Nikias Bassen | 2010-11-05 18:03:51 +0100 |
commit | eac909b522bb405cd34a8fb48259ea3952d2360a (patch) | |
tree | 31d084bd251c1fc9a3bac949aa24c52befe66de5 /include/libimobiledevice | |
parent | 8dff982f54ea9fc2a3a4366b1958120d89f862b5 (diff) | |
download | libimobiledevice-eac909b522bb405cd34a8fb48259ea3952d2360a.tar.gz libimobiledevice-eac909b522bb405cd34a8fb48259ea3952d2360a.tar.bz2 |
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.
Diffstat (limited to 'include/libimobiledevice')
-rw-r--r-- | include/libimobiledevice/afc.h | 1 |
1 files changed, 1 insertions, 0 deletions
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); |