Rizin
unix-like reverse engineering framework and cli tools
mskwajd_header Struct Reference

#include <mspack.h>

Public Attributes

unsigned short comp_type
 
off_t data_offset
 
int headers
 
off_t length
 
char * filename
 
char * extra
 
unsigned short extra_length
 

Detailed Description

A structure which represents an KWAJ compressed file.

All fields are READ ONLY.

Definition at line 2011 of file mspack.h.

Member Data Documentation

◆ comp_type

unsigned short mskwajd_header::comp_type

The compression type; should be one of MSKWAJ_COMP_NONE, MSKWAJ_COMP_XOR, MSKWAJ_COMP_SZDD or MSKWAJ_COMP_LZH

Definition at line 2015 of file mspack.h.

Referenced by kwajd_extract(), and kwajd_read_headers().

◆ data_offset

off_t mskwajd_header::data_offset

The offset in the file where the compressed data stream begins

Definition at line 2018 of file mspack.h.

Referenced by kwajd_extract(), and kwajd_read_headers().

◆ extra

char * mskwajd_header::extra

extra uncompressed data (usually text) in the header. This data can contain nulls so use extra_length to get the size.

Definition at line 2032 of file mspack.h.

Referenced by kwajd_read_headers().

◆ extra_length

unsigned short mskwajd_header::extra_length

length of extra uncompressed data in the header

Definition at line 2035 of file mspack.h.

Referenced by kwajd_read_headers().

◆ filename

char * mskwajd_header::filename

output filename, or NULL if not present

Definition at line 2027 of file mspack.h.

Referenced by kwajd_read_headers().

◆ headers

int mskwajd_header::headers

Flags indicating which optional headers were included.

Definition at line 2021 of file mspack.h.

Referenced by kwajd_read_headers().

◆ length

off_t mskwajd_header::length

The amount of uncompressed data in the file, or 0 if not present.

Definition at line 2024 of file mspack.h.

Referenced by kwajd_read_headers().


The documentation for this struct was generated from the following file: