diff options
| author | 2008-08-17 19:51:42 +0200 | |
|---|---|---|
| committer | 2008-08-31 19:27:19 +0200 | |
| commit | 20d10800f03e251dac6d79d54fb8eacdbccbf398 (patch) | |
| tree | 0cbcd4e825185166afa50e87e000ee5164cf70a0 /include/libiphone/libiphone.h | |
| parent | 31323f0846ab3182588be5191b42644b9d5a8270 (diff) | |
| download | libimobiledevice-20d10800f03e251dac6d79d54fb8eacdbccbf398.tar.gz libimobiledevice-20d10800f03e251dac6d79d54fb8eacdbccbf398.tar.bz2 | |
use iphone_* instead of iph_*
Diffstat (limited to 'include/libiphone/libiphone.h')
| -rw-r--r-- | include/libiphone/libiphone.h | 74 |
1 files changed, 37 insertions, 37 deletions
diff --git a/include/libiphone/libiphone.h b/include/libiphone/libiphone.h index a5c753d..614b247 100644 --- a/include/libiphone/libiphone.h +++ b/include/libiphone/libiphone.h | |||
| @@ -29,60 +29,60 @@ extern "C" { | |||
| 29 | #include <sys/types.h> | 29 | #include <sys/types.h> |
| 30 | #include <sys/stat.h> | 30 | #include <sys/stat.h> |
| 31 | 31 | ||
| 32 | struct iph_device_int; | 32 | struct iphone_device_int; |
| 33 | typedef iph_device_int *iph_device_t; | 33 | typedef iphone_device_int *iphone_device_t; |
| 34 | 34 | ||
| 35 | struct iph_lckd_client_int; | 35 | struct iphone_lckd_client_int; |
| 36 | typedef iph_lckd_client_int *iph_lckd_client_t; | 36 | typedef iphone_lckd_client_int *iphone_lckd_client_t; |
| 37 | 37 | ||
| 38 | struct iph_umux_client_int; | 38 | struct iphone_umux_client_int; |
| 39 | typedef iph_umux_client_int *iph_umux_client_t; | 39 | typedef iphone_umux_client_int *iphone_umux_client_t; |
| 40 | 40 | ||
| 41 | struct iph_afc_client_int; | 41 | struct iphone_afc_client_int; |
| 42 | typedef iph_afc_client_int *iph_afc_client_t; | 42 | typedef iphone_afc_client_int *iphone_afc_client_t; |
| 43 | 43 | ||
| 44 | struct iph_afc_file_int; | 44 | struct iphone_afc_file_int; |
| 45 | typedef iph_afc_file_int *iph_afc_file_t; | 45 | typedef iphone_afc_file_int *iphone_afc_file_t; |
| 46 | 46 | ||
| 47 | //device related functions | 47 | //device related functions |
| 48 | int iph_get_device ( iph_device_t *device ); | 48 | int iphone_get_device ( iphone_device_t *device ); |
| 49 | void iph_free_device ( iph_device_t device ); | 49 | void iphone_free_device ( iphone_device_t device ); |
| 50 | 50 | ||
| 51 | 51 | ||
| 52 | //lockdownd related functions | 52 | //lockdownd related functions |
| 53 | int iph_lckd_new_client ( iph_device_t device, iph_lckd_client_t *client ); | 53 | int iphone_lckd_new_client ( iphone_device_t device, iphone_lckd_client_t *client ); |
| 54 | void iph_lckd_free_client( iph_lckd_client_t client ); | 54 | void iphone_lckd_free_client( iphone_lckd_client_t client ); |
| 55 | 55 | ||
| 56 | int iph_lckd_start_service ( iph_lckd_client_t client, const char *service ); | 56 | int iphone_lckd_start_service ( iphone_lckd_client_t client, const char *service ); |
| 57 | int iph_lckd_recv ( iph_lckd_client_t client, char **dump_data ); | 57 | int iphone_lckd_recv ( iphone_lckd_client_t client, char **dump_data ); |
| 58 | int iph_lckd_send ( iph_lckd_client_t client, char *raw_data, uint32_t length ); | 58 | int iphone_lckd_send ( iphone_lckd_client_t client, char *raw_data, uint32_t length ); |
| 59 | 59 | ||
| 60 | 60 | ||
| 61 | //usbmux related functions | 61 | //usbmux related functions |
| 62 | int iph_mux_new_client ( iph_device_t device, uint16_t src_port, uint16_t dst_port, iph_umux_client_t *client ); | 62 | int iphone_mux_new_client ( iphone_device_t device, uint16_t src_port, uint16_t dst_port, iphone_umux_client_t *client ); |
| 63 | void iph_mux_free_client ( iph_umux_client_t client ); | 63 | void iphone_mux_free_client ( iphone_umux_client_t client ); |
| 64 | 64 | ||
| 65 | int iph_mux_send ( iph_umux_client_t client, const char *data, uint32_t datalen ); | 65 | int iphone_mux_send ( iphone_umux_client_t client, const char *data, uint32_t datalen ); |
| 66 | int iph_mux_recv ( iph_umux_client_t client, char *data, uint32_t datalen ); | 66 | int iphone_mux_recv ( iphone_umux_client_t client, char *data, uint32_t datalen ); |
| 67 | 67 | ||
| 68 | 68 | ||
| 69 | //afc related functions | 69 | //afc related functions |
| 70 | int iph_afc_new_client ( iph_device_t device, int src_port, int dst_port, iph_afc_client_t *client ); | 70 | int iphone_afc_new_client ( iphone_device_t device, int src_port, int dst_port, iphone_afc_client_t *client ); |
| 71 | void iph_afc_free_client ( iph_afc_client_t client ); | 71 | void iphone_afc_free_client ( iphone_afc_client_t client ); |
| 72 | 72 | ||
| 73 | char **iph_afc_get_devinfo ( iph_afc_client_t client ); | 73 | char **iphone_afc_get_devinfo ( iphone_afc_client_t client ); |
| 74 | char **iph_afc_get_dir_list ( iph_afc_client_t client, const char *dir); | 74 | char **iphone_afc_get_dir_list ( iphone_afc_client_t client, const char *dir); |
| 75 | 75 | ||
| 76 | int iph_afc_get_file_attr ( iph_afc_client_t client, const char *filename, struct stat *stbuf ); | 76 | int iphone_afc_get_file_attr ( iphone_afc_client_t client, const char *filename, struct stat *stbuf ); |
| 77 | int iph_afc_open_file ( iph_afc_client_t client, const char *filename, uint32 file_mode, iph_afc_file_t *file ); | 77 | int iphone_afc_open_file ( iphone_afc_client_t client, const char *filename, uint32 file_mode, iphone_afc_file_t *file ); |
| 78 | void iph_afc_close_file ( iph_afc_client_t client, iph_afc_file_t file); | 78 | void iphone_afc_close_file ( iphone_afc_client_t client, iphone_afc_file_t file); |
| 79 | int iph_afc_read_file ( iph_afc_client_t client, iph_afc_file_t file, char *data, int length); | 79 | int iphone_afc_read_file ( iphone_afc_client_t client, iphone_afc_file_t file, char *data, int length); |
| 80 | int iph_afc_write_file ( iph_afc_client_t client, iph_afc_file_t file, const char *data, int length); | 80 | int iphone_afc_write_file ( iphone_afc_client_t client, iphone_afc_file_t file, const char *data, int length); |
| 81 | int iph_afc_seek_file ( iph_afc_client_t client, iph_afc_file_t file, int seekpos); | 81 | int iphone_afc_seek_file ( iphone_afc_client_t client, iphone_afc_file_t file, int seekpos); |
| 82 | int iph_afc_truncate_file ( iph_afc_client_t client, iph_afc_file_t file, uint32 newsize); | 82 | int iphone_afc_truncate_file ( iphone_afc_client_t client, iphone_afc_file_t file, uint32 newsize); |
| 83 | int iph_afc_delete_file ( iph_afc_client_t client, const char *path); | 83 | int iphone_afc_delete_file ( iphone_afc_client_t client, const char *path); |
| 84 | int iph_afc_rename_file ( iph_afc_client_t client, const char *from, const char *to); | 84 | int iphone_afc_rename_file ( iphone_afc_client_t client, const char *from, const char *to); |
| 85 | int iph_afc_mkdir ( iph_afc_client_t client, const char *dir); | 85 | int iphone_afc_mkdir ( iphone_afc_client_t client, const char *dir); |
| 86 | 86 | ||
| 87 | 87 | ||
| 88 | #ifdef __cplusplus | 88 | #ifdef __cplusplus |
