summaryrefslogtreecommitdiffstats
path: root/include/libimobiledevice/afc.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/libimobiledevice/afc.h')
-rw-r--r--include/libimobiledevice/afc.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/libimobiledevice/afc.h b/include/libimobiledevice/afc.h
index 8d47696..1b4ad5b 100644
--- a/include/libimobiledevice/afc.h
+++ b/include/libimobiledevice/afc.h
@@ -28,6 +28,7 @@ extern "C" {
28#endif 28#endif
29 29
30#include <libimobiledevice/libimobiledevice.h> 30#include <libimobiledevice/libimobiledevice.h>
31#include <libimobiledevice/lockdown.h>
31 32
32/** @name Error Codes */ 33/** @name Error Codes */
33/*@{*/ 34/*@{*/
@@ -93,7 +94,7 @@ typedef afc_client_private *afc_client_t; /**< The client handle. */
93 94
94/* Interface */ 95/* Interface */
95afc_error_t afc_client_new_from_connection(idevice_connection_t connection, afc_client_t *client); 96afc_error_t afc_client_new_from_connection(idevice_connection_t connection, afc_client_t *client);
96afc_error_t afc_client_new(idevice_t device, uint16_t port, afc_client_t *client); 97afc_error_t afc_client_new(idevice_t device, lockdownd_service_descriptor_t service, afc_client_t *client);
97afc_error_t afc_client_free(afc_client_t client); 98afc_error_t afc_client_free(afc_client_t client);
98afc_error_t afc_get_device_info(afc_client_t client, char ***infos); 99afc_error_t afc_get_device_info(afc_client_t client, char ***infos);
99afc_error_t afc_read_directory(afc_client_t client, const char *dir, char ***list); 100afc_error_t afc_read_directory(afc_client_t client, const char *dir, char ***list);