summaryrefslogtreecommitdiffstats
path: root/src/img3.h
diff options
context:
space:
mode:
authorGravatar Joshua Hill2010-05-23 12:40:06 -0400
committerGravatar Joshua Hill2010-05-23 12:40:06 -0400
commitdb663abb4d7fd66b5433d46d46b7cdeda22fccdc (patch)
tree9b98b849e2194f23c31ce79e0e5fec27aa3907a4 /src/img3.h
parentab1f7cb3c283b468235562b0b85db498b0a93766 (diff)
downloadidevicerestore-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.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/img3.h b/src/img3.h
index f2519f0..a19ae99 100644
--- a/src/img3.h
+++ b/src/img3.h
@@ -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