diff options
author | 2010-05-23 12:40:06 -0400 | |
---|---|---|
committer | 2010-05-23 12:40:06 -0400 | |
commit | db663abb4d7fd66b5433d46d46b7cdeda22fccdc (patch) | |
tree | 9b98b849e2194f23c31ce79e0e5fec27aa3907a4 /src/img3.h | |
parent | ab1f7cb3c283b468235562b0b85db498b0a93766 (diff) | |
download | idevicerestore-db663abb4d7fd66b5433d46d46b7cdeda22fccdc.tar.gz idevicerestore-db663abb4d7fd66b5433d46d46b7cdeda22fccdc.tar.bz2 |
TSS stitching and loading of signed iBEC is now working, but launching from recovery mode causes libusb to fail unreferencing the device
Diffstat (limited to 'src/img3.h')
-rw-r--r-- | src/img3.h | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -79,10 +79,11 @@ typedef struct { img3_element* cert_element; } img3_file; -img3_file* img3_parse_file(unsigned char* data, int size); +img3_file* img3_parse_file(char* data, int size); img3_element* img3_parse_element(char* data); -void img3_replace_signature(img3_file* image, char* signature); +int img3_replace_signature(img3_file* image, char* signature); void img3_free(img3_file* image); -char* img3_get_data(img3_file* image); +int img3_get_data(img3_file* image, char** pdata, int* psize); +void img3_free_element(img3_element* element); #endif |