summaryrefslogtreecommitdiffstats
path: root/include/libimobiledevice/house_arrest.h
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2013-02-26 03:20:56 +0100
committerGravatar Martin Szulecki2013-02-26 03:20:56 +0100
commitfcc1bb855efb6860417ed827d3b50feba24a9a8b (patch)
tree47d3c7d6a985dc647f7962329014c8116d657cc9 /include/libimobiledevice/house_arrest.h
parent3b54aac30447bc02fafd721a63a752968628e7e0 (diff)
downloadlibimobiledevice-fcc1bb855efb6860417ed827d3b50feba24a9a8b.tar.gz
libimobiledevice-fcc1bb855efb6860417ed827d3b50feba24a9a8b.tar.bz2
Refactor port number use into service descriptor to enable SSL for services
This is a major change which breaks API but is required in order to support SSL communication for services as used by network connections.
Diffstat (limited to 'include/libimobiledevice/house_arrest.h')
-rw-r--r--include/libimobiledevice/house_arrest.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/libimobiledevice/house_arrest.h b/include/libimobiledevice/house_arrest.h
index 04290f1..ee03072 100644
--- a/include/libimobiledevice/house_arrest.h
+++ b/include/libimobiledevice/house_arrest.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#include <libimobiledevice/afc.h> 32#include <libimobiledevice/afc.h>
32 33
33/** @name Error Codes */ 34/** @name Error Codes */
@@ -48,7 +49,7 @@ typedef struct house_arrest_client_private house_arrest_client_private;
48typedef house_arrest_client_private *house_arrest_client_t; /**< The client handle. */ 49typedef house_arrest_client_private *house_arrest_client_t; /**< The client handle. */
49 50
50/* Interface */ 51/* Interface */
51house_arrest_error_t house_arrest_client_new(idevice_t device, uint16_t port, house_arrest_client_t *client); 52house_arrest_error_t house_arrest_client_new(idevice_t device, lockdownd_service_descriptor_t service, house_arrest_client_t *client);
52house_arrest_error_t house_arrest_client_free(house_arrest_client_t client); 53house_arrest_error_t house_arrest_client_free(house_arrest_client_t client);
53 54
54house_arrest_error_t house_arrest_send_request(house_arrest_client_t client, plist_t dict); 55house_arrest_error_t house_arrest_send_request(house_arrest_client_t client, plist_t dict);