diff options
| author | 2013-02-26 03:20:56 +0100 | |
|---|---|---|
| committer | 2013-02-26 03:20:56 +0100 | |
| commit | fcc1bb855efb6860417ed827d3b50feba24a9a8b (patch) | |
| tree | 47d3c7d6a985dc647f7962329014c8116d657cc9 /src/property_list_service.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 'src/property_list_service.h')
| -rw-r--r-- | src/property_list_service.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/property_list_service.h b/src/property_list_service.h index 037f9aa..db1c09d 100644 --- a/src/property_list_service.h +++ b/src/property_list_service.h | |||
| @@ -21,6 +21,7 @@ | |||
| 21 | #ifndef PROPERTY_LIST_SERVICE_H | 21 | #ifndef PROPERTY_LIST_SERVICE_H |
| 22 | #define PROPERTY_LIST_SERVICE_H | 22 | #define PROPERTY_LIST_SERVICE_H |
| 23 | 23 | ||
| 24 | #include <libimobiledevice/lockdown.h> | ||
| 24 | #include "idevice.h" | 25 | #include "idevice.h" |
| 25 | 26 | ||
| 26 | /* Error Codes */ | 27 | /* Error Codes */ |
| @@ -41,7 +42,7 @@ typedef struct property_list_service_client_private *property_list_service_clien | |||
| 41 | typedef int16_t property_list_service_error_t; | 42 | typedef int16_t property_list_service_error_t; |
| 42 | 43 | ||
| 43 | /* creation and destruction */ | 44 | /* creation and destruction */ |
| 44 | property_list_service_error_t property_list_service_client_new(idevice_t device, uint16_t port, property_list_service_client_t *client); | 45 | property_list_service_error_t property_list_service_client_new(idevice_t device, lockdownd_service_descriptor_t service, property_list_service_client_t *client); |
| 45 | property_list_service_error_t property_list_service_client_free(property_list_service_client_t client); | 46 | property_list_service_error_t property_list_service_client_free(property_list_service_client_t client); |
| 46 | 47 | ||
| 47 | /* sending */ | 48 | /* sending */ |
