summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/AFC.c4
-rw-r--r--src/AFC.h2
2 files changed, 6 insertions, 0 deletions
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;
+}
diff --git a/src/AFC.h b/src/AFC.h
index b52d693..f05d831 100644
--- a/src/AFC.h
+++ b/src/AFC.h
@@ -71,3 +71,5 @@ enum {
AFC_READ = 0x0000000f,
AFC_WRITE = 0x00000010
};
+
+uint32 iphone_afc_get_file_handle(iphone_afc_file_t file);