Commit 44efbc65 authored by Zach C's avatar Zach C Committed by Matt Colyer

Exposes AFC file handle.

parent b8a485ee
......@@ -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;
}
......@@ -71,3 +71,5 @@ enum {
AFC_READ = 0x0000000f,
AFC_WRITE = 0x00000010
};
uint32 iphone_afc_get_file_handle(iphone_afc_file_t file);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment