summaryrefslogtreecommitdiffstats
path: root/include/libiphone
diff options
context:
space:
mode:
authorGravatar Jonathan Beck2008-08-13 19:55:54 +0200
committerGravatar Jonathan Beck2008-08-31 19:27:19 +0200
commit07ef95d51191cef4246a6b8e6014a29edadde227 (patch)
treec7a0dabc021d628b0ee5f64ed5b46c696bd1d538 /include/libiphone
parentdd54db0bd0fd009d35f792b368212fdc7916b0c8 (diff)
downloadlibimobiledevice-07ef95d51191cef4246a6b8e6014a29edadde227.tar.gz
libimobiledevice-07ef95d51191cef4246a6b8e6014a29edadde227.tar.bz2
add afc_get_file_attr
Diffstat (limited to 'include/libiphone')
-rw-r--r--include/libiphone/libiphone.h3
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
31struct iph_device_int; 32struct iph_device_int;
32typedef iph_device_int *iph_device_t; 33typedef iph_device_int *iph_device_t;
@@ -71,6 +72,8 @@ void iph_afc_free_client ( iph_afc_client_t client );
71 72
72char **iph_afc_get_devinfo ( iph_afc_client_t client ); 73char **iph_afc_get_devinfo ( iph_afc_client_t client );
73char **iph_afc_get_dir_list ( iph_afc_client_t client, const char *dir); 74char **iph_afc_get_dir_list ( iph_afc_client_t client, const char *dir);
75
76int iph_afc_get_file_attr ( iph_afc_client_t client, const char *filename, struct stat *stbuf );
74int iph_afc_open_file ( iph_afc_client_t client, const char *filename, uint32 file_mode, iph_afc_file_t *file ); 77int iph_afc_open_file ( iph_afc_client_t client, const char *filename, uint32 file_mode, iph_afc_file_t *file );
75void iph_afc_close_file ( iph_afc_client_t client, iph_afc_file_t file); 78void iph_afc_close_file ( iph_afc_client_t client, iph_afc_file_t file);
76int iph_afc_read_file ( iph_afc_client_t client, iph_afc_file_t file, char *data, int length); 79int iph_afc_read_file ( iph_afc_client_t client, iph_afc_file_t file, char *data, int length);