diff options
| author | 2009-07-14 14:21:53 +0200 | |
|---|---|---|
| committer | 2009-07-18 10:39:42 -0700 | |
| commit | 484ff2166a2de58dd185a05fefea47a3f8165033 (patch) | |
| tree | a8b6f712399369b60999dcd81c8bdbdd36c8ce8b /include | |
| parent | 5fa071717799ee2424c41b62360c7122b104fefb (diff) | |
| download | libimobiledevice-484ff2166a2de58dd185a05fefea47a3f8165033.tar.gz libimobiledevice-484ff2166a2de58dd185a05fefea47a3f8165033.tar.bz2 | |
Cleanup mobilesync API and bindings. Move get_all_contacts() into msyncclient.
Diffstat (limited to 'include')
| -rw-r--r-- | include/Makefile.am | 6 | ||||
| -rw-r--r-- | include/libiphone/libiphone.h | 9 |
2 files changed, 5 insertions, 10 deletions
diff --git a/include/Makefile.am b/include/Makefile.am index 98792de..df7b823 100644 --- a/include/Makefile.am +++ b/include/Makefile.am | |||
| @@ -1 +1,5 @@ | |||
| 1 | nobase_include_HEADERS = libiphone/libiphone.h libiphone/lockdown.h libiphone/afc.h libiphone/notification_proxy.h | 1 | nobase_include_HEADERS = libiphone/libiphone.h \ |
| 2 | libiphone/lockdown.h \ | ||
| 3 | libiphone/afc.h \ | ||
| 4 | libiphone/notification_proxy.h \ | ||
| 5 | libiphone/mobilesync.h | ||
diff --git a/include/libiphone/libiphone.h b/include/libiphone/libiphone.h index 9e983bb..fa26d14 100644 --- a/include/libiphone/libiphone.h +++ b/include/libiphone/libiphone.h | |||
| @@ -57,9 +57,6 @@ typedef int16_t iphone_error_t; | |||
| 57 | struct iphone_device_int; | 57 | struct iphone_device_int; |
| 58 | typedef struct iphone_device_int *iphone_device_t; | 58 | typedef struct iphone_device_int *iphone_device_t; |
| 59 | 59 | ||
| 60 | struct iphone_msync_client_int; | ||
| 61 | typedef struct iphone_msync_client_int *iphone_msync_client_t; | ||
| 62 | |||
| 63 | //debug related functions | 60 | //debug related functions |
| 64 | #define DBGMASK_ALL 0xFFFF | 61 | #define DBGMASK_ALL 0xFFFF |
| 65 | #define DBGMASK_NONE 0x0000 | 62 | #define DBGMASK_NONE 0x0000 |
| @@ -76,12 +73,6 @@ iphone_error_t iphone_get_device_by_uuid(iphone_device_t *device, const char *uu | |||
| 76 | iphone_error_t iphone_free_device(iphone_device_t device); | 73 | iphone_error_t iphone_free_device(iphone_device_t device); |
| 77 | uint32_t iphone_get_device_handle(iphone_device_t device); | 74 | uint32_t iphone_get_device_handle(iphone_device_t device); |
| 78 | 75 | ||
| 79 | iphone_error_t iphone_msync_new_client(iphone_device_t device, int dst_port, | ||
| 80 | iphone_msync_client_t * client); | ||
| 81 | iphone_error_t iphone_msync_free_client(iphone_msync_client_t client); | ||
| 82 | iphone_error_t iphone_msync_recv(iphone_msync_client_t client, plist_t *plist); | ||
| 83 | iphone_error_t iphone_msync_send(iphone_msync_client_t client, plist_t plist); | ||
| 84 | |||
| 85 | #ifdef __cplusplus | 76 | #ifdef __cplusplus |
| 86 | } | 77 | } |
| 87 | #endif | 78 | #endif |
