libmspack
Data Fields

mscabd_file Struct Reference

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

#include <mspack.h>

Data Fields

struct mscabd_filenext
 The next file in the cabinet or cabinet set, or NULL if this is the final file.
char * filename
 The filename of the file.
unsigned int length
 The uncompressed length of the file, in bytes.
int attribs
 File attributes.
char time_h
 File's last modified time, hour field.
char time_m
 File's last modified time, minute field.
char time_s
 File's last modified time, second field.
char date_d
 File's last modified date, day field.
char date_m
 File's last modified date, month field.
int date_y
 File's last modified date, year field.
struct mscabd_folderfolder
 A pointer to the folder that contains this file.
unsigned int offset
 The uncompressed offset of this file in its folder.

Detailed Description

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

All fields are READ ONLY.


Field Documentation

File attributes.

The following attributes are defined:

File's last modified date, day field.

File's last modified date, month field.

File's last modified date, year field.

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

A pointer to the folder that contains this file.

unsigned int mscabd_file::length

The uncompressed length of the file, in bytes.

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.

File's last modified time, hour field.

File's last modified time, minute field.

File's last modified time, second field.


The documentation for this struct was generated from the following file:
 All Data Structures Files Functions Variables Defines