summaryrefslogtreecommitdiffstats
path: root/include/libimobiledevice
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2010-03-16 02:18:16 +0100
committerGravatar Martin Szulecki2010-03-16 02:29:13 +0100
commit5ac0f4272b4985627ae27693b28c93eea37a4d3b (patch)
tree4016459a234eae8ae9fa535b39c392765214a295 /include/libimobiledevice
parent2bde7add91ea63f0c2f2e3f090cf872168b504f9 (diff)
downloadlibimobiledevice-5ac0f4272b4985627ae27693b28c93eea37a4d3b.tar.gz
libimobiledevice-5ac0f4272b4985627ae27693b28c93eea37a4d3b.tar.bz2
mobilebackup: new functions added
Diffstat (limited to 'include/libimobiledevice')
-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" {
#define MOBILEBACKUP_E_PLIST_ERROR -2
#define MOBILEBACKUP_E_MUX_ERROR -3
#define MOBILEBACKUP_E_BAD_VERSION -4
+#define MOBILEBACKUP_E_REPLY_NOT_OK -5
#define MOBILEBACKUP_E_UNKNOWN_ERROR -256
@@ -47,6 +48,9 @@ mobilebackup_error_t mobilebackup_client_new(idevice_t device, uint16_t port, mo
mobilebackup_error_t mobilebackup_client_free(mobilebackup_client_t client);
mobilebackup_error_t mobilebackup_receive(mobilebackup_client_t client, plist_t *plist);
mobilebackup_error_t mobilebackup_send(mobilebackup_client_t client, plist_t plist);
+mobilebackup_error_t mobilebackup_request_backup(mobilebackup_client_t client, plist_t backup_manifest, const char *base_path, const char *proto_version);
+mobilebackup_error_t mobilebackup_send_backup_file_received(mobilebackup_client_t client);
+mobilebackup_error_t mobilebackup_send_error(mobilebackup_client_t client, const char *reason);
#ifdef __cplusplus
}