diff options
Diffstat (limited to 'include/libiphone')
| -rw-r--r-- | include/libiphone/libiphone.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/libiphone/libiphone.h b/include/libiphone/libiphone.h index 158fd84..7d9c223 100644 --- a/include/libiphone/libiphone.h +++ b/include/libiphone/libiphone.h | |||
| @@ -77,6 +77,9 @@ typedef struct iphone_afc_client_int *iphone_afc_client_t; | |||
| 77 | struct iphone_afc_file_int; | 77 | struct iphone_afc_file_int; |
| 78 | typedef struct iphone_afc_file_int *iphone_afc_file_t; | 78 | typedef struct iphone_afc_file_int *iphone_afc_file_t; |
| 79 | 79 | ||
| 80 | struct iphone_np_client_int; | ||
| 81 | typedef struct iphone_np_client_int *iphone_np_client_t; | ||
| 82 | |||
| 80 | //device related functions | 83 | //device related functions |
| 81 | void iphone_set_debug(int level); | 84 | void iphone_set_debug(int level); |
| 82 | iphone_error_t iphone_get_device ( iphone_device_t *device ); | 85 | iphone_error_t iphone_get_device ( iphone_device_t *device ); |
| @@ -111,6 +114,7 @@ iphone_error_t iphone_afc_get_dir_list ( iphone_afc_client_t client, const char | |||
| 111 | iphone_error_t iphone_afc_get_file_attr ( iphone_afc_client_t client, const char *filename, struct stat *stbuf ); | 114 | iphone_error_t iphone_afc_get_file_attr ( iphone_afc_client_t client, const char *filename, struct stat *stbuf ); |
| 112 | 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 ); | 115 | 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 ); |
| 113 | iphone_error_t iphone_afc_close_file ( iphone_afc_client_t client, iphone_afc_file_t file); | 116 | iphone_error_t iphone_afc_close_file ( iphone_afc_client_t client, iphone_afc_file_t file); |
| 117 | iphone_error_t iphone_afc_lock_file ( iphone_afc_client_t client, iphone_afc_file_t file, int operation); | ||
| 114 | iphone_error_t iphone_afc_read_file ( iphone_afc_client_t client, iphone_afc_file_t file, char *data, int length, uint32_t *bytes); | 118 | iphone_error_t iphone_afc_read_file ( iphone_afc_client_t client, iphone_afc_file_t file, char *data, int length, uint32_t *bytes); |
| 115 | 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); | 119 | 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); |
| 116 | iphone_error_t iphone_afc_seek_file ( iphone_afc_client_t client, iphone_afc_file_t file, int seekpos); | 120 | iphone_error_t iphone_afc_seek_file ( iphone_afc_client_t client, iphone_afc_file_t file, int seekpos); |
