From 9990d53ba2ff4e92b1844beb001dcc9c47d30f3e Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Fri, 3 Jul 2009 22:11:01 +0200 Subject: AFC cleanup: remove iphone_afc_file_* and use handles instead. Removed afc_get_file_attr because this function has to go into the program (like ifuse); afc_get_file_info has to be used instead. Modified dispatch_AFC_Packet so that the real buffer size has to be specified (instead of length-1). --- src/AFC.h | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'src/AFC.h') diff --git a/src/AFC.h b/src/AFC.h index 5827518..a9c33c3 100644 --- a/src/AFC.h +++ b/src/AFC.h @@ -55,16 +55,6 @@ struct iphone_afc_client_int { GMutex *mutex; }; -struct iphone_afc_file_int { - uint32_t filehandle; - uint32_t blocks; - off_t size; - uint32_t mode; - uint32_t nlink; -}; - - - enum { AFC_ERROR = 0x00000001, AFC_SUCCESS_RESPONSE = 0x00000002, @@ -96,5 +86,4 @@ enum { AFC_MAKE_LINK = 0x0000001C // MakeLink }; -uint32_t iphone_afc_get_file_handle(iphone_afc_file_t file); static int afcerror_to_errno(int afcerror); -- cgit v1.1-32-gdbae