A structure which represents a single file in a cabinet or cabinet set. More...
#include <mspack.h>
Data Fields | |
| struct mscabd_file * | next |
| The next file in the cabinet or cabinet set, or NULL if this is the final file. More... | |
| char * | filename |
| The filename of the file. More... | |
| unsigned int | length |
| The uncompressed length of the file, in bytes. More... | |
| int | attribs |
| File attributes. More... | |
| char | time_h |
| File's last modified time, hour field. More... | |
| char | time_m |
| File's last modified time, minute field. More... | |
| char | time_s |
| File's last modified time, second field. More... | |
| char | date_d |
| File's last modified date, day field. More... | |
| char | date_m |
| File's last modified date, month field. More... | |
| int | date_y |
| File's last modified date, year field. More... | |
| struct mscabd_folder * | folder |
| A pointer to the folder that contains this file. More... | |
| unsigned int | offset |
| The uncompressed offset of this file in its folder. More... | |
A structure which represents a single file in a cabinet or cabinet set.
All fields are READ ONLY.
| int mscabd_file::attribs |
File attributes.
The following attributes are defined:
| char mscabd_file::date_d |
File's last modified date, day field.
| char mscabd_file::date_m |
File's last modified date, month field.
| int mscabd_file::date_y |
File's last modified date, year field.
| 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.
| struct mscabd_folder* mscabd_file::folder |
A pointer to the folder that contains this file.
| unsigned int mscabd_file::length |
The uncompressed length of the file, in bytes.
| struct mscabd_file* mscabd_file::next |
The next file in the cabinet or cabinet set, or NULL if this is the final file.
| unsigned int mscabd_file::offset |
The uncompressed offset of this file in its folder.
| char mscabd_file::time_h |
File's last modified time, hour field.
| char mscabd_file::time_m |
File's last modified time, minute field.
| char mscabd_file::time_s |
File's last modified time, second field.
1.8.6