From 3604756139b1a2dde383122745d37fe9d1c95f88 Mon Sep 17 00:00:00 2001 From: Martin Szulecki Date: Mon, 5 Aug 2013 20:07:04 +0200 Subject: Implement *_start_service() helper to simplify creation of service clients --- include/libimobiledevice/afc.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/libimobiledevice/afc.h') diff --git a/include/libimobiledevice/afc.h b/include/libimobiledevice/afc.h index 8cddcf0..289c749 100644 --- a/include/libimobiledevice/afc.h +++ b/include/libimobiledevice/afc.h @@ -96,7 +96,9 @@ typedef afc_client_private *afc_client_t; /**< The client handle. */ /* Interface */ afc_error_t afc_client_new(idevice_t device, lockdownd_service_descriptor_t service, afc_client_t *client); +afc_error_t afc_client_start_service(idevice_t device, afc_client_t* client, const char* label); afc_error_t afc_client_free(afc_client_t client); + afc_error_t afc_get_device_info(afc_client_t client, char ***infos); afc_error_t afc_read_directory(afc_client_t client, const char *dir, char ***list); afc_error_t afc_get_file_info(afc_client_t client, const char *filename, char ***infolist); -- cgit v1.1-32-gdbae