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

#include <mspack.h>

Public Attributes

struct mschmd_filenext
 
struct mschmd_sectionsection
 
off_t offset
 
off_t length
 
char * filename
 

Detailed Description

A structure which represents a file stored in a CHM helpfile.

All fields are READ ONLY.

Definition at line 1370 of file mspack.h.

Member Data Documentation

◆ filename

char * mschmd_file::filename

The filename of this file – a null terminated string in UTF-8.

Definition at line 1390 of file mspack.h.

Referenced by chmd_read_headers(), and find_sys_file().

◆ length

off_t mschmd_file::length

The length of this file, in bytes

Definition at line 1387 of file mspack.h.

Referenced by chmd_fast_find(), chmd_init_decomp(), chmd_read_headers(), read_reset_table(), and read_spaninfo().

◆ next

struct mschmd_file * mschmd_file::next

A pointer to the next file in the list, or NULL if this is the final file.

Definition at line 1375 of file mspack.h.

Referenced by chmd_close(), and chmd_read_headers().

◆ offset

off_t mschmd_file::offset

The offset within the section data that this file is located at.

Definition at line 1384 of file mspack.h.

Referenced by chmd_fast_find(), chmd_init_decomp(), and chmd_read_headers().

◆ section

struct mschmd_section * mschmd_file::section

A pointer to the section that this file is located in. Indirectly, it also points to the CHM helpfile the file is located in.

Definition at line 1381 of file mspack.h.

Referenced by chmd_fast_find(), chmd_read_headers(), and find_sys_file().


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