From 992d1815114245028a1691788e3fca92e90f3906 Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Tue, 19 Nov 2013 21:43:38 +0100 Subject: img3: hide low level img3 code and provide simpler img3_stitch_component() function --- src/img3.h | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'src/img3.h') diff --git a/src/img3.h b/src/img3.h index 1132162..d1119a6 100644 --- a/src/img3.h +++ b/src/img3.h @@ -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 -- cgit v1.1-32-gdbae