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

#include <mspack.h>

Public Attributes

struct mscabd_filenext
 
char * filename
 
unsigned int length
 
int attribs
 
char time_h
 
char time_m
 
char time_s
 
char date_d
 
char date_m
 
int date_y
 
struct mscabd_folderfolder
 
unsigned int offset
 

Detailed Description

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

All fields are READ ONLY.

Definition at line 863 of file mspack.h.

Member Data Documentation

◆ attribs

int mscabd_file::attribs

File attributes.

The following attributes are defined:

Definition at line 895 of file mspack.h.

◆ date_d

char mscabd_file::date_d

File's last modified date, day field.

Definition at line 905 of file mspack.h.

◆ date_m

char mscabd_file::date_m

File's last modified date, month field.

Definition at line 907 of file mspack.h.

◆ date_y

int mscabd_file::date_y

File's last modified date, year field.

Definition at line 909 of file mspack.h.

◆ filename

char * mscabd_file::filename

The filename of the file.

A null terminated string of up to 255 bytes in length, it may be in either ISO-8859-1 or UTF8 format, depending on the file attributes.

See also
attribs

Definition at line 878 of file mspack.h.

Referenced by cabd_can_merge_folders(), cabd_close(), cabd_merge(), cabinfo(), is_cab_using_unix_paths(), and unix_path_seperators().

◆ folder

struct mscabd_folder * mscabd_file::folder

A pointer to the folder that contains this file.

Definition at line 912 of file mspack.h.

Referenced by cabd_merge().

◆ length

unsigned int mscabd_file::length

The uncompressed length of the file, in bytes.

Definition at line 881 of file mspack.h.

Referenced by cabd_can_merge_folders(), and cabinfo().

◆ next

struct mscabd_file * mscabd_file::next

The next file in the cabinet or cabinet set, or NULL if this is the final file.

Definition at line 868 of file mspack.h.

Referenced by cabd_can_merge_folders(), cabd_close(), cabd_merge(), cabd_read_headers(), cabinfo(), is_cab_using_unix_paths(), and unix_path_seperators().

◆ offset

unsigned int mscabd_file::offset

The uncompressed offset of this file in its folder.

Definition at line 915 of file mspack.h.

Referenced by cabd_can_merge_folders().

◆ time_h

char mscabd_file::time_h

File's last modified time, hour field.

Definition at line 898 of file mspack.h.

◆ time_m

char mscabd_file::time_m

File's last modified time, minute field.

Definition at line 900 of file mspack.h.

◆ time_s

char mscabd_file::time_s

File's last modified time, second field.

Definition at line 902 of file mspack.h.


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