summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorGravatar Jonathan Beck2009-01-12 20:07:06 +0100
committerGravatar Jonathan Beck2009-01-12 20:07:06 +0100
commit564aebf941f2f0c5fb57d2f86091b37d6331b9d9 (patch)
treea8d969fd1fb6ff2bf35696837978f96c29a9e5fa /include
parentf3c08cfad0833d55a69ca3d54d9920a3cb558328 (diff)
downloadlibimobiledevice-564aebf941f2f0c5fb57d2f86091b37d6331b9d9.tar.gz
libimobiledevice-564aebf941f2f0c5fb57d2f86091b37d6331b9d9.tar.bz2
Update lockdownd transfer function to take abstract plist as argument.
Simplify code accordingly. Use new libplist API to make code cleaner.
Diffstat (limited to 'include')
-rw-r--r--include/libiphone/libiphone.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/libiphone/libiphone.h b/include/libiphone/libiphone.h
index b3e3f95..aab7fdb 100644
--- a/include/libiphone/libiphone.h
+++ b/include/libiphone/libiphone.h
@@ -29,6 +29,7 @@ extern "C" {
29#include <stdint.h> 29#include <stdint.h>
30#include <sys/types.h> 30#include <sys/types.h>
31#include <sys/stat.h> 31#include <sys/stat.h>
32#include <plist/plist.h>
32 33
33//general errors 34//general errors
34#define IPHONE_E_SUCCESS 0 35#define IPHONE_E_SUCCESS 0
@@ -88,8 +89,8 @@ iphone_error_t iphone_lckd_new_client ( iphone_device_t device, iphone_lckd_clie
88iphone_error_t iphone_lckd_free_client( iphone_lckd_client_t client ); 89iphone_error_t iphone_lckd_free_client( iphone_lckd_client_t client );
89 90
90iphone_error_t iphone_lckd_start_service ( iphone_lckd_client_t client, const char *service, int *port ); 91iphone_error_t iphone_lckd_start_service ( iphone_lckd_client_t client, const char *service, int *port );
91iphone_error_t iphone_lckd_recv ( iphone_lckd_client_t client, char **dump_data, uint32_t *recv_bytes ); 92iphone_error_t iphone_lckd_recv ( iphone_lckd_client_t client, plist_t* plist);
92iphone_error_t iphone_lckd_send ( iphone_lckd_client_t client, char *raw_data, uint32_t length, uint32_t *recv_bytes ); 93iphone_error_t iphone_lckd_send ( iphone_lckd_client_t client, plist_t plist);
93 94
94 95
95//usbmux related functions 96//usbmux related functions