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" {
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}