This commit is contained in:
Pin
2021-10-11 22:47:44 -04:00
parent 98e1607604
commit 3ebbd93d6e
9 changed files with 159 additions and 124 deletions

8
include/crc_util.h Normal file
View File

@@ -0,0 +1,8 @@
#include <stdio.h>
extern const long png_signature[8];
int check_header_length(unsigned char *addr, long offset);
int check_file_header(char *addr);
int create_cc_file(unsigned char *addr, unsigned long file_length);
unsigned char* file_to_char_array(FILE *in_file, size_t* size);