Fairport  v1.0.38
Header Structures
+ Collaboration diagram for Header Structures:

Classes

struct  fairport::disk::root< T >
 The root of the database. More...
struct  fairport::disk::header< ulonglong >
 The Unicode header structure. More...
struct  fairport::disk::header< ulong >
 The ANSI header structure. More...
struct  fairport::disk::header_crc_locations< ulong >
 The byte offsets used to calculate the CRCs in an ANSI PST. More...
struct  fairport::disk::header_crc_locations< ulonglong >
 The byte offsets used to calculate the CRCs in a Unicode PST file. More...

Enumerations

enum  fairport::disk::database_format { fairport::disk::database_format_ansi_min = 14, fairport::disk::database_format_ansi = 15, fairport::disk::database_format_unicode_min = 20, fairport::disk::database_format_unicode = 23 }
 Valid database format values (ANSI vs. Unicode) More...
enum  fairport::disk::database_type { fairport::disk::database_ost = 12, fairport::disk::database_pst = 19 }
 Vaild database types (OST vs. PST) More...
enum  fairport::disk::crypt_method { fairport::disk::crypt_method_none = 0, fairport::disk::crypt_method_permute = 1, fairport::disk::crypt_method_cyclic = 2 }
 Valid "encryption" methods. More...

Variables

const size_t fairport::disk::header_fmap_entries = 128
 The number of entries in the header's fmap structure.
const size_t fairport::disk::header_fpmap_size = 128
 The number of entries in the header's fpmap structure.
const size_t fairport::disk::header_lock_entries = 32
 The number of entries in the header's lock structure.
const ushort fairport::disk::pst_magic = 0x4D53
 PST Magic number.
const ushort fairport::disk::ost_magic = 0x4F53
 OST Magic number.
const uint fairport::disk::hlmagic = 0x4e444221
 High/Low magic number.

Enumeration Type Documentation

Valid "encryption" methods.

This value indicates what method was used to "encrypt" external data (external data means the data section of external blocks) in the file.

Enumerator:
crypt_method_none 

No "encryption" was used.

crypt_method_permute 

The permute method is used in this file.

crypt_method_cyclic 

The cyclic method is used in this file.

Definition at line 96 of file disk.h.

Valid database format values (ANSI vs. Unicode)

See also:
[MS-PST] 2.2.2.6/wVer
Enumerator:
database_format_ansi_min 

Initial ANSI file version number.

database_format_ansi 

Current ANSI file version number.

database_format_unicode_min 

Initial unicode version number.

database_format_unicode 

Current unicode version number.

Definition at line 67 of file disk.h.

Vaild database types (OST vs. PST)

See also:
[MS-PST] 2.2.2.6/wVerClient
Enumerator:
database_ost 

A OST file.

database_pst 

A PST file.

Definition at line 78 of file disk.h.


Variable Documentation

The number of entries in the header's fmap structure.

See also:
[MS-PST] 2.2.2.6/rgbFM

Definition at line 52 of file disk.h.

The number of entries in the header's fpmap structure.

See also:
[MS-PST] 2.2.2.6/rgbFP

Definition at line 57 of file disk.h.

The number of entries in the header's lock structure.

See also:
[MS-PST] 2.2.2.6/rgbReserved3

Definition at line 62 of file disk.h.

const uint fairport::disk::hlmagic = 0x4e444221

High/Low magic number.

At one point there was also a Low/High magic number, but it was never used.

See also:
[MS-PST] 2.2.2.6/dwMagic

Definition at line 148 of file disk.h.

const ushort fairport::disk::ost_magic = 0x4F53

OST Magic number.

Definition at line 89 of file disk.h.

const ushort fairport::disk::pst_magic = 0x4D53

PST Magic number.

Definition at line 86 of file disk.h.