diff options
| author | 2009-01-09 19:24:27 +0100 | |
|---|---|---|
| committer | 2009-01-09 19:24:27 +0100 | |
| commit | f3c08cfad0833d55a69ca3d54d9920a3cb558328 (patch) | |
| tree | 1cd946385a22ce2da3772df290ce71a4486219f2 /src/MobileSync.h | |
| parent | bc2f3964851dff088dd47a08997e6c6730258834 (diff) | |
| download | libimobiledevice-f3c08cfad0833d55a69ca3d54d9920a3cb558328.tar.gz libimobiledevice-f3c08cfad0833d55a69ca3d54d9920a3cb558328.tar.bz2 | |
Change msync recv and send functions to only deal with abstract plists.
Start full address book dump function.
Update to new logging mechanism.
Diffstat (limited to 'src/MobileSync.h')
| -rw-r--r-- | src/MobileSync.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/MobileSync.h b/src/MobileSync.h index d7c774e..b59547c 100644 --- a/src/MobileSync.h +++ b/src/MobileSync.h | |||
| @@ -23,6 +23,9 @@ | |||
| 23 | 23 | ||
| 24 | #include "usbmux.h" | 24 | #include "usbmux.h" |
| 25 | #include "iphone.h" | 25 | #include "iphone.h" |
| 26 | #include "utils.h" | ||
| 27 | |||
| 28 | #include <plist/plist.h> | ||
| 26 | 29 | ||
| 27 | struct iphone_msync_client_int; | 30 | struct iphone_msync_client_int; |
| 28 | typedef struct iphone_msync_client_int *iphone_msync_client_t; | 31 | typedef struct iphone_msync_client_int *iphone_msync_client_t; |
| @@ -35,7 +38,9 @@ iphone_error_t iphone_msync_new_client(iphone_device_t device, int src_port, int | |||
| 35 | iphone_msync_client_t * client); | 38 | iphone_msync_client_t * client); |
| 36 | void iphone_msync_free_client(iphone_msync_client_t client); | 39 | void iphone_msync_free_client(iphone_msync_client_t client); |
| 37 | 40 | ||
| 38 | iphone_error_t iphone_msync_recv(iphone_msync_client_t client, char **dump_data, uint32_t * recv_bytes); | 41 | iphone_error_t iphone_msync_recv(iphone_msync_client_t client, plist_t * plist); |
| 39 | iphone_error_t iphone_msync_send(iphone_msync_client_t client, char *raw_data, uint32_t length, uint32_t * sent_bytes); | 42 | iphone_error_t iphone_msync_send(iphone_msync_client_t client, plist_t plist); |
| 43 | |||
| 44 | iphone_error_t iphone_msync_get_all_contacts(iphone_msync_client_t client); | ||
| 40 | 45 | ||
| 41 | #endif | 46 | #endif |
