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

#include <mspack.h>

Public Attributes

struct mscabd_foldernext
 
int comp_type
 
unsigned int num_blocks
 

Detailed Description

A structure which represents a single folder in a cabinet or cabinet set.

All fields are READ ONLY.

A folder is a single compressed stream of data. When uncompressed, it holds the data of one or more files. A folder may be split across more than one cabinet.

Definition at line 806 of file mspack.h.

Member Data Documentation

◆ comp_type

int mscabd_folder::comp_type

The compression format used by this folder.

The macro MSCABD_COMP_METHOD() should be used on this field to get the algorithm used. The macro MSCABD_COMP_LEVEL() should be used to get the "compression level".

See also
MSCABD_COMP_METHOD(), MSCABD_COMP_LEVEL()

Definition at line 822 of file mspack.h.

Referenced by cabd_can_merge_folders(), cabd_extract(), and cabd_read_headers().

◆ next

struct mscabd_folder * mscabd_folder::next

A pointer to the next folder in this cabinet or cabinet set, or NULL if this is the final folder.

Definition at line 811 of file mspack.h.

Referenced by cabd_close(), cabd_merge(), and cabd_read_headers().

◆ num_blocks

unsigned int mscabd_folder::num_blocks

The total number of data blocks used by this folder. This includes data blocks present in other files, if this folder spans more than one cabinet.

Definition at line 829 of file mspack.h.

Referenced by cabd_can_merge_folders(), cabd_extract(), cabd_merge(), and cabd_read_headers().


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