From 44efbc65af9c9e696e3d76041a2a8c7ea4ac0af3 Mon Sep 17 00:00:00 2001 From: Zach C Date: Thu, 23 Oct 2008 20:03:15 -0700 Subject: Exposes AFC file handle. --- src/AFC.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/AFC.c') diff --git a/src/AFC.c b/src/AFC.c index 42ada68..ba58db5 100644 --- a/src/AFC.c +++ b/src/AFC.c @@ -1042,3 +1042,7 @@ iphone_error_t iphone_afc_truncate_file(iphone_afc_client_t client, iphone_afc_f return IPHONE_E_NOT_ENOUGH_DATA; } } + +uint32 iphone_afc_get_file_handle(iphone_afc_file_t file) { + return file->filehandle; +} -- cgit v1.1-32-gdbae