From 07ef95d51191cef4246a6b8e6014a29edadde227 Mon Sep 17 00:00:00 2001
From: Jonathan Beck
Date: Wed, 13 Aug 2008 19:55:54 +0200
Subject: add afc_get_file_attr

---
 include/libiphone/libiphone.h | 3 +++
 1 file changed, 3 insertions(+)

(limited to 'include')

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" {
 #endif
 
 #include <sys/types.h>
+#include <sys/stat.h>
 
 struct iph_device_int;
 typedef iph_device_int *iph_device_t;
@@ -71,6 +72,8 @@ void iph_afc_free_client ( iph_afc_client_t client );
 
 char **iph_afc_get_devinfo ( iph_afc_client_t client );
 char **iph_afc_get_dir_list ( iph_afc_client_t client, const char *dir);
+
+int iph_afc_get_file_attr ( iph_afc_client_t client, const char *filename, struct stat *stbuf );
 int iph_afc_open_file ( iph_afc_client_t client, const char *filename, uint32 file_mode, iph_afc_file_t *file );
 void iph_afc_close_file ( iph_afc_client_t client, iph_afc_file_t file);
 int iph_afc_read_file ( iph_afc_client_t client, iph_afc_file_t file, char *data, int length);
-- 
cgit v1.1-32-gdbae