diff options
Diffstat (limited to 'include/libiphone/libiphone.h')
| -rw-r--r-- | include/libiphone/libiphone.h | 27 |
1 files changed, 5 insertions, 22 deletions
diff --git a/include/libiphone/libiphone.h b/include/libiphone/libiphone.h index 456f000..9e983bb 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_lckd_client_int; | ||
| 61 | typedef struct iphone_lckd_client_int *iphone_lckd_client_t; | ||
| 62 | |||
| 63 | struct iphone_msync_client_int; | 60 | struct iphone_msync_client_int; |
| 64 | typedef struct iphone_msync_client_int *iphone_msync_client_t; | 61 | typedef struct iphone_msync_client_int *iphone_msync_client_t; |
| 65 | 62 | ||
| @@ -74,29 +71,15 @@ void iphone_set_debug_mask(uint16_t mask); | |||
| 74 | void iphone_set_debug(int level); | 71 | void iphone_set_debug(int level); |
| 75 | 72 | ||
| 76 | //device related functions | 73 | //device related functions |
| 77 | iphone_error_t iphone_get_device ( iphone_device_t *device ); | 74 | iphone_error_t iphone_get_device(iphone_device_t *device); |
| 78 | iphone_error_t iphone_get_device_by_uuid ( iphone_device_t *device, const char *uuid ); | 75 | iphone_error_t iphone_get_device_by_uuid(iphone_device_t *device, const char *uuid); |
| 79 | iphone_error_t iphone_free_device ( iphone_device_t device ); | 76 | iphone_error_t iphone_free_device(iphone_device_t device); |
| 80 | 77 | uint32_t iphone_get_device_handle(iphone_device_t device); | |
| 81 | uint32_t iphone_get_device_handle ( iphone_device_t device ); | ||
| 82 | |||
| 83 | //lockdownd related functions | ||
| 84 | iphone_error_t lockdownd_get_device_uid(iphone_lckd_client_t control, char **uid); | ||
| 85 | iphone_error_t lockdownd_get_device_name ( iphone_lckd_client_t client, char **device_name ); | ||
| 86 | iphone_error_t iphone_lckd_new_client ( iphone_device_t device, iphone_lckd_client_t *client ); | ||
| 87 | iphone_error_t iphone_lckd_free_client( iphone_lckd_client_t client ); | ||
| 88 | |||
| 89 | iphone_error_t iphone_lckd_start_service ( iphone_lckd_client_t client, const char *service, int *port ); | ||
| 90 | iphone_error_t iphone_lckd_recv ( iphone_lckd_client_t client, plist_t* plist); | ||
| 91 | iphone_error_t iphone_lckd_send ( iphone_lckd_client_t client, plist_t plist); | ||
| 92 | |||
| 93 | |||
| 94 | 78 | ||
| 95 | iphone_error_t iphone_msync_new_client(iphone_device_t device, int dst_port, | 79 | iphone_error_t iphone_msync_new_client(iphone_device_t device, int dst_port, |
| 96 | iphone_msync_client_t * client); | 80 | iphone_msync_client_t * client); |
| 97 | iphone_error_t iphone_msync_free_client(iphone_msync_client_t client); | 81 | iphone_error_t iphone_msync_free_client(iphone_msync_client_t client); |
| 98 | 82 | iphone_error_t iphone_msync_recv(iphone_msync_client_t client, plist_t *plist); | |
| 99 | iphone_error_t iphone_msync_recv(iphone_msync_client_t client, plist_t * plist); | ||
| 100 | iphone_error_t iphone_msync_send(iphone_msync_client_t client, plist_t plist); | 83 | iphone_error_t iphone_msync_send(iphone_msync_client_t client, plist_t plist); |
| 101 | 84 | ||
| 102 | #ifdef __cplusplus | 85 | #ifdef __cplusplus |
