diff options
author | Nikias Bassen | 2009-07-03 22:11:01 +0200 |
---|---|---|
committer | Matt Colyer | 2009-07-07 08:31:25 -0700 |
commit | 9990d53ba2ff4e92b1844beb001dcc9c47d30f3e (patch) | |
tree | 1ac137519294fc2be6eed870811a8047bf8ed1e4 /src/AFC.h | |
parent | 52d1beb6e43cc12ff57e648f1e5bdfadc4d36929 (diff) | |
download | libimobiledevice-9990d53ba2ff4e92b1844beb001dcc9c47d30f3e.tar.gz libimobiledevice-9990d53ba2ff4e92b1844beb001dcc9c47d30f3e.tar.bz2 |
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).
Diffstat (limited to 'src/AFC.h')
-rw-r--r-- | src/AFC.h | 11 |
1 files changed, 0 insertions, 11 deletions
@@ -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); |