summaryrefslogtreecommitdiffstats
path: root/include/libimobiledevice/mobilesync.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/libimobiledevice/mobilesync.h')
-rw-r--r--include/libimobiledevice/mobilesync.h3
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 {
65typedef mobilesync_anchors *mobilesync_anchors_t; /**< Anchors used by the device and computer. */ 66typedef mobilesync_anchors *mobilesync_anchors_t; /**< Anchors used by the device and computer. */
66 67
67/* Interface */ 68/* Interface */
68mobilesync_error_t mobilesync_client_new(idevice_t device, uint16_t port, mobilesync_client_t * client); 69mobilesync_error_t mobilesync_client_new(idevice_t device, lockdownd_service_descriptor_t service, mobilesync_client_t * client);
69mobilesync_error_t mobilesync_client_free(mobilesync_client_t client); 70mobilesync_error_t mobilesync_client_free(mobilesync_client_t client);
70 71
71mobilesync_error_t mobilesync_receive(mobilesync_client_t client, plist_t *plist); 72mobilesync_error_t mobilesync_receive(mobilesync_client_t client, plist_t *plist);