summaryrefslogtreecommitdiffstats
path: root/include/libimobiledevice/mobilebackup.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/libimobiledevice/mobilebackup.h')
-rw-r--r--include/libimobiledevice/mobilebackup.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/libimobiledevice/mobilebackup.h b/include/libimobiledevice/mobilebackup.h
index 8f31cc4..358103d 100644
--- a/include/libimobiledevice/mobilebackup.h
+++ b/include/libimobiledevice/mobilebackup.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/** @name Error Codes */ 33/** @name Error Codes */
33/*@{*/ 34/*@{*/
@@ -53,7 +54,7 @@ typedef enum {
53 MB_RESTORE_PRESERVE_CAMERA_ROLL = 1 << 2 54 MB_RESTORE_PRESERVE_CAMERA_ROLL = 1 << 2
54} mobilebackup_flags_t; 55} mobilebackup_flags_t;
55 56
56mobilebackup_error_t mobilebackup_client_new(idevice_t device, uint16_t port, mobilebackup_client_t * client); 57mobilebackup_error_t mobilebackup_client_new(idevice_t device, lockdownd_service_descriptor_t service, mobilebackup_client_t * client);
57mobilebackup_error_t mobilebackup_client_free(mobilebackup_client_t client); 58mobilebackup_error_t mobilebackup_client_free(mobilebackup_client_t client);
58mobilebackup_error_t mobilebackup_receive(mobilebackup_client_t client, plist_t *plist); 59mobilebackup_error_t mobilebackup_receive(mobilebackup_client_t client, plist_t *plist);
59mobilebackup_error_t mobilebackup_send(mobilebackup_client_t client, plist_t plist); 60mobilebackup_error_t mobilebackup_send(mobilebackup_client_t client, plist_t plist);