diff options
Diffstat (limited to 'include/libiphone/libiphone.h')
| -rw-r--r-- | include/libiphone/libiphone.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/libiphone/libiphone.h b/include/libiphone/libiphone.h index a4b8b12..2faaef7 100644 --- a/include/libiphone/libiphone.h +++ b/include/libiphone/libiphone.h | |||
| @@ -27,6 +27,7 @@ extern "C" { | |||
| 27 | #endif | 27 | #endif |
| 28 | 28 | ||
| 29 | #include <sys/types.h> | 29 | #include <sys/types.h> |
| 30 | #include <sys/stat.h> | ||
| 30 | 31 | ||
| 31 | struct iph_device_int; | 32 | struct iph_device_int; |
| 32 | typedef iph_device_int *iph_device_t; | 33 | typedef iph_device_int *iph_device_t; |
| @@ -71,6 +72,8 @@ void iph_afc_free_client ( iph_afc_client_t client ); | |||
| 71 | 72 | ||
| 72 | char **iph_afc_get_devinfo ( iph_afc_client_t client ); | 73 | char **iph_afc_get_devinfo ( iph_afc_client_t client ); |
| 73 | char **iph_afc_get_dir_list ( iph_afc_client_t client, const char *dir); | 74 | char **iph_afc_get_dir_list ( iph_afc_client_t client, const char *dir); |
| 75 | |||
| 76 | int iph_afc_get_file_attr ( iph_afc_client_t client, const char *filename, struct stat *stbuf ); | ||
| 74 | int iph_afc_open_file ( iph_afc_client_t client, const char *filename, uint32 file_mode, iph_afc_file_t *file ); | 77 | int iph_afc_open_file ( iph_afc_client_t client, const char *filename, uint32 file_mode, iph_afc_file_t *file ); |
| 75 | void iph_afc_close_file ( iph_afc_client_t client, iph_afc_file_t file); | 78 | void iph_afc_close_file ( iph_afc_client_t client, iph_afc_file_t file); |
| 76 | int iph_afc_read_file ( iph_afc_client_t client, iph_afc_file_t file, char *data, int length); | 79 | int iph_afc_read_file ( iph_afc_client_t client, iph_afc_file_t file, char *data, int length); |
