summaryrefslogtreecommitdiffstats
path: root/include/libiphone
diff options
context:
space:
mode:
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;
78struct iphone_afc_file_int; 78struct iphone_afc_file_int;
79typedef struct iphone_afc_file_int *iphone_afc_file_t; 79typedef struct iphone_afc_file_int *iphone_afc_file_t;
80 80
81struct iphone_msync_client_int;
82typedef struct iphone_msync_client_int *iphone_msync_client_t;
83
81//device related functions 84//device related functions
82void iphone_set_debug(int level); 85void iphone_set_debug(int level);
83iphone_error_t iphone_get_device ( iphone_device_t *device ); 86iphone_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 *
120iphone_error_t iphone_afc_mkdir ( iphone_afc_client_t client, const char *dir); 123iphone_error_t iphone_afc_mkdir ( iphone_afc_client_t client, const char *dir);
121 124
122 125
126
127iphone_error_t iphone_msync_new_client(iphone_device_t device, int src_port, int dst_port,
128 iphone_msync_client_t * client);
129iphone_error_t iphone_msync_free_client(iphone_msync_client_t client);
130
131iphone_error_t iphone_msync_recv(iphone_msync_client_t client, plist_t * plist);
132iphone_error_t iphone_msync_send(iphone_msync_client_t client, plist_t plist);
133
123#ifdef __cplusplus 134#ifdef __cplusplus
124} 135}
125#endif 136#endif