PST File Format SDK v0.4
Loading...
Searching...
No Matches
pstsdk::disk::root< T > Struct Template Reference

The root of the database. More...

#include <disk.h>

+ Inheritance diagram for pstsdk::disk::root< T >:
+ Collaboration diagram for pstsdk::disk::root< T >:

Public Types

typedeflocation
 
typedefcount
 

Public Attributes

ulong cOrphans
 The number of "orphans" in the BBT.
 
location ibFileEof
 EOF of the file, according the header.
 
location ibAMapLast
 The location of the last valid AMap page.
 
count cbAMapFree
 Amount of space free in all AMap pages.
 
count cbPMapFree
 Amount of space free in all PMap pages.
 
block_reference< T > brefNBT
 The location of the root of the NBT.
 
block_reference< T > brefBBT
 The location of the root of the BBT.
 
byte fAMapValid
 Indicates if the AMap pages are valid or not.
 
byte bARVec
 Indicates which AddRef vector is used.
 
ushort cARVec
 Number of elements in the AddRef vector.
 

Detailed Description

template<typename T>
struct pstsdk::disk::root< T >

The root of the database.

The root structures describes where the root pages of the NBT and BBT are located, the EOF location, how much space is free, the allocation state flag, and more.

Template Parameters
Tulonglong for a unicode store, ulong for an ANSI store
See also
[MS-PST] 2.2.2.5

Definition at line 112 of file disk.h.

Member Typedef Documentation

◆ count

template<typename T >
typedef T pstsdk::disk::root< T >::count

Definition at line 115 of file disk.h.

◆ location

template<typename T >
typedef T pstsdk::disk::root< T >::location

Definition at line 114 of file disk.h.

Member Data Documentation

◆ bARVec

template<typename T >
byte pstsdk::disk::root< T >::bARVec

Indicates which AddRef vector is used.

Definition at line 125 of file disk.h.

◆ brefBBT

template<typename T >
block_reference<T> pstsdk::disk::root< T >::brefBBT

The location of the root of the BBT.

Definition at line 123 of file disk.h.

◆ brefNBT

template<typename T >
block_reference<T> pstsdk::disk::root< T >::brefNBT

The location of the root of the NBT.

Definition at line 122 of file disk.h.

◆ cARVec

template<typename T >
ushort pstsdk::disk::root< T >::cARVec

Number of elements in the AddRef vector.

Definition at line 126 of file disk.h.

◆ cbAMapFree

template<typename T >
count pstsdk::disk::root< T >::cbAMapFree

Amount of space free in all AMap pages.

Definition at line 120 of file disk.h.

◆ cbPMapFree

template<typename T >
count pstsdk::disk::root< T >::cbPMapFree

Amount of space free in all PMap pages.

Definition at line 121 of file disk.h.

◆ cOrphans

template<typename T >
ulong pstsdk::disk::root< T >::cOrphans

The number of "orphans" in the BBT.

Definition at line 117 of file disk.h.

◆ fAMapValid

template<typename T >
byte pstsdk::disk::root< T >::fAMapValid

Indicates if the AMap pages are valid or not.

Definition at line 124 of file disk.h.

◆ ibAMapLast

template<typename T >
location pstsdk::disk::root< T >::ibAMapLast

The location of the last valid AMap page.

Definition at line 119 of file disk.h.

◆ ibFileEof

template<typename T >
location pstsdk::disk::root< T >::ibFileEof

EOF of the file, according the header.

Definition at line 118 of file disk.h.


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