diff options
| author | 2008-10-23 20:03:15 -0700 | |
|---|---|---|
| committer | 2008-10-23 20:03:15 -0700 | |
| commit | 44efbc65af9c9e696e3d76041a2a8c7ea4ac0af3 (patch) | |
| tree | 8ea41883207693371bddfd4a73c2d4740d77be67 | |
| parent | b8a485ee5b176c068e212dde3c9c3ffbf9d433f3 (diff) | |
| download | libimobiledevice-44efbc65af9c9e696e3d76041a2a8c7ea4ac0af3.tar.gz libimobiledevice-44efbc65af9c9e696e3d76041a2a8c7ea4ac0af3.tar.bz2 | |
Exposes AFC file handle.
| -rw-r--r-- | src/AFC.c | 4 | ||||
| -rw-r--r-- | src/AFC.h | 2 |
2 files changed, 6 insertions, 0 deletions
| @@ -1042,3 +1042,7 @@ iphone_error_t iphone_afc_truncate_file(iphone_afc_client_t client, iphone_afc_f | |||
| 1042 | return IPHONE_E_NOT_ENOUGH_DATA; | 1042 | return IPHONE_E_NOT_ENOUGH_DATA; |
| 1043 | } | 1043 | } |
| 1044 | } | 1044 | } |
| 1045 | |||
| 1046 | uint32 iphone_afc_get_file_handle(iphone_afc_file_t file) { | ||
| 1047 | return file->filehandle; | ||
| 1048 | } | ||
| @@ -71,3 +71,5 @@ enum { | |||
| 71 | AFC_READ = 0x0000000f, | 71 | AFC_READ = 0x0000000f, |
| 72 | AFC_WRITE = 0x00000010 | 72 | AFC_WRITE = 0x00000010 |
| 73 | }; | 73 | }; |
| 74 | |||
| 75 | uint32 iphone_afc_get_file_handle(iphone_afc_file_t file); | ||
