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.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/libimobiledevice/mobilebackup.h b/include/libimobiledevice/mobilebackup.h
index e51d4c1..e29dbf4 100644
--- a/include/libimobiledevice/mobilebackup.h
+++ b/include/libimobiledevice/mobilebackup.h
@@ -35,6 +35,7 @@ extern "C" {
35#define MOBILEBACKUP_E_PLIST_ERROR -2 35#define MOBILEBACKUP_E_PLIST_ERROR -2
36#define MOBILEBACKUP_E_MUX_ERROR -3 36#define MOBILEBACKUP_E_MUX_ERROR -3
37#define MOBILEBACKUP_E_BAD_VERSION -4 37#define MOBILEBACKUP_E_BAD_VERSION -4
38#define MOBILEBACKUP_E_REPLY_NOT_OK -5
38 39
39#define MOBILEBACKUP_E_UNKNOWN_ERROR -256 40#define MOBILEBACKUP_E_UNKNOWN_ERROR -256
40 41
@@ -47,6 +48,9 @@ mobilebackup_error_t mobilebackup_client_new(idevice_t device, uint16_t port, mo
47mobilebackup_error_t mobilebackup_client_free(mobilebackup_client_t client); 48mobilebackup_error_t mobilebackup_client_free(mobilebackup_client_t client);
48mobilebackup_error_t mobilebackup_receive(mobilebackup_client_t client, plist_t *plist); 49mobilebackup_error_t mobilebackup_receive(mobilebackup_client_t client, plist_t *plist);
49mobilebackup_error_t mobilebackup_send(mobilebackup_client_t client, plist_t plist); 50mobilebackup_error_t mobilebackup_send(mobilebackup_client_t client, plist_t plist);
51mobilebackup_error_t mobilebackup_request_backup(mobilebackup_client_t client, plist_t backup_manifest, const char *base_path, const char *proto_version);
52mobilebackup_error_t mobilebackup_send_backup_file_received(mobilebackup_client_t client);
53mobilebackup_error_t mobilebackup_send_error(mobilebackup_client_t client, const char *reason);
50 54
51#ifdef __cplusplus 55#ifdef __cplusplus
52} 56}