summaryrefslogtreecommitdiffstats
path: root/include/libiphone
diff options
context:
space:
mode:
authorGravatar Jonathan Beck2009-01-13 18:57:52 +0100
committerGravatar Jonathan Beck2009-01-13 18:57:52 +0100
commitd4694679f918750e920a2238d891cd2fbb741a90 (patch)
treeea52b9d253993b31ec71cbad35280d7c5eeab957 /include/libiphone
parent564aebf941f2f0c5fb57d2f86091b37d6331b9d9 (diff)
downloadlibimobiledevice-d4694679f918750e920a2238d891cd2fbb741a90.tar.gz
libimobiledevice-d4694679f918750e920a2238d891cd2fbb741a90.tar.bz2
Add parts of a python binding to libiphone that also include libplist (using SWIG).
Diffstat (limited to 'include/libiphone')
-rw-r--r--include/libiphone/libiphone.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/libiphone/libiphone.h b/include/libiphone/libiphone.h
index aab7fdb..59d2de2 100644
--- a/include/libiphone/libiphone.h
+++ b/include/libiphone/libiphone.h
@@ -78,6 +78,9 @@ typedef struct iphone_afc_client_int *iphone_afc_client_t;
struct iphone_afc_file_int;
typedef struct iphone_afc_file_int *iphone_afc_file_t;
+struct iphone_msync_client_int;
+typedef struct iphone_msync_client_int *iphone_msync_client_t;
+
//device related functions
void iphone_set_debug(int level);
iphone_error_t iphone_get_device ( iphone_device_t *device );
@@ -120,6 +123,14 @@ iphone_error_t iphone_afc_rename_file ( iphone_afc_client_t client, const char *
iphone_error_t iphone_afc_mkdir ( iphone_afc_client_t client, const char *dir);
+
+iphone_error_t iphone_msync_new_client(iphone_device_t device, int src_port, int dst_port,
+ iphone_msync_client_t * client);
+iphone_error_t iphone_msync_free_client(iphone_msync_client_t client);
+
+iphone_error_t iphone_msync_recv(iphone_msync_client_t client, plist_t * plist);
+iphone_error_t iphone_msync_send(iphone_msync_client_t client, plist_t plist);
+
#ifdef __cplusplus
}
#endif