diff options
Diffstat (limited to 'include/libiphone')
| -rw-r--r-- | include/libiphone/libiphone.h | 19 |
1 files changed, 8 insertions, 11 deletions
diff --git a/include/libiphone/libiphone.h b/include/libiphone/libiphone.h index bd8d9fb..fc24d35 100644 --- a/include/libiphone/libiphone.h +++ b/include/libiphone/libiphone.h | |||
| @@ -72,9 +72,6 @@ typedef struct iphone_lckd_client_int *iphone_lckd_client_t; | |||
| 72 | struct iphone_afc_client_int; | 72 | struct iphone_afc_client_int; |
| 73 | typedef struct iphone_afc_client_int *iphone_afc_client_t; | 73 | typedef struct iphone_afc_client_int *iphone_afc_client_t; |
| 74 | 74 | ||
| 75 | struct iphone_afc_file_int; | ||
| 76 | typedef struct iphone_afc_file_int *iphone_afc_file_t; | ||
| 77 | |||
| 78 | struct iphone_msync_client_int; | 75 | struct iphone_msync_client_int; |
| 79 | typedef struct iphone_msync_client_int *iphone_msync_client_t; | 76 | typedef struct iphone_msync_client_int *iphone_msync_client_t; |
| 80 | 77 | ||
| @@ -118,14 +115,14 @@ int iphone_afc_get_errno ( iphone_afc_client_t client ); | |||
| 118 | iphone_error_t iphone_afc_get_devinfo ( iphone_afc_client_t client, char ***infos ); | 115 | iphone_error_t iphone_afc_get_devinfo ( iphone_afc_client_t client, char ***infos ); |
| 119 | iphone_error_t iphone_afc_get_dir_list ( iphone_afc_client_t client, const char *dir, char ***list); | 116 | iphone_error_t iphone_afc_get_dir_list ( iphone_afc_client_t client, const char *dir, char ***list); |
| 120 | 117 | ||
| 121 | iphone_error_t iphone_afc_get_file_attr ( iphone_afc_client_t client, const char *filename, struct stat *stbuf ); | 118 | iphone_error_t iphone_afc_get_file_info ( iphone_afc_client_t client, const char *filename, char ***infolist ); |
| 122 | iphone_error_t iphone_afc_open_file ( iphone_afc_client_t client, const char *filename, iphone_afc_file_mode_t file_mode, iphone_afc_file_t *file ); | 119 | iphone_error_t iphone_afc_open_file ( iphone_afc_client_t client, const char *filename, iphone_afc_file_mode_t file_mode, uint64_t *handle ); |
| 123 | iphone_error_t iphone_afc_close_file ( iphone_afc_client_t client, iphone_afc_file_t file); | 120 | iphone_error_t iphone_afc_close_file ( iphone_afc_client_t client, uint64_t handle); |
| 124 | iphone_error_t iphone_afc_lock_file ( iphone_afc_client_t client, iphone_afc_file_t file, int operation); | 121 | iphone_error_t iphone_afc_lock_file ( iphone_afc_client_t client, uint64_t handle, int operation); |
| 125 | iphone_error_t iphone_afc_read_file ( iphone_afc_client_t client, iphone_afc_file_t file, char *data, int length, uint32_t *bytes); | 122 | iphone_error_t iphone_afc_read_file ( iphone_afc_client_t client, uint64_t handle, char *data, int length, uint32_t *bytes); |
| 126 | iphone_error_t iphone_afc_write_file ( iphone_afc_client_t client, iphone_afc_file_t file, const char *data, int length, uint32_t *bytes); | 123 | iphone_error_t iphone_afc_write_file ( iphone_afc_client_t client, uint64_t handle, const char *data, int length, uint32_t *bytes); |
| 127 | iphone_error_t iphone_afc_seek_file ( iphone_afc_client_t client, iphone_afc_file_t file, int seekpos); | 124 | iphone_error_t iphone_afc_seek_file ( iphone_afc_client_t client, uint64_t handle, int64_t offset, int whence); |
| 128 | iphone_error_t iphone_afc_truncate_file ( iphone_afc_client_t client, iphone_afc_file_t file, uint32_t newsize); | 125 | iphone_error_t iphone_afc_truncate_file ( iphone_afc_client_t client, uint64_t handle, uint64_t newsize); |
| 129 | iphone_error_t iphone_afc_delete_file ( iphone_afc_client_t client, const char *path); | 126 | iphone_error_t iphone_afc_delete_file ( iphone_afc_client_t client, const char *path); |
| 130 | iphone_error_t iphone_afc_rename_file ( iphone_afc_client_t client, const char *from, const char *to); | 127 | iphone_error_t iphone_afc_rename_file ( iphone_afc_client_t client, const char *from, const char *to); |
| 131 | iphone_error_t iphone_afc_mkdir ( iphone_afc_client_t client, const char *dir); | 128 | iphone_error_t iphone_afc_mkdir ( iphone_afc_client_t client, const char *dir); |
