Fix typos
This commit is contained in:
parent
3458794791
commit
e04a231974
4 changed files with 16 additions and 16 deletions
|
|
@ -11,6 +11,16 @@ typedef struct raw
|
|||
int size;
|
||||
} raw;
|
||||
|
||||
typedef struct LFH
|
||||
{
|
||||
char mb[4]; // CDH_MB "PK\03\04"
|
||||
void* crc32; // TODO TYPE?
|
||||
int size_compressed_data;
|
||||
int size_uncompressed_data;
|
||||
void* filename; // TODO TYPE?
|
||||
void* data;
|
||||
} LFH;
|
||||
|
||||
typedef struct CDH
|
||||
{
|
||||
char mb[4]; // CDH_MB "PK\05\06"
|
||||
|
|
@ -19,21 +29,10 @@ typedef struct CDH
|
|||
void* filename; // TODO TYPE?
|
||||
} CDH;
|
||||
|
||||
typedef struct LFH
|
||||
{
|
||||
char mb[4]; // CDH_MB "PK\03\04"
|
||||
void* crc32; // TODO TYPE?
|
||||
LFH* lfh;
|
||||
int size_compressed_data;
|
||||
int size_uncompressed_data;
|
||||
void* filename; // TODO TYPE?
|
||||
void* data;
|
||||
} LFH;
|
||||
|
||||
typedef struct zip
|
||||
{
|
||||
// compression type
|
||||
CDH* central_directory;
|
||||
CDH* cd;
|
||||
} zip;
|
||||
|
||||
void find_cdh(raw* raw, zip* out);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue