diff options
| author | 2013-02-26 03:20:56 +0100 | |
|---|---|---|
| committer | 2013-02-26 03:20:56 +0100 | |
| commit | fcc1bb855efb6860417ed827d3b50feba24a9a8b (patch) | |
| tree | 47d3c7d6a985dc647f7962329014c8116d657cc9 /include/libimobiledevice/webinspector.h | |
| parent | 3b54aac30447bc02fafd721a63a752968628e7e0 (diff) | |
| download | libimobiledevice-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/webinspector.h')
| -rw-r--r-- | include/libimobiledevice/webinspector.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/libimobiledevice/webinspector.h b/include/libimobiledevice/webinspector.h index d499d72..ed9faad 100644 --- a/include/libimobiledevice/webinspector.h +++ b/include/libimobiledevice/webinspector.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 | #define WEBINSPECTOR_SERVICE_NAME "com.apple.webinspector" | 33 | #define WEBINSPECTOR_SERVICE_NAME "com.apple.webinspector" |
| 33 | 34 | ||
| @@ -47,7 +48,7 @@ typedef int16_t webinspector_error_t; | |||
| 47 | typedef struct webinspector_client_private webinspector_client_private; | 48 | typedef struct webinspector_client_private webinspector_client_private; |
| 48 | typedef webinspector_client_private *webinspector_client_t; /**< The client handle. */ | 49 | typedef webinspector_client_private *webinspector_client_t; /**< The client handle. */ |
| 49 | 50 | ||
| 50 | webinspector_error_t webinspector_client_new(idevice_t device, uint16_t port, webinspector_client_t * client); | 51 | webinspector_error_t webinspector_client_new(idevice_t device, lockdownd_service_descriptor_t service, webinspector_client_t * client); |
| 51 | webinspector_error_t webinspector_client_free(webinspector_client_t client); | 52 | webinspector_error_t webinspector_client_free(webinspector_client_t client); |
| 52 | 53 | ||
| 53 | webinspector_error_t webinspector_start_service(idevice_t device, webinspector_client_t * client); | 54 | webinspector_error_t webinspector_start_service(idevice_t device, webinspector_client_t * client); |
