diff options
Diffstat (limited to 'include/libimobiledevice/mobilesync.h')
| -rw-r--r-- | include/libimobiledevice/mobilesync.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/libimobiledevice/mobilesync.h b/include/libimobiledevice/mobilesync.h index cfab8d9..ef1f4df 100644 --- a/include/libimobiledevice/mobilesync.h +++ b/include/libimobiledevice/mobilesync.h | |||
| @@ -29,6 +29,7 @@ extern "C" { | |||
| 29 | #endif | 29 | #endif |
| 30 | 30 | ||
| 31 | #include <libimobiledevice/libimobiledevice.h> | 31 | #include <libimobiledevice/libimobiledevice.h> |
| 32 | #include <libimobiledevice/lockdown.h> | ||
| 32 | 33 | ||
| 33 | /** @name Error Codes */ | 34 | /** @name Error Codes */ |
| 34 | /*@{*/ | 35 | /*@{*/ |
| @@ -65,7 +66,7 @@ typedef struct { | |||
| 65 | typedef mobilesync_anchors *mobilesync_anchors_t; /**< Anchors used by the device and computer. */ | 66 | typedef mobilesync_anchors *mobilesync_anchors_t; /**< Anchors used by the device and computer. */ |
| 66 | 67 | ||
| 67 | /* Interface */ | 68 | /* Interface */ |
| 68 | mobilesync_error_t mobilesync_client_new(idevice_t device, uint16_t port, mobilesync_client_t * client); | 69 | mobilesync_error_t mobilesync_client_new(idevice_t device, lockdownd_service_descriptor_t service, mobilesync_client_t * client); |
| 69 | mobilesync_error_t mobilesync_client_free(mobilesync_client_t client); | 70 | mobilesync_error_t mobilesync_client_free(mobilesync_client_t client); |
| 70 | 71 | ||
| 71 | mobilesync_error_t mobilesync_receive(mobilesync_client_t client, plist_t *plist); | 72 | mobilesync_error_t mobilesync_receive(mobilesync_client_t client, plist_t *plist); |
