pst_file Struct Reference

#include <src/libpst.h>

Collaboration diagram for pst_file:
Collaboration graph
[legend]

Data Fields

FILE * fp
 file pointer to opened PST file
char * cwd
 original cwd when the file was opened
char * fname
 original file name when the file was opened
const char * charset
 default character set for items without one
pst_index_lli_table
 the array of index structures
size_t i_count
size_t i_capacity
pst_desc_treed_head
 the head and tail of the top level of the descriptor tree
pst_desc_treed_tail
pst_x_attrib_llx_head
 the head of the extended attributes linked list
pst_block_recorderblock_head
 the head of the block recorder, a debug artifact used to detect cases where we might read the same block multiple times while processing a pst file.
int do_read64
uint64_t index1
 file offset of the first b-tree node in the index tree
uint64_t index1_back
 back pointer value in the first b-tree node in the index tree
uint64_t index2
 file offset of the first b-tree node in the descriptor tree
uint64_t index2_back
 back pointer value in the first b-tree node in the descriptor tree
uint64_t size
 size of the pst file
unsigned char encryption
unsigned char ind_type
 index type or file type

Detailed Description

Definition at line 887 of file libpst.h.


Field Documentation

the head of the block recorder, a debug artifact used to detect cases where we might read the same block multiple times while processing a pst file.

Definition at line 906 of file libpst.h.

const char* pst_file::charset

default character set for items without one

Definition at line 895 of file libpst.h.

Referenced by pst_default_charset(), and pst_open().

original cwd when the file was opened

Definition at line 891 of file libpst.h.

Referenced by pst_close(), pst_open(), and pst_reopen().

the head and tail of the top level of the descriptor tree

Definition at line 900 of file libpst.h.

Referenced by dumper(), main(), pst_close(), pst_getDptr(), pst_load_index(), and record_descriptor().

Definition at line 900 of file libpst.h.

Referenced by record_descriptor().

  • 0 is 32-bit pst file, pre Outlook 2003;
  • 1 is 64-bit pst file, Outlook 2003 or later

Definition at line 910 of file libpst.h.

Referenced by pst_build_id2(), pst_decode_assoc(), pst_decode_desc(), pst_decode_index(), pst_decode_table(), pst_decode_type3(), pst_getIntAt(), pst_getIntAtPos(), pst_open(), and pst_parse_block().

unsigned char pst_file::encryption
  • 0 PST_NO_ENCRYPT, none
  • 1 PST_COMP_ENCRYPT, simple byte substitution cipher with fixed key
  • 2 PST_ENCRYPT, german enigma 3 rotor cipher with fixed key

Definition at line 924 of file libpst.h.

Referenced by pst_ff_compile_ID(), pst_ff_getIDblock_dec(), and pst_open().

original file name when the file was opened

Definition at line 893 of file libpst.h.

Referenced by pst_close(), pst_open(), and pst_reopen().

FILE* pst_file::fp

file pointer to opened PST file

Definition at line 889 of file libpst.h.

Referenced by pst_close(), pst_getAtPos(), pst_open(), pst_read_block_size(), and pst_reopen().

Definition at line 898 of file libpst.h.

Referenced by pst_build_id_ptr().

Definition at line 898 of file libpst.h.

Referenced by main(), pst_build_id_ptr(), and pst_getID().

the array of index structures

Definition at line 897 of file libpst.h.

Referenced by main(), pst_build_id_ptr(), pst_close(), and pst_getID().

unsigned char pst_file::ind_type

index type or file type

  • 0x0e 32 bit pre Outlook 2003
  • 0x0f 32 bit pre Outlook 2003
  • 0x15 64 bit Outlook 2003 or later
  • 0x17 64 bit Outlook 2003 or later

Definition at line 930 of file libpst.h.

Referenced by pst_open().

uint64_t pst_file::index1

file offset of the first b-tree node in the index tree

Definition at line 912 of file libpst.h.

Referenced by pst_load_index(), and pst_open().

back pointer value in the first b-tree node in the index tree

Definition at line 914 of file libpst.h.

Referenced by pst_load_index(), and pst_open().

uint64_t pst_file::index2

file offset of the first b-tree node in the descriptor tree

Definition at line 916 of file libpst.h.

Referenced by pst_load_index(), and pst_open().

back pointer value in the first b-tree node in the descriptor tree

Definition at line 918 of file libpst.h.

Referenced by pst_load_index(), and pst_open().

uint64_t pst_file::size

size of the pst file

Definition at line 920 of file libpst.h.

Referenced by pst_open().

the head of the extended attributes linked list

Definition at line 902 of file libpst.h.

Referenced by pst_close(), pst_load_extended_attributes(), and pst_parse_block().


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

Generated on 6 Jul 2016 for 'LibPst' by  doxygen 1.6.1