diff options
author | 2013-11-19 21:43:38 +0100 | |
---|---|---|
committer | 2013-11-19 21:43:38 +0100 | |
commit | 992d1815114245028a1691788e3fca92e90f3906 (patch) | |
tree | f0f6d71686e8dd0d0737e40a7880c8d564c1efb9 /src/img3.h | |
parent | 7308198824b795d15ea8d2f2b67ab03b8d7bbb57 (diff) | |
download | idevicerestore-992d1815114245028a1691788e3fca92e90f3906.tar.gz idevicerestore-992d1815114245028a1691788e3fca92e90f3906.tar.bz2 |
img3: hide low level img3 code and provide simpler img3_stitch_component() function
Diffstat (limited to 'src/img3.h')
-rw-r--r-- | src/img3.h | 8 |
1 files changed, 1 insertions, 7 deletions
@@ -95,13 +95,7 @@ typedef struct { img3_element* unkn_element;*/ } img3_file; -void img3_free(img3_file* image); -img3_element* img3_parse_element(unsigned char* data); -void img3_free_element(img3_element* element); -img3_file* img3_parse_file(unsigned char* data, unsigned int size); -int img3_get_data(img3_file* image, unsigned char** pdata, unsigned int* psize); -int img3_replace_signature(img3_file* image, unsigned char* signature); - +int img3_stitch_component(const unsigned char* component, unsigned int component_size, const unsigned char* blob, unsigned int blob_size, unsigned char** img3_data, unsigned int *img3_size); #ifdef __cplusplus }s |