Mercurial > libpst
annotate xml/libpst.in @ 90:631d02d30a1c
More fixes for 32/64 bit portability on big endian ppc.
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Tue, 05 Aug 2008 11:52:29 -0700 |
parents | 56fa05fd5271 |
children | b7f456946c5b |
rev | line source |
---|---|
16 | 1 <reference> |
2 <title>@PACKAGE@ Utilities - Version @VERSION@</title> | |
3 <partintro> | |
4 <title>Packages</title> | |
31 | 5 |
57
de3753c3160a
add archive directory with history of alioth versions that have been merged here
Carl Byington <carl@five-ten-sg.com>
parents:
55
diff
changeset
|
6 <para>This is a fork of the libpst project at SourceForge. Another fork |
de3753c3160a
add archive directory with history of alioth versions that have been merged here
Carl Byington <carl@five-ten-sg.com>
parents:
55
diff
changeset
|
7 is located at <ulink |
de3753c3160a
add archive directory with history of alioth versions that have been merged here
Carl Byington <carl@five-ten-sg.com>
parents:
55
diff
changeset
|
8 url="http://alioth.debian.org/projects/libpst/">http://alioth.debian.org/projects/libpst/</ulink> |
de3753c3160a
add archive directory with history of alioth versions that have been merged here
Carl Byington <carl@five-ten-sg.com>
parents:
55
diff
changeset
|
9 </para> |
31 | 10 |
57
de3753c3160a
add archive directory with history of alioth versions that have been merged here
Carl Byington <carl@five-ten-sg.com>
parents:
55
diff
changeset
|
11 <para>The various source and binary packages are available at <ulink |
de3753c3160a
add archive directory with history of alioth versions that have been merged here
Carl Byington <carl@five-ten-sg.com>
parents:
55
diff
changeset
|
12 url="http://www.five-ten-sg.com/@PACKAGE@/packages/">http://www.five-ten-sg.com/@PACKAGE@/packages/</ulink>. |
de3753c3160a
add archive directory with history of alioth versions that have been merged here
Carl Byington <carl@five-ten-sg.com>
parents:
55
diff
changeset
|
13 The most recent documentation is available at <ulink |
de3753c3160a
add archive directory with history of alioth versions that have been merged here
Carl Byington <carl@five-ten-sg.com>
parents:
55
diff
changeset
|
14 url="http://www.five-ten-sg.com/@PACKAGE@/">http://www.five-ten-sg.com/@PACKAGE@/</ulink>. |
de3753c3160a
add archive directory with history of alioth versions that have been merged here
Carl Byington <carl@five-ten-sg.com>
parents:
55
diff
changeset
|
15 </para> |
31 | 16 |
57
de3753c3160a
add archive directory with history of alioth versions that have been merged here
Carl Byington <carl@five-ten-sg.com>
parents:
55
diff
changeset
|
17 <para>A <ulink |
de3753c3160a
add archive directory with history of alioth versions that have been merged here
Carl Byington <carl@five-ten-sg.com>
parents:
55
diff
changeset
|
18 url="http://www.selenic.com/mercurial/wiki/">Mercurial</ulink> source |
de3753c3160a
add archive directory with history of alioth versions that have been merged here
Carl Byington <carl@five-ten-sg.com>
parents:
55
diff
changeset
|
19 code repository for this project is available at <ulink |
de3753c3160a
add archive directory with history of alioth versions that have been merged here
Carl Byington <carl@five-ten-sg.com>
parents:
55
diff
changeset
|
20 url="http://hg.five-ten-sg.com/@PACKAGE@/">http://hg.five-ten-sg.com/@PACKAGE@/</ulink>. |
de3753c3160a
add archive directory with history of alioth versions that have been merged here
Carl Byington <carl@five-ten-sg.com>
parents:
55
diff
changeset
|
21 </para> |
54
e109391424b5
some misc. cleanup and convert to mercurial source control
carl@ns.five-ten-sg.com
parents:
52
diff
changeset
|
22 |
57
de3753c3160a
add archive directory with history of alioth versions that have been merged here
Carl Byington <carl@five-ten-sg.com>
parents:
55
diff
changeset
|
23 <para>This version can now convert both 32 bit Outlook files (pre 2003), and the |
64
2c6040b6e8f8
packaging for Fedora (#434727)
Carl Byington <carl@five-ten-sg.com>
parents:
63
diff
changeset
|
24 64 bit Outlook 2003 pst files. Utilities are supplied to convert email messages |
2c6040b6e8f8
packaging for Fedora (#434727)
Carl Byington <carl@five-ten-sg.com>
parents:
63
diff
changeset
|
25 to both mbox and MH mailbox formats, and to DII load file format for use with |
2c6040b6e8f8
packaging for Fedora (#434727)
Carl Byington <carl@five-ten-sg.com>
parents:
63
diff
changeset
|
26 many of the <ulink url="http://www.ctsummation.com">CT Summation</ulink> products. |
2c6040b6e8f8
packaging for Fedora (#434727)
Carl Byington <carl@five-ten-sg.com>
parents:
63
diff
changeset
|
27 Contacts can be converted to a simple list, to vcard format, or to ldif format |
2c6040b6e8f8
packaging for Fedora (#434727)
Carl Byington <carl@five-ten-sg.com>
parents:
63
diff
changeset
|
28 for import to an LDAP server. |
57
de3753c3160a
add archive directory with history of alioth versions that have been merged here
Carl Byington <carl@five-ten-sg.com>
parents:
55
diff
changeset
|
29 </para> |
51 | 30 |
24 | 31 </partintro> |
16 | 32 |
33 | |
34 <refentry id="readpst.1"> | |
35 <refentryinfo> | |
79
56fa05fd5271
Patch from Robert Simpson for encryption type 2.
Carl Byington <carl@five-ten-sg.com>
parents:
77
diff
changeset
|
36 <date>2008-06-13</date> |
16 | 37 </refentryinfo> |
38 | |
39 <refmeta> | |
40 <refentrytitle>readpst</refentrytitle> | |
41 <manvolnum>1</manvolnum> | |
42 <refmiscinfo>readpst @VERSION@</refmiscinfo> | |
43 </refmeta> | |
44 | |
20 | 45 <refnamediv id='readpst.name.1'> |
16 | 46 <refname>readpst</refname> |
51 | 47 <refpurpose>convert PST (MS Outlook Personal Folders) files to mbox and other formats</refpurpose> |
16 | 48 </refnamediv> |
49 | |
20 | 50 <refsynopsisdiv id='readpst.synopsis.1'> |
16 | 51 <title>Synopsis</title> |
52 <cmdsynopsis> | |
53 <command>readpst</command> | |
63
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
54 <arg><option>-C</option></arg> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
55 <arg><option>-M</option></arg> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
56 <arg><option>-S</option></arg> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
57 <arg><option>-V</option></arg> |
31 | 58 <arg><option>-b</option></arg> |
16 | 59 <arg><option>-c <replaceable class="parameter">format</replaceable></option></arg> |
60 <arg><option>-d <replaceable class="parameter">debug-file</replaceable></option></arg> | |
61 <arg><option>-h</option></arg> | |
62 <arg><option>-k</option></arg> | |
63 <arg><option>-o <replaceable class="parameter">output-directory</replaceable></option></arg> | |
64 <arg><option>-q</option></arg> | |
65 <arg><option>-r</option></arg> | |
66 <arg><option>-w</option></arg> | |
43 | 67 <arg choice='plain'>pstfile</arg> |
16 | 68 </cmdsynopsis> |
69 </refsynopsisdiv> | |
70 | |
20 | 71 <refsect1 id='readpst.description.1'> |
72 <title>Description</title> | |
28 | 73 <para><command>readpst</command> is a program that can read an Outlook |
74 PST (Personal Folders) file and convert it into an mbox file, a format | |
75 suitable for KMail, a recursive mbox structure, or separate emails. | |
20 | 76 </para> |
77 </refsect1> | |
78 | |
79 <refsect1 id='readpst.options.1'> | |
16 | 80 <title>Options</title> |
81 <variablelist> | |
82 <varlistentry> | |
63
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
83 <term>-C</term> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
84 <listitem><para> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
85 Decrypt the entire pst file and dump it to stdout. |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
86 </para></listitem> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
87 </varlistentry> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
88 <varlistentry> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
89 <term>-M</term> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
90 <listitem><para> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
91 Output messages in MH format as separate files. This will create |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
92 folders as named in the PST file, and will put each email together with |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
93 any attachments into its own file. These files will be numbered from 1 |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
94 to n with no leading zeros. |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
95 </para></listitem> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
96 </varlistentry> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
97 <varlistentry> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
98 <term>-S</term> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
99 <listitem><para> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
100 Output messages into separate files. This will create folders as named |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
101 in the PST file, and will put each email in its own file. These files |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
102 will be numbered from 1 increasing in intervals of 1 (ie 1, 2, 3, ...). |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
103 Any attachments are saved alongside each email as XXXXXXXXX-attach1, |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
104 XXXXXXXXX-attach2 and so on, or with the name of the attachment if one |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
105 is present. |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
106 </para></listitem> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
107 </varlistentry> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
108 <varlistentry> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
109 <term>-V</term> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
110 <listitem><para> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
111 Show program version and exit. |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
112 </para></listitem> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
113 </varlistentry> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
114 <varlistentry> |
31 | 115 <term>-b</term> |
116 <listitem><para> | |
117 Do not save the attachments for the RTF format of the email body. | |
118 </para></listitem> | |
119 </varlistentry> | |
120 <varlistentry> | |
16 | 121 <term>-c <replaceable class="parameter">format</replaceable></term> |
122 <listitem><para> | |
123 Set the Contact output mode. Use -cv for vcard format or -cl for an email list. | |
124 </para></listitem> | |
125 </varlistentry> | |
126 <varlistentry> | |
127 <term>-d <replaceable class="parameter">debug-file</replaceable></term> | |
128 <listitem><para> | |
33
12cac756bc05
enable -d option, but if not specified, don't generate a debug file
carl
parents:
32
diff
changeset
|
129 Specify name of debug log file. The |
28 | 130 log file is not an ascii file, it is a binary file readable |
131 by <command>readpstlog</command>. | |
16 | 132 </para></listitem> |
133 </varlistentry> | |
134 <varlistentry> | |
135 <term>-h</term> | |
136 <listitem><para> | |
31 | 137 Show summary of options and exit. |
16 | 138 </para></listitem> |
139 </varlistentry> | |
140 <varlistentry> | |
141 <term>-k</term> | |
142 <listitem><para> | |
143 Changes the output format to KMail. | |
144 </para></listitem> | |
145 </varlistentry> | |
146 <varlistentry> | |
20 | 147 <term>-o <replaceable class="parameter">output-directory</replaceable></term> |
16 | 148 <listitem><para> |
149 Specifies the output directory. The directory must already exist, and | |
150 is entered after the PST file is opened, but before any processing of | |
151 files commences. | |
152 </para></listitem> | |
153 </varlistentry> | |
154 <varlistentry> | |
155 <term>-q</term> | |
156 <listitem><para> | |
157 Changes to silent mode. No feedback is printed to the screen, except | |
158 for error messages. | |
159 </para></listitem> | |
160 </varlistentry> | |
161 <varlistentry> | |
162 <term>-r</term> | |
163 <listitem><para> | |
164 Changes the output format to Recursive. This will create folders as | |
21 | 165 named in the PST file, and will put all emails in a file called "mbox" |
16 | 166 inside each folder. These files are then compatible with all |
167 mbox-compatible email clients. | |
168 </para></listitem> | |
169 </varlistentry> | |
170 <varlistentry> | |
171 <term>-w</term> | |
172 <listitem><para> | |
20 | 173 Overwrite any previous output files. Beware: When used with the -S |
16 | 174 switch, this will remove all files from the target folder before |
175 writing. This is to keep the count of emails and attachments correct. | |
176 </para></listitem> | |
177 </varlistentry> | |
178 </variablelist> | |
179 </refsect1> | |
180 | |
20 | 181 <refsect1 id='readpst.also.1'> |
16 | 182 <title>See Also</title> |
183 <para> | |
25 | 184 <citerefentry><refentrytitle>readpstlog</refentrytitle> <manvolnum>1</manvolnum> </citerefentry> |
16 | 185 </para> |
186 </refsect1> | |
187 | |
20 | 188 <refsect1 id='readpst.author.1'> |
16 | 189 <title>Author</title> |
190 <para> | |
191 This manual page was originally written by Dave Smith | |
192 <dave.s@earthcorp.com>, and updated by Joe Nahmias <joe@nahmias.net> | |
193 for the Debian GNU/Linux system (but may be used by others). It was | |
20 | 194 subsequently updated by Brad Hards <bradh@frogmouth.net>, and converted to |
16 | 195 xml format by Carl Byington <carl@five-ten-sg.com>. |
196 </para> | |
197 </refsect1> | |
198 | |
20 | 199 <refsect1 id='readpst.copyright.1'> |
16 | 200 <title>Copyright</title> |
201 <para> | |
202 Copyright (C) 2002 by David Smith <dave.s@earthcorp.com>. | |
28 | 203 XML version Copyright (C) 2006 by 510 Software Group <carl@five-ten-sg.com>. |
16 | 204 </para> |
205 <para> | |
206 This program is free software; you can redistribute it and/or modify it | |
207 under the terms of the GNU General Public License as published by the | |
208 Free Software Foundation; either version 2, or (at your option) any | |
209 later version. | |
210 </para> | |
211 <para> | |
212 You should have received a copy of the GNU General Public License along | |
213 with this program; see the file COPYING. If not, please write to the | |
214 Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. | |
215 </para> | |
216 </refsect1> | |
217 | |
20 | 218 <refsect1 id='readpst.version.1'> |
52 | 219 <title>Version</title> |
16 | 220 <para> |
52 | 221 @VERSION@ |
16 | 222 </para> |
223 </refsect1> | |
224 </refentry> | |
225 | |
226 | |
43 | 227 <refentry id="lspst.1"> |
228 <refentryinfo> | |
79
56fa05fd5271
Patch from Robert Simpson for encryption type 2.
Carl Byington <carl@five-ten-sg.com>
parents:
77
diff
changeset
|
229 <date>2008-06-13</date> |
43 | 230 </refentryinfo> |
231 | |
232 <refmeta> | |
233 <refentrytitle>lspst</refentrytitle> | |
234 <manvolnum>1</manvolnum> | |
235 <refmiscinfo>lspst @VERSION@</refmiscinfo> | |
236 </refmeta> | |
237 | |
238 <refnamediv id='lspst.name.1'> | |
239 <refname>lspst</refname> | |
240 <refpurpose>list PST (MS Outlook Personal Folders) file data</refpurpose> | |
241 </refnamediv> | |
242 | |
243 <refsynopsisdiv id='lspst.synopsis.1'> | |
244 <title>Synopsis</title> | |
245 <cmdsynopsis> | |
246 <command>lspst</command> | |
63
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
247 <arg><option>-V</option></arg> |
50 | 248 <arg><option>-d <replaceable class="parameter">debug-file</replaceable></option></arg> |
249 <arg><option>-h</option></arg> | |
43 | 250 <arg choice='plain'>pstfile</arg> |
251 </cmdsynopsis> | |
252 </refsynopsisdiv> | |
253 | |
50 | 254 <refsect1 id='lspst.options.1'> |
255 <title>Options</title> | |
256 <variablelist> | |
257 <varlistentry> | |
63
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
258 <term>-V</term> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
259 <listitem><para> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
260 Show program version and exit. |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
261 </para></listitem> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
262 </varlistentry> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
263 <varlistentry> |
50 | 264 <term>-d <replaceable class="parameter">debug-file</replaceable></term> |
265 <listitem><para> | |
266 Specify name of debug log file. The | |
267 log file is not an ascii file, it is a binary file readable | |
268 by <command>readpstlog</command>. | |
269 </para></listitem> | |
270 </varlistentry> | |
271 <varlistentry> | |
272 <term>-h</term> | |
273 <listitem><para> | |
274 Show summary of options and exit. | |
275 </para></listitem> | |
276 </varlistentry> | |
277 </variablelist> | |
278 </refsect1> | |
279 | |
43 | 280 <refsect1 id='lspst.description.1'> |
281 <title>Description</title> | |
282 <para><command>lspst</command> is a program that can read an Outlook | |
283 PST (Personal Folders) file and produce a simple listing of the | |
57
de3753c3160a
add archive directory with history of alioth versions that have been merged here
Carl Byington <carl@five-ten-sg.com>
parents:
55
diff
changeset
|
284 data (contacts, email subjects, etc). |
43 | 285 </para> |
286 </refsect1> | |
287 | |
288 <refsect1 id='lspst.also.1'> | |
289 <title>See Also</title> | |
290 <para> | |
291 <citerefentry><refentrytitle>readpstlog</refentrytitle> <manvolnum>1</manvolnum> </citerefentry> | |
292 </para> | |
293 </refsect1> | |
294 | |
295 <refsect1 id='lspst.author.1'> | |
296 <title>Author</title> | |
297 <para> | |
298 lspst was written by Joe Nahmias <joe@nahmias.net> based on readpst. | |
299 This man page was written by 510 Software Group <carl@five-ten-sg.com>. | |
300 </para> | |
301 </refsect1> | |
302 | |
303 <refsect1 id='lspst.copyright.1'> | |
304 <title>Copyright</title> | |
305 <para> | |
306 Copyright (C) 2004 by Joe Nahmias <joe@nahmias.net>. | |
307 </para> | |
308 <para> | |
309 This program is free software; you can redistribute it and/or modify it | |
310 under the terms of the GNU General Public License as published by the | |
311 Free Software Foundation; either version 2, or (at your option) any | |
312 later version. | |
313 </para> | |
314 <para> | |
315 You should have received a copy of the GNU General Public License along | |
316 with this program; see the file COPYING. If not, please write to the | |
317 Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. | |
318 </para> | |
319 </refsect1> | |
320 | |
321 <refsect1 id='lspst.version.1'> | |
52 | 322 <title>Version</title> |
43 | 323 <para> |
52 | 324 @VERSION@ |
43 | 325 </para> |
326 </refsect1> | |
327 </refentry> | |
328 | |
329 | |
16 | 330 <refentry id="readpstlog.1"> |
331 <refentryinfo> | |
79
56fa05fd5271
Patch from Robert Simpson for encryption type 2.
Carl Byington <carl@five-ten-sg.com>
parents:
77
diff
changeset
|
332 <date>2008-06-13</date> |
16 | 333 </refentryinfo> |
334 | |
335 <refmeta> | |
336 <refentrytitle>readpstlog</refentrytitle> | |
337 <manvolnum>1</manvolnum> | |
338 <refmiscinfo>readpstlog @VERSION@</refmiscinfo> | |
339 </refmeta> | |
340 | |
20 | 341 <refnamediv id='readpstlog.name.1'> |
16 | 342 <refname>readpstlog</refname> |
24 | 343 <refpurpose>convert a <command>readpst</command> logfile to text format</refpurpose> |
16 | 344 </refnamediv> |
345 | |
20 | 346 <refsynopsisdiv id='readpstlog.synopsis.1'> |
16 | 347 <title>Synopsis</title> |
348 <cmdsynopsis> | |
24 | 349 <command>readpstlog</command> |
16 | 350 <arg><option>-f <replaceable class="parameter">format</replaceable></option></arg> |
351 <arg><option>-t <replaceable class="parameter">include-types</replaceable></option></arg> | |
352 <arg><option>-x <replaceable class="parameter">exclude-types</replaceable></option></arg> | |
24 | 353 <arg choice='plain'>logfile</arg> |
16 | 354 </cmdsynopsis> |
355 </refsynopsisdiv> | |
356 | |
20 | 357 <refsect1 id='readpstlog.description.1'> |
358 <title>Description</title> | |
21 | 359 <para><command>readpstlog</command> |
24 | 360 is a program that converts the binary logfile generated |
361 by <command>readpst</command> to a more desirable text format. | |
20 | 362 </para> |
363 </refsect1> | |
364 | |
365 <refsect1 id='readpstlog.options.1'> | |
16 | 366 <title>Options</title> |
367 <variablelist> | |
368 <varlistentry> | |
369 <term>-f <replaceable class="parameter">format</replaceable></term> | |
370 <listitem><para> | |
371 Sets the format of the text log output. Currently, the only valid output | |
36 | 372 formats are T, for single line text, D for the default default multi line |
373 format, and I for an indented style with single line text. | |
16 | 374 </para></listitem> |
375 </varlistentry> | |
376 <varlistentry> | |
377 <term>-t <replaceable class="parameter">include-types</replaceable></term> | |
378 <listitem><para> | |
379 Print only the specified types of log messages. | |
380 Types are specified in a comma-delimited list (e.g. 3,10,5,6). | |
381 </para></listitem> | |
382 </varlistentry> | |
383 <varlistentry> | |
384 <term>-x <replaceable class="parameter">exclude-types</replaceable></term> | |
385 <listitem><para> | |
386 Exclude the specified types of log messages. | |
387 Types are specified in a comma-delimited list (e.g. 3,10,5,6). | |
388 </para></listitem> | |
389 </varlistentry> | |
390 </variablelist> | |
391 </refsect1> | |
392 | |
20 | 393 <refsect1 id='readpstlog.message.types.1'> |
16 | 394 <title>Message Types</title> |
24 | 395 <para><command>readpstlog</command> understands the following types of log |
396 messages: | |
16 | 397 </para> |
398 <variablelist> | |
20 | 399 <varlistentry> |
400 <term>1</term> | |
401 <listitem><para> | |
402 File accesses | |
403 </para></listitem> | |
404 </varlistentry> | |
405 <varlistentry> | |
406 <term>2</term> | |
407 <listitem><para> | |
408 Index accesses | |
409 </para></listitem> | |
410 </varlistentry> | |
411 <varlistentry> | |
412 <term>3</term> | |
413 <listitem><para> | |
414 New email found | |
415 </para></listitem> | |
416 </varlistentry> | |
417 <varlistentry> | |
418 <term>4</term> | |
419 <listitem><para> | |
420 Warnings | |
421 </para></listitem> | |
422 </varlistentry> | |
423 <varlistentry> | |
424 <term>5</term> | |
425 <listitem><para> | |
426 Read accesses | |
427 </para></listitem> | |
428 </varlistentry> | |
429 <varlistentry> | |
430 <term>6</term> | |
431 <listitem><para> | |
432 Informational messages | |
433 </para></listitem> | |
434 </varlistentry> | |
435 <varlistentry> | |
436 <term>7</term> | |
437 <listitem><para> | |
438 Main function calls | |
439 </para></listitem> | |
440 </varlistentry> | |
441 <varlistentry> | |
442 <term>8</term> | |
443 <listitem><para> | |
444 Decrypting calls | |
445 </para></listitem> | |
446 </varlistentry> | |
447 <varlistentry> | |
36 | 448 <term>9</term> |
449 <listitem><para> | |
450 Function entries | |
451 </para></listitem> | |
452 </varlistentry> | |
453 <varlistentry> | |
20 | 454 <term>10</term> |
455 <listitem><para> | |
36 | 456 Function exits |
20 | 457 </para></listitem> |
458 </varlistentry> | |
459 <varlistentry> | |
460 <term>11</term> | |
461 <listitem><para> | |
462 HexDump calls | |
463 </para></listitem> | |
464 </varlistentry> | |
16 | 465 </variablelist> |
466 </refsect1> | |
467 | |
20 | 468 <refsect1 id='readpstlog.author.1'> |
16 | 469 <title>Author</title> |
470 <para> | |
471 This manual page was written by Joe Nahmias <joe@nahmias.net> | |
472 for the Debian GNU/Linux system (but may be used by others). It was | |
473 converted to xml format by Carl Byington <carl@five-ten-sg.com>. | |
474 </para> | |
475 </refsect1> | |
476 | |
20 | 477 <refsect1 id='readpstlog.copyright.1'> |
16 | 478 <title>Copyright</title> |
479 <para> | |
480 Copyright (C) 2002 by David Smith <dave.s@earthcorp.com>. | |
481 XML version Copyright (C) 2005 by 510 Software Group <carl@five-ten-sg.com>. | |
482 </para> | |
483 <para> | |
484 This program is free software; you can redistribute it and/or modify it | |
485 under the terms of the GNU General Public License as published by the | |
486 Free Software Foundation; either version 2, or (at your option) any | |
487 later version. | |
488 </para> | |
489 <para> | |
490 You should have received a copy of the GNU General Public License along | |
491 with this program; see the file COPYING. If not, please write to the | |
492 Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. | |
493 </para> | |
494 </refsect1> | |
495 | |
20 | 496 <refsect1 id='readpstlog.version.1'> |
52 | 497 <title>Version</title> |
16 | 498 <para> |
52 | 499 @VERSION@ |
16 | 500 </para> |
501 </refsect1> | |
502 </refentry> | |
24 | 503 |
504 | |
505 <refentry id="pst2ldif.1"> | |
506 <refentryinfo> | |
79
56fa05fd5271
Patch from Robert Simpson for encryption type 2.
Carl Byington <carl@five-ten-sg.com>
parents:
77
diff
changeset
|
507 <date>2008-06-13</date> |
24 | 508 </refentryinfo> |
509 | |
510 <refmeta> | |
511 <refentrytitle>pst2ldif</refentrytitle> | |
512 <manvolnum>1</manvolnum> | |
513 <refmiscinfo>pst2ldif @VERSION@</refmiscinfo> | |
514 </refmeta> | |
515 | |
516 <refnamediv id='pst2ldif.name.1'> | |
517 <refname>pst2ldif</refname> | |
518 <refpurpose>extract contacts from a MS Outlook .pst file in .ldif format</refpurpose> | |
519 </refnamediv> | |
520 | |
521 <refsynopsisdiv id='pst2ldif.synopsis.1'> | |
522 <title>Synopsis</title> | |
523 <cmdsynopsis> | |
524 <command>pst2ldif</command> | |
525 <arg><option>-V</option></arg> | |
526 <arg><option>-b <replaceable class="parameter">ldap-base</replaceable></option></arg> | |
527 <arg><option>-c <replaceable class="parameter">class</replaceable></option></arg> | |
33
12cac756bc05
enable -d option, but if not specified, don't generate a debug file
carl
parents:
32
diff
changeset
|
528 <arg><option>-d <replaceable class="parameter">debug-file</replaceable></option></arg> |
63
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
529 <arg><option>-h</option></arg> |
24 | 530 <arg choice='plain'>pstfilename</arg> |
531 </cmdsynopsis> | |
532 </refsynopsisdiv> | |
533 | |
534 <refsect1 id='pst2ldif.options.1'> | |
535 <title>Options</title> | |
536 <variablelist> | |
537 <varlistentry> | |
63
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
538 <term>-V</term> |
24 | 539 <listitem><para> |
540 Show program version. Subsequent options are then ignored. | |
541 </para></listitem> | |
542 </varlistentry> | |
543 <varlistentry> | |
544 <term>-b <replaceable class="parameter">ldap-base</replaceable></term> | |
545 <listitem><para> | |
546 Sets the ldap base value used in the dn records. You probably want to | |
547 use something like "o=organization, c=US". | |
548 </para></listitem> | |
549 </varlistentry> | |
550 <varlistentry> | |
551 <term>-c <replaceable class="parameter">class</replaceable></term> | |
552 <listitem><para> | |
553 Sets the objectClass values for the contact items. This class needs to be | |
554 defined in the schema used by your LDAP server, and at a minimum it must | |
555 contain the ldap attributes given below. | |
556 </para></listitem> | |
557 </varlistentry> | |
33
12cac756bc05
enable -d option, but if not specified, don't generate a debug file
carl
parents:
32
diff
changeset
|
558 <varlistentry> |
12cac756bc05
enable -d option, but if not specified, don't generate a debug file
carl
parents:
32
diff
changeset
|
559 <term>-d <replaceable class="parameter">debug-file</replaceable></term> |
12cac756bc05
enable -d option, but if not specified, don't generate a debug file
carl
parents:
32
diff
changeset
|
560 <listitem><para> |
12cac756bc05
enable -d option, but if not specified, don't generate a debug file
carl
parents:
32
diff
changeset
|
561 Specify name of debug log file. The |
12cac756bc05
enable -d option, but if not specified, don't generate a debug file
carl
parents:
32
diff
changeset
|
562 log file is not an ascii file, it is a binary file readable |
12cac756bc05
enable -d option, but if not specified, don't generate a debug file
carl
parents:
32
diff
changeset
|
563 by <command>readpstlog</command>. |
12cac756bc05
enable -d option, but if not specified, don't generate a debug file
carl
parents:
32
diff
changeset
|
564 </para></listitem> |
12cac756bc05
enable -d option, but if not specified, don't generate a debug file
carl
parents:
32
diff
changeset
|
565 </varlistentry> |
63
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
566 <varlistentry> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
567 <term>-h</term> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
568 <listitem><para> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
569 Show summary of options. Subsequent options are then ignored. |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
570 </para></listitem> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
571 </varlistentry> |
24 | 572 </variablelist> |
573 </refsect1> | |
574 | |
575 <refsect1 id='pst2ldif.description.1'> | |
576 <title>Description</title> | |
577 <para><command>pst2ldif</command> | |
578 reads the contact information from a MS Outlook .pst file | |
579 and produces a .ldif file that may be used to import those contacts | |
580 into an LDAP database. The following ldap attributes are generated: | |
581 <simplelist> | |
582 <member>cn </member> | |
583 <member>givenName </member> | |
584 <member>sn </member> | |
585 <member>personalTitle </member> | |
586 <member>company </member> | |
587 <member>mail </member> | |
588 <member>postalAddress </member> | |
589 <member>l </member> | |
590 <member>st </member> | |
591 <member>postalCode </member> | |
592 <member>c </member> | |
593 <member>homePhone </member> | |
594 <member>telephoneNumber </member> | |
595 <member>facsimileTelephoneNumber </member> | |
596 <member>mobile </member> | |
597 <member>description </member> | |
598 </simplelist> | |
599 </para> | |
600 </refsect1> | |
601 | |
602 <refsect1 id='pst2ldif.copyright.1'> | |
603 <title>Copyright</title> | |
604 <para> | |
605 Copyright (C) 2006 by 510 Software Group <carl@five-ten-sg.com> | |
606 </para> | |
607 <para> | |
608 This program is free software; you can redistribute it and/or modify it | |
609 under the terms of the GNU General Public License as published by the | |
610 Free Software Foundation; either version 2, or (at your option) any | |
611 later version. | |
612 </para> | |
613 <para> | |
614 You should have received a copy of the GNU General Public License along | |
615 with this program; see the file COPYING. If not, please write to the | |
616 Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. | |
617 </para> | |
618 </refsect1> | |
619 | |
620 <refsect1 id='pst2ldif.version.1'> | |
52 | 621 <title>Version</title> |
24 | 622 <para> |
52 | 623 @VERSION@ |
24 | 624 </para> |
625 </refsect1> | |
626 </refentry> | |
627 | |
628 | |
63
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
629 <refentry id="pst2dii.1"> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
630 <refentryinfo> |
79
56fa05fd5271
Patch from Robert Simpson for encryption type 2.
Carl Byington <carl@five-ten-sg.com>
parents:
77
diff
changeset
|
631 <date>2008-06-13</date> |
63
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
632 </refentryinfo> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
633 |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
634 <refmeta> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
635 <refentrytitle>pst2dii</refentrytitle> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
636 <manvolnum>1</manvolnum> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
637 <refmiscinfo>pst2dii @VERSION@</refmiscinfo> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
638 </refmeta> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
639 |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
640 <refnamediv id='pst2dii.name.1'> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
641 <refname>pst2dii</refname> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
642 <refpurpose>extract email messages from a MS Outlook .pst file in DII load format</refpurpose> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
643 </refnamediv> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
644 |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
645 <refsynopsisdiv id='pst2dii.synopsis.1'> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
646 <title>Synopsis</title> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
647 <cmdsynopsis> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
648 <command>pst2dii</command> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
649 <arg><option>-B <replaceable class="parameter">bates-prefix</replaceable></option></arg> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
650 <arg><option>-O <replaceable class="parameter">dii-output-file</replaceable></option></arg> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
651 <arg><option>-V</option></arg> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
652 <arg><option>-b <replaceable class="parameter">bates-number</replaceable></option></arg> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
653 <arg><option>-c <replaceable class="parameter">bates-color</replaceable></option></arg> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
654 <arg><option>-d <replaceable class="parameter">debug-file</replaceable></option></arg> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
655 <arg><option>-f <replaceable class="parameter">ttf-font-file</replaceable></option></arg> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
656 <arg><option>-h</option></arg> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
657 <arg><option>-o <replaceable class="parameter">output-directory</replaceable></option></arg> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
658 <arg choice='plain'>pstfilename</arg> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
659 </cmdsynopsis> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
660 </refsynopsisdiv> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
661 |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
662 <refsect1 id='pst2dii.options.1'> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
663 <title>Options</title> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
664 <variablelist> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
665 <varlistentry> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
666 <term>-B <replaceable class="parameter">bates-prefix</replaceable></term> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
667 <listitem><para> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
668 Sets the bates prefix string. The bates sequence number is appended to |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
669 this string, and printed on each page. |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
670 </para></listitem> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
671 </varlistentry> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
672 <varlistentry> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
673 <term>-O <replaceable class="parameter">dii-output-file</replaceable></term> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
674 <listitem><para> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
675 Name of the output DII load file. |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
676 </para></listitem> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
677 </varlistentry> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
678 <varlistentry> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
679 <term>-V</term> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
680 <listitem><para> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
681 Show program version. Subsequent options are then ignored. |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
682 </para></listitem> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
683 </varlistentry> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
684 <varlistentry> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
685 <term>-b <replaceable class="parameter">bates-number</replaceable></term> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
686 <listitem><para> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
687 Starting bates sequence number. The default is zero. |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
688 </para></listitem> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
689 </varlistentry> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
690 <varlistentry> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
691 <term>-c <replaceable class="parameter">bates-color</replaceable></term> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
692 <listitem><para> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
693 Font color for the bates stamp on each page, specified as 6 hex digits |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
694 as rrggbb values. The default is ff0000 for bright red. |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
695 </para></listitem> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
696 </varlistentry> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
697 <varlistentry> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
698 <term>-d <replaceable class="parameter">debug-file</replaceable></term> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
699 <listitem><para> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
700 Specify name of debug log file. The |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
701 log file is not an ascii file, it is a binary file readable |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
702 by <command>readpstlog</command>. |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
703 </para></listitem> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
704 </varlistentry> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
705 <varlistentry> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
706 <term>-f <replaceable class="parameter">ttf-font-file</replaceable></term> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
707 <listitem><para> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
708 Specify name of a true type font file. This should be a fixed pitch font. |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
709 </para></listitem> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
710 </varlistentry> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
711 <varlistentry> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
712 <term>-h</term> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
713 <listitem><para> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
714 Show summary of options. Subsequent options are then ignored. |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
715 </para></listitem> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
716 </varlistentry> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
717 <varlistentry> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
718 <term>-o <replaceable class="parameter">output-directory</replaceable></term> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
719 <listitem><para> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
720 Specifies the output directory. The directory must already exist. |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
721 </para></listitem> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
722 </varlistentry> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
723 </variablelist> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
724 </refsect1> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
725 |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
726 <refsect1 id='pst2dii.description.1'> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
727 <title>Description</title> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
728 <para><command>pst2dii</command> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
729 reads the email messages from a MS Outlook .pst file |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
730 and produces a DII load file that may be used to import message |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
731 summaries into a Summation DII system. The DII output file contains |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
732 references to the image and attachment files in the output directory. |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
733 </para> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
734 </refsect1> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
735 |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
736 <refsect1 id='pst2dii.copyright.1'> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
737 <title>Copyright</title> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
738 <para> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
739 Copyright (C) 2008 by 510 Software Group <carl@five-ten-sg.com> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
740 </para> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
741 <para> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
742 This program is free software; you can redistribute it and/or modify it |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
743 under the terms of the GNU General Public License as published by the |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
744 Free Software Foundation; either version 2, or (at your option) any |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
745 later version. |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
746 </para> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
747 <para> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
748 You should have received a copy of the GNU General Public License along |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
749 with this program; see the file COPYING. If not, please write to the |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
750 Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
751 </para> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
752 </refsect1> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
753 |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
754 <refsect1 id='pst2dii.version.1'> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
755 <title>Version</title> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
756 <para> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
757 @VERSION@ |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
758 </para> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
759 </refsect1> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
760 </refentry> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
761 |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
762 |
24 | 763 <refentry id="pst.5"> |
764 <refentryinfo> | |
79
56fa05fd5271
Patch from Robert Simpson for encryption type 2.
Carl Byington <carl@five-ten-sg.com>
parents:
77
diff
changeset
|
765 <date>2008-06-13</date> |
24 | 766 </refentryinfo> |
767 | |
768 <refmeta> | |
769 <refentrytitle>outlook.pst</refentrytitle> | |
770 <manvolnum>5</manvolnum> | |
771 </refmeta> | |
772 | |
773 <refnamediv id='pst.name.1'> | |
774 <refname>outlook.pst</refname> | |
775 <refpurpose>format of MS Outlook .pst file</refpurpose> | |
776 </refnamediv> | |
777 | |
778 <refsynopsisdiv id='pst.synopsis.1'> | |
779 <title>Synopsis</title> | |
780 <cmdsynopsis> | |
781 <command>outlook.pst</command> | |
782 </cmdsynopsis> | |
783 </refsynopsisdiv> | |
784 | |
785 <refsect1 id='pst.file.overview.5'> | |
786 <title>Overview</title> | |
787 <para> | |
788 Each item in a .pst file is identified by two id values ID1 and ID2. | |
789 There are two separate b-trees indexed by these ID1 and ID2 values. | |
57
de3753c3160a
add archive directory with history of alioth versions that have been merged here
Carl Byington <carl@five-ten-sg.com>
parents:
55
diff
changeset
|
790 Starting with Outlook 2003, the file format changed from one with 32 |
de3753c3160a
add archive directory with history of alioth versions that have been merged here
Carl Byington <carl@five-ten-sg.com>
parents:
55
diff
changeset
|
791 bit pointers, to one with 64 bit pointers. We describe both formats |
de3753c3160a
add archive directory with history of alioth versions that have been merged here
Carl Byington <carl@five-ten-sg.com>
parents:
55
diff
changeset
|
792 here. |
24 | 793 </para> |
794 </refsect1> | |
795 | |
44 | 796 <refsect1 id='pst.file.header.32.5'> |
797 <title>32 bit File Header</title> | |
24 | 798 <para> |
44 | 799 The 32 bit file header is located at offset 0 in the .pst file. |
24 | 800 </para> |
801 <literallayout class="monospaced"><![CDATA[ | |
802 0000 21 42 44 4e 49 f8 64 d9 53 4d 0e 00 13 00 01 01 | |
803 0010 00 00 00 00 00 00 00 00 50 d6 03 00 bd 1e 02 00 | |
804 0020 08 4c 00 00 00 04 00 00 00 04 00 00 0f 04 00 00 | |
805 0030 0d 40 00 00 99 0a 01 00 18 04 00 00 0d 40 00 00 | |
806 0040 0d 40 00 00 11 80 00 00 02 04 00 00 0a 04 00 00 | |
807 0050 00 04 00 00 00 04 00 00 0f 04 00 00 0f 04 00 00 | |
808 0060 0f 04 00 00 0d 40 00 00 00 04 00 00 00 04 00 00 | |
809 0070 04 40 00 00 00 04 00 00 00 04 00 00 00 04 00 00 | |
810 0080 00 04 00 00 00 04 00 00 00 04 00 00 00 04 00 00 | |
811 0090 00 04 00 00 00 04 00 00 00 04 00 00 00 04 00 00 | |
812 00a0 0c 09 00 00 00 00 00 00 00 04 27 00 00 24 23 00 | |
813 00b0 c0 09 0a 00 00 c8 00 00 bc 1e 02 00 00 7e 0c 00 | |
814 00c0 b4 1e 02 00 00 54 00 00 01 00 00 00 23 55 44 d1 | |
815 00d0 5a 4f ce 6b 80 ff ff ff 00 00 00 00 00 00 00 00 | |
816 00e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | |
817 00f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | |
818 0100 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | |
819 0110 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | |
820 0120 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | |
821 0130 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | |
822 0140 00 00 00 00 00 00 00 00 00 00 00 00 3f ff ff ff | |
823 0150 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff | |
824 0160 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff | |
825 0170 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff | |
826 0180 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff | |
827 0190 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff | |
828 01a0 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff | |
829 01b0 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff | |
830 01c0 ff ff ff ff ff ff ff ff ff ff ff ff 80 01 00 00 | |
831 01d0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | |
832 01e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | |
833 01f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | |
834 | |
835 0000 signature [4 bytes] 0x4e444221 constant | |
28 | 836 000a indexType [1 byte] 0x0e constant |
44 | 837 01cd encryptionType [1 byte] 0x01 in this case |
24 | 838 00a8 total file size [4 bytes] 0x270400 in this case |
28 | 839 00c0 backPointer1 [4 bytes] 0x021eb4 in this case |
840 00c4 offsetIndex1 [4 bytes] 0x005400 in this case | |
841 00b8 backPointer2 [4 bytes] 0x021ebc in this case | |
842 00bc offsetIndex2 [4 bytes] 0x0c7e00 in this case | |
24 | 843 ]]></literallayout> |
844 <para> | |
44 | 845 We only support index types 0x0e and 0x17, and encryption types |
79
56fa05fd5271
Patch from Robert Simpson for encryption type 2.
Carl Byington <carl@five-ten-sg.com>
parents:
77
diff
changeset
|
846 0x00, 0x01 and 0x02. Index type 0x0e is the older 32 bit Outlook format. |
57
de3753c3160a
add archive directory with history of alioth versions that have been merged here
Carl Byington <carl@five-ten-sg.com>
parents:
55
diff
changeset
|
847 Index type 0x17 is the newer 64 bit Outlook format. Encryption |
79
56fa05fd5271
Patch from Robert Simpson for encryption type 2.
Carl Byington <carl@five-ten-sg.com>
parents:
77
diff
changeset
|
848 type 0x00 is no encryption, type 0x01 is "compressible" encryption |
56fa05fd5271
Patch from Robert Simpson for encryption type 2.
Carl Byington <carl@five-ten-sg.com>
parents:
77
diff
changeset
|
849 which is a simple substitution cipher, and type 0x02 is "strong" |
56fa05fd5271
Patch from Robert Simpson for encryption type 2.
Carl Byington <carl@five-ten-sg.com>
parents:
77
diff
changeset
|
850 encryption, which seems to be related to a three rotor Enigma cipher. |
24 | 851 </para> |
852 <para> | |
28 | 853 offsetIndex1 is the file offset of the root of the |
24 | 854 index1 b-tree, which contains (ID1, offset, size, unknown) tuples |
28 | 855 for each item in the file. backPointer1 is the value that should |
24 | 856 appear in the parent pointer of that root node. |
857 </para> | |
858 <para> | |
28 | 859 offsetIndex2 is the file offset of the root of the |
24 | 860 index2 b-tree, which contains (ID2, DESC-ID1, LIST-ID1, PARENT-ID2) |
28 | 861 tuples for each item in the file. backPointer2 is the value that should |
24 | 862 appear in the parent pointer of that root node. |
863 </para> | |
864 </refsect1> | |
865 | |
44 | 866 <refsect1 id='pst.file.header.64.5'> |
867 <title>64 bit File Header</title> | |
24 | 868 <para> |
44 | 869 The 64 bit file header is located at offset 0 in the .pst file. |
870 </para> | |
871 <literallayout class="monospaced"><![CDATA[ | |
872 0000 21 42 44 4e 03 02 23 b2 53 4d 17 00 13 00 01 01 | |
873 0010 00 00 00 00 00 00 00 00 04 00 00 00 01 00 00 00 | |
874 0020 8b 00 00 00 00 00 00 00 1d 00 00 00 00 04 00 00 | |
875 0030 00 04 00 00 04 04 00 00 00 40 00 00 02 00 01 00 | |
876 0040 00 04 00 00 00 04 00 00 00 04 00 00 00 80 00 00 | |
877 0050 00 04 00 00 00 04 00 00 00 04 00 00 00 04 00 00 | |
878 0060 04 04 00 00 04 04 00 00 04 04 00 00 00 04 00 00 | |
879 0070 00 04 00 00 00 04 00 00 00 04 00 00 00 04 00 00 | |
880 0080 00 04 00 00 00 04 00 00 00 04 00 00 00 04 00 00 | |
881 0090 00 04 00 00 00 04 00 00 00 04 00 00 00 04 00 00 | |
882 00a0 00 04 00 00 00 04 00 00 02 04 00 00 00 00 00 00 | |
883 00b0 00 00 00 00 00 00 00 00 00 24 04 00 00 00 00 00 | |
884 00c0 00 44 00 00 00 00 00 00 00 71 03 00 00 00 00 00 | |
885 00d0 00 22 00 00 00 00 00 00 83 00 00 00 00 00 00 00 | |
886 00e0 00 6a 00 00 00 00 00 00 8a 00 00 00 00 00 00 00 | |
887 00f0 00 60 00 00 00 00 00 00 01 00 00 00 00 00 00 00 | |
888 0100 ff 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | |
889 0110 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | |
890 0120 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | |
891 0130 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | |
892 0140 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | |
893 0150 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | |
894 0160 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | |
895 0170 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | |
896 0180 7f ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff | |
897 0190 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff | |
898 01a0 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff | |
899 01b0 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff | |
900 01c0 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff | |
901 01d0 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff | |
902 01e0 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff | |
903 01f0 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff | |
904 0200 80 00 00 00 e8 00 00 00 00 00 00 00 c4 68 cb 89 | |
905 | |
906 0000 signature [4 bytes] 0x4e444221 constant | |
907 000a indexType [1 byte] 0x17 constant | |
908 0201 encryptionType [1 byte] 0x00 in this case | |
909 00b8 total file size [8 bytes] 0x042400 in this case | |
910 00e8 backPointer1 [8 bytes] 0x00008a in this case | |
911 00f0 offsetIndex1 [8 bytes] 0x006000 in this case | |
912 00d8 backPointer2 [8 bytes] 0x000083 in this case | |
913 00e0 offsetIndex2 [8 bytes] 0x006a00 in this case | |
914 ]]></literallayout> | |
915 </refsect1> | |
916 | |
917 <refsect1 id='pst.file.node1.32.5'> | |
918 <title>32 bit Index 1 Node</title> | |
919 <para> | |
52 | 920 The 32 bit index1 b-tree nodes are 512 byte blocks with the |
44 | 921 following format. |
24 | 922 </para> |
923 <literallayout class="monospaced"><![CDATA[ | |
924 0000 04 00 00 00 8a 1e 02 00 00 1c 0b 00 | |
925 000c 58 27 03 00 b3 1e 02 00 00 52 00 00 | |
926 0018 00 00 00 00 00 00 00 00 00 00 00 00 | |
927 0024 00 00 00 00 00 00 00 00 00 00 00 00 | |
928 0030 00 00 00 00 00 00 00 00 00 00 00 00 | |
929 003c 00 00 00 00 00 00 00 00 00 00 00 00 | |
930 0048 00 00 00 00 00 00 00 00 00 00 00 00 | |
931 0054 00 00 00 00 00 00 00 00 00 00 00 00 | |
932 0060 00 00 00 00 00 00 00 00 00 00 00 00 | |
933 006c 00 00 00 00 00 00 00 00 00 00 00 00 | |
934 0078 00 00 00 00 00 00 00 00 00 00 00 00 | |
935 0084 00 00 00 00 00 00 00 00 00 00 00 00 | |
936 0090 00 00 00 00 00 00 00 00 00 00 00 00 | |
937 009c 00 00 00 00 00 00 00 00 00 00 00 00 | |
938 00a8 00 00 00 00 00 00 00 00 00 00 00 00 | |
939 00b4 00 00 00 00 00 00 00 00 00 00 00 00 | |
940 00c0 00 00 00 00 00 00 00 00 00 00 00 00 | |
941 00cc 00 00 00 00 00 00 00 00 00 00 00 00 | |
942 00d8 00 00 00 00 00 00 00 00 00 00 00 00 | |
943 00e4 00 00 00 00 00 00 00 00 00 00 00 00 | |
944 00f0 00 00 00 00 00 00 00 00 00 00 00 00 | |
945 00fc 00 00 00 00 00 00 00 00 00 00 00 00 | |
946 0108 00 00 00 00 00 00 00 00 00 00 00 00 | |
947 0114 00 00 00 00 00 00 00 00 00 00 00 00 | |
948 0120 00 00 00 00 00 00 00 00 00 00 00 00 | |
949 012c 00 00 00 00 00 00 00 00 00 00 00 00 | |
950 0138 00 00 00 00 00 00 00 00 00 00 00 00 | |
951 0144 00 00 00 00 00 00 00 00 00 00 00 00 | |
952 0150 00 00 00 00 00 00 00 00 00 00 00 00 | |
953 015c 00 00 00 00 00 00 00 00 00 00 00 00 | |
954 0168 00 00 00 00 00 00 00 00 00 00 00 00 | |
955 0174 00 00 00 00 00 00 00 00 00 00 00 00 | |
956 0180 00 00 00 00 00 00 00 00 00 00 00 00 | |
957 018c 00 00 00 00 00 00 00 00 00 00 00 00 | |
958 0198 00 00 00 00 00 00 00 00 00 00 00 00 | |
959 01a4 00 00 00 00 00 00 00 00 00 00 00 00 | |
960 01b0 00 00 00 00 00 00 00 00 00 00 00 00 | |
961 01bc 00 00 00 00 00 00 00 00 00 00 00 00 | |
962 01c8 00 00 00 00 00 00 00 00 00 00 00 00 | |
963 01d4 00 00 00 00 00 00 00 00 00 00 00 00 | |
964 01e0 00 00 00 00 00 00 00 00 00 00 00 00 | |
965 01ec 00 00 00 00 02 29 0c 02 80 80 b6 4a | |
52 | 966 01f8 b4 1e 02 00 27 9c cc 56 |
24 | 967 |
28 | 968 01f0 itemCount [1 byte] 0x02 in this case |
969 01f1 maxItemCount [1 byte] 0x29 constant | |
71
1bd4491cf8ff
fix documentation of 8 byte backpointers
Carl Byington <carl@five-ten-sg.com>
parents:
64
diff
changeset
|
970 01f2 itemSize [1 byte] 0x0c constant |
28 | 971 01f3 nodeLevel [1 byte] 0x02 in this case |
972 01f8 backPointer [4 bytes] 0x021eb4 in this case | |
24 | 973 ]]></literallayout> |
974 <para> | |
28 | 975 The itemCount specifies the number of 12 byte records that |
976 are active. The nodeLevel is non-zero for this style of nodes. | |
977 The leaf nodes have a different format. The backPointer must | |
978 match the backPointer from the triple that pointed to this node. | |
24 | 979 </para> |
980 <para> | |
35 | 981 Each item in this node is a triple of (ID1, backPointer, offset) |
24 | 982 where the offset points to the next deeper node in the tree, the |
28 | 983 backPointer value must match the backPointer in that deeper node, |
35 | 984 and ID1 is the lowest ID1 value in the subtree. |
24 | 985 </para> |
986 </refsect1> | |
987 | |
44 | 988 <refsect1 id='pst.file.node1.64.5'> |
989 <title>64 bit Index 1 Node</title> | |
24 | 990 <para> |
44 | 991 The 64 bit index1 b-tree nodes are 512 byte blocks with the |
992 following format. | |
993 </para> | |
994 <literallayout class="monospaced"><![CDATA[ | |
995 0000 04 00 00 00 00 00 00 00 88 00 00 00 | |
996 000C 00 00 00 00 00 48 00 00 00 00 00 00 | |
997 0018 74 00 00 00 00 00 00 00 86 00 00 00 | |
998 0024 00 00 00 00 00 54 00 00 00 00 00 00 | |
999 0030 00 00 00 00 00 00 00 00 00 00 00 00 | |
1000 003C 00 00 00 00 00 00 00 00 00 00 00 00 | |
1001 0048 00 00 00 00 00 00 00 00 00 00 00 00 | |
1002 0054 00 00 00 00 00 00 00 00 00 00 00 00 | |
1003 0060 00 00 00 00 00 00 00 00 00 00 00 00 | |
1004 006C 00 00 00 00 00 00 00 00 00 00 00 00 | |
1005 0078 00 00 00 00 00 00 00 00 00 00 00 00 | |
1006 0084 00 00 00 00 00 00 00 00 00 00 00 00 | |
1007 0090 00 00 00 00 00 00 00 00 00 00 00 00 | |
1008 009C 00 00 00 00 00 00 00 00 00 00 00 00 | |
1009 00A8 00 00 00 00 00 00 00 00 00 00 00 00 | |
1010 00B4 00 00 00 00 00 00 00 00 00 00 00 00 | |
1011 00C0 00 00 00 00 00 00 00 00 00 00 00 00 | |
1012 00CC 00 00 00 00 00 00 00 00 00 00 00 00 | |
1013 00D8 00 00 00 00 00 00 00 00 00 00 00 00 | |
1014 00E4 00 00 00 00 00 00 00 00 00 00 00 00 | |
1015 00F0 00 00 00 00 00 00 00 00 00 00 00 00 | |
1016 00FC 00 00 00 00 00 00 00 00 00 00 00 00 | |
1017 0108 00 00 00 00 00 00 00 00 00 00 00 00 | |
1018 0114 00 00 00 00 00 00 00 00 00 00 00 00 | |
1019 0120 00 00 00 00 00 00 00 00 00 00 00 00 | |
1020 012C 00 00 00 00 00 00 00 00 00 00 00 00 | |
1021 0138 00 00 00 00 00 00 00 00 00 00 00 00 | |
1022 0144 00 00 00 00 00 00 00 00 00 00 00 00 | |
1023 0150 00 00 00 00 00 00 00 00 00 00 00 00 | |
1024 015C 00 00 00 00 00 00 00 00 00 00 00 00 | |
1025 0168 00 00 00 00 00 00 00 00 00 00 00 00 | |
1026 0174 00 00 00 00 00 00 00 00 00 00 00 00 | |
1027 0180 00 00 00 00 00 00 00 00 00 00 00 00 | |
1028 018C 00 00 00 00 00 00 00 00 00 00 00 00 | |
1029 0198 00 00 00 00 00 00 00 00 00 00 00 00 | |
1030 01A4 00 00 00 00 00 00 00 00 00 00 00 00 | |
1031 01B0 00 00 00 00 00 00 00 00 00 00 00 00 | |
1032 01BC 00 00 00 00 00 00 00 00 00 00 00 00 | |
1033 01C8 00 00 00 00 00 00 00 00 00 00 00 00 | |
1034 01D4 00 00 00 00 00 00 00 00 00 00 00 00 | |
1035 01E0 00 00 00 00 00 00 00 00 02 14 18 01 | |
1036 01EC 00 00 00 00 80 80 8a 60 68 e5 b5 19 | |
1037 01F8 8a 00 00 00 00 00 00 00 | |
1038 | |
1039 01e8 itemCount [1 byte] 0x02 in this case | |
1040 01e9 maxItemCount [1 byte] 0x14 constant | |
71
1bd4491cf8ff
fix documentation of 8 byte backpointers
Carl Byington <carl@five-ten-sg.com>
parents:
64
diff
changeset
|
1041 01ea itemSize [1 byte] 0x18 constant |
44 | 1042 01eb nodeLevel [1 byte] 0x01 in this case |
1043 01f8 backPointer [8 bytes] 0x00008a in this case | |
1044 ]]></literallayout> | |
1045 <para> | |
1046 The itemCount specifies the number of 24 byte records that | |
1047 are active. The nodeLevel is non-zero for this style of nodes. | |
1048 The leaf nodes have a different format. The backPointer must | |
1049 match the backPointer from the triple that pointed to this node. | |
1050 </para> | |
1051 <para> | |
1052 Each item in this node is a triple of (ID1, backPointer, offset) | |
1053 where the offset points to the next deeper node in the tree, the | |
1054 backPointer value must match the backPointer in that deeper node, | |
1055 and ID1 is the lowest ID1 value in the subtree. | |
1056 </para> | |
1057 </refsect1> | |
1058 | |
1059 <refsect1 id='pst.file.leaf1.32.5'> | |
1060 <title>32 bit Index 1 Leaf Node</title> | |
1061 <para> | |
52 | 1062 The 32 bit index1 b-tree leaf nodes are 512 byte blocks with the |
44 | 1063 following format. |
24 | 1064 </para> |
1065 <literallayout class="monospaced"><![CDATA[ | |
1066 0000 04 00 00 00 00 58 00 00 64 00 0f 00 | |
1067 000c 08 00 00 00 80 58 00 00 ac 00 06 00 | |
1068 0018 0c 00 00 00 40 59 00 00 ac 00 06 00 | |
1069 0024 10 00 00 00 00 5a 00 00 bc 00 03 00 | |
1070 0030 14 00 00 00 00 5b 00 00 a4 00 02 00 | |
1071 003c 18 00 00 00 c0 5b 00 00 64 00 02 00 | |
1072 0048 1c 00 00 00 40 5c 00 00 5c 00 02 00 | |
1073 0054 50 00 00 00 80 62 00 00 60 00 02 00 | |
1074 0060 74 00 00 00 00 77 00 00 5e 00 02 00 | |
1075 006c 7c 00 00 00 80 77 00 00 66 00 02 00 | |
1076 0078 84 00 00 00 00 76 00 00 ca 00 02 00 | |
1077 0084 88 00 00 00 00 63 00 00 52 00 02 00 | |
1078 0090 90 00 00 00 00 79 00 00 58 00 02 00 | |
1079 009c cc 00 00 00 c0 61 00 00 76 00 02 00 | |
1080 00a8 e0 00 00 00 00 61 00 00 74 00 02 00 | |
1081 00b4 f4 00 00 00 80 65 00 00 6e 00 02 00 | |
1082 00c0 8c 01 00 00 40 60 00 00 70 00 02 00 | |
1083 00cc ea 01 00 00 80 61 00 00 10 00 02 00 | |
1084 00d8 ec 01 00 00 40 8a 00 00 f3 01 02 00 | |
1085 00e4 f0 01 00 00 80 93 00 00 f4 1f 02 00 | |
1086 00f0 fa 01 00 00 c0 7f 00 00 10 00 02 00 | |
1087 00fc 00 02 00 00 00 89 00 00 34 01 02 00 | |
1088 0108 1c 02 00 00 40 ec 00 00 12 06 02 00 | |
1089 0114 22 02 00 00 00 84 00 00 10 00 02 00 | |
1090 0120 24 02 00 00 c0 ea 00 00 3c 01 02 00 | |
1091 012c 40 02 00 00 00 f4 00 00 0a 06 02 00 | |
1092 0138 46 02 00 00 40 8c 00 00 10 00 02 00 | |
1093 0144 48 02 00 00 80 f2 00 00 36 01 02 00 | |
1094 0150 64 02 00 00 80 fb 00 00 bf 07 02 00 | |
1095 015c 6a 02 00 00 80 63 00 00 10 00 02 00 | |
1096 0168 6c 02 00 00 40 fa 00 00 2a 01 02 00 | |
1097 0174 6c 02 00 00 40 fa 00 00 2a 01 02 00 | |
1098 0180 6c 02 00 00 40 fa 00 00 2a 01 02 00 | |
1099 018c 6c 02 00 00 40 fa 00 00 2a 01 02 00 | |
1100 0198 6c 02 00 00 40 fa 00 00 2a 01 02 00 | |
1101 01a4 6c 02 00 00 40 fa 00 00 2a 01 02 00 | |
1102 01b0 64 02 00 00 80 fb 00 00 bf 07 02 00 | |
1103 01bc 64 02 00 00 80 fb 00 00 bf 07 02 00 | |
1104 01c8 64 02 00 00 80 fb 00 00 bf 07 02 00 | |
1105 01d4 64 02 00 00 80 fb 00 00 bf 07 02 00 | |
1106 01e0 64 02 00 00 80 fb 00 00 bf 07 02 00 | |
1107 01ec 00 00 00 00 1f 29 0c 00 80 80 5b b3 | |
52 | 1108 01f8 5a 67 01 00 4f ae 70 a7 |
24 | 1109 |
28 | 1110 01f0 itemCount [1 byte] 0x1f in this case |
1111 01f1 maxItemCount [1 byte] 0x29 constant | |
71
1bd4491cf8ff
fix documentation of 8 byte backpointers
Carl Byington <carl@five-ten-sg.com>
parents:
64
diff
changeset
|
1112 01f2 itemSize [1 byte] 0x0c constant |
44 | 1113 01f3 nodeLevel [1 byte] 0x00 defines a leaf node |
28 | 1114 01f8 backPointer [4 bytes] 0x01675a in this case |
24 | 1115 ]]></literallayout> |
1116 <para> | |
28 | 1117 The itemCount specifies the number of 12 byte records that |
1118 are active. The nodeLevel is zero for these leaf nodes. | |
1119 The backPointer must match the backPointer from the triple | |
24 | 1120 that pointed to this node. |
1121 </para> | |
1122 <para> | |
1123 Each item in this node is a tuple of (ID1, offset, size, unknown) | |
35 | 1124 The two low order bits of the ID1 value seem to be flags. I have |
1125 never seen a case with bit zero set. Bit one indicates that the | |
1126 item is <emphasis>not</emphasis> encrypted. Note that references | |
1127 to these ID1 values elsewhere may have the low order bit set (and | |
1128 I don't know what that means), but when we do the search in this | |
1129 tree we need to clear that bit so that we can find the correct item. | |
24 | 1130 </para> |
1131 </refsect1> | |
1132 | |
44 | 1133 <refsect1 id='pst.file.leaf1.64.5'> |
1134 <title>64 bit Index 1 Leaf Node</title> | |
24 | 1135 <para> |
44 | 1136 The 64 bit index1 b-tree leaf nodes are 512 byte blocks with the |
1137 following format. | |
1138 </para> | |
1139 <literallayout class="monospaced"><![CDATA[ | |
1140 0000 04 00 00 00 00 00 00 00 00 58 00 00 | |
1141 000C 00 00 00 00 6c 00 05 00 00 00 00 00 | |
1142 0018 08 00 00 00 00 00 00 00 80 58 00 00 | |
1143 0024 00 00 00 00 b4 00 06 00 d8 22 37 08 | |
1144 0030 0c 00 00 00 00 00 00 00 80 59 00 00 | |
1145 003C 00 00 00 00 ac 00 07 00 d8 22 37 08 | |
1146 0048 10 00 00 00 00 00 00 00 40 5a 00 00 | |
1147 0054 00 00 00 00 bc 00 03 00 d8 22 37 08 | |
1148 0060 14 00 00 00 00 00 00 00 40 5b 00 00 | |
1149 006C 00 00 00 00 a4 00 02 00 d8 22 37 08 | |
1150 0078 18 00 00 00 00 00 00 00 00 5c 00 00 | |
1151 0084 00 00 00 00 64 00 02 00 d8 22 37 08 | |
1152 0090 1c 00 00 00 00 00 00 00 80 5c 00 00 | |
1153 009C 00 00 00 00 5c 00 02 00 d8 22 37 08 | |
1154 00A8 24 00 00 00 00 00 00 00 80 5d 00 00 | |
1155 00B4 00 00 00 00 72 00 02 00 d8 22 37 08 | |
1156 00C0 34 00 00 00 00 00 00 00 00 70 00 00 | |
1157 00CC 00 00 00 00 8c 00 02 00 00 0d 00 00 | |
1158 00D8 38 00 00 00 00 00 00 00 c0 71 00 00 | |
1159 00E4 00 00 00 00 5c 00 02 00 d8 22 9c 00 | |
1160 00F0 40 00 00 00 00 00 00 00 40 72 00 00 | |
1161 00FC 00 00 00 00 26 00 02 00 d8 22 9c 00 | |
1162 0108 4c 00 00 00 00 00 00 00 80 5f 00 00 | |
1163 0114 00 00 00 00 3e 00 02 00 d8 22 9c 00 | |
1164 0120 5c 00 00 00 00 00 00 00 c0 76 00 00 | |
1165 012C 00 00 00 00 8c 00 02 00 d8 22 9c 00 | |
1166 0138 64 00 00 00 00 00 00 00 40 75 00 00 | |
1167 0144 00 00 00 00 76 00 02 00 d8 22 9c 00 | |
1168 0150 6c 00 00 00 00 00 00 00 c0 73 00 00 | |
1169 015C 00 00 00 00 5e 00 02 00 d8 22 9c 00 | |
1170 0168 70 00 00 00 00 00 00 00 80 72 00 00 | |
1171 0174 00 00 00 00 1e 01 02 00 d8 22 9c 00 | |
1172 0180 70 00 00 00 00 00 00 00 80 72 00 00 | |
1173 018C 00 00 00 00 1e 01 02 00 d8 22 9c 00 | |
1174 0198 70 00 00 00 00 00 00 00 80 72 00 00 | |
1175 01A4 00 00 00 00 1e 01 02 00 d8 22 9c 00 | |
1176 01B0 74 00 00 00 00 00 00 00 40 74 00 00 | |
1177 01BC 00 00 00 00 e0 00 02 00 d8 22 9c 00 | |
1178 01C8 7c 00 00 00 00 00 00 00 80 77 00 00 | |
1179 01D4 00 00 00 00 dc 00 02 00 d8 22 9c 00 | |
1180 01E0 00 00 00 00 00 00 00 00 10 14 18 00 | |
1181 01EC 00 00 00 00 80 80 88 48 3f 50 0b 04 | |
1182 01F8 88 00 00 00 00 00 00 00 | |
1183 | |
1184 01e8 itemCount [1 byte] 0x10 in this case | |
1185 01e9 maxItemCount [1 byte] 0x14 constant | |
71
1bd4491cf8ff
fix documentation of 8 byte backpointers
Carl Byington <carl@five-ten-sg.com>
parents:
64
diff
changeset
|
1186 01ea itemSize [1 byte] 0x18 constant |
44 | 1187 01eb nodeLevel [1 byte] 0x00 defines a leaf node |
1188 01f8 backPointer [8 bytes] 0x000088 in this case | |
1189 ]]></literallayout> | |
1190 <para> | |
1191 The itemCount specifies the number of 24 byte records that | |
1192 are active. The nodeLevel is zero for these leaf nodes. | |
1193 The backPointer must match the backPointer from the triple | |
1194 that pointed to this node. | |
1195 </para> | |
1196 <para> | |
1197 Each item in this node is a tuple of (ID1, offset, size, unknown) | |
1198 The two low order bits of the ID1 value seem to be flags. I have | |
1199 never seen a case with bit zero set. Bit one indicates that the | |
1200 item is <emphasis>not</emphasis> encrypted. Note that references | |
1201 to these ID1 values elsewhere may have the low order bit set (and | |
1202 I don't know what that means), but when we do the search in this | |
1203 tree we need to clear that bit so that we can find the correct item. | |
1204 </para> | |
1205 </refsect1> | |
1206 | |
1207 <refsect1 id='pst.file.node2.32.5'> | |
1208 <title>32 bit Index 2 Node</title> | |
1209 <para> | |
52 | 1210 The 32 bit index2 b-tree nodes are 512 byte blocks with the |
44 | 1211 following format. |
24 | 1212 </para> |
1213 <literallayout class="monospaced"><![CDATA[ | |
1214 0000 21 00 00 00 bb 1e 02 00 00 e2 0b 00 | |
1215 000c 64 78 20 00 8c 1e 02 00 00 dc 0b 00 | |
1216 0018 00 00 00 00 00 00 00 00 00 00 00 00 | |
1217 0024 00 00 00 00 00 00 00 00 00 00 00 00 | |
1218 0030 00 00 00 00 00 00 00 00 00 00 00 00 | |
1219 003c 00 00 00 00 00 00 00 00 00 00 00 00 | |
1220 0048 00 00 00 00 00 00 00 00 00 00 00 00 | |
1221 0054 00 00 00 00 00 00 00 00 00 00 00 00 | |
1222 0060 00 00 00 00 00 00 00 00 00 00 00 00 | |
1223 006c 00 00 00 00 00 00 00 00 00 00 00 00 | |
1224 0078 00 00 00 00 00 00 00 00 00 00 00 00 | |
1225 0084 00 00 00 00 00 00 00 00 00 00 00 00 | |
1226 0090 00 00 00 00 00 00 00 00 00 00 00 00 | |
1227 009c 00 00 00 00 00 00 00 00 00 00 00 00 | |
1228 00a8 00 00 00 00 00 00 00 00 00 00 00 00 | |
1229 00b4 00 00 00 00 00 00 00 00 00 00 00 00 | |
1230 00c0 00 00 00 00 00 00 00 00 00 00 00 00 | |
1231 00cc 00 00 00 00 00 00 00 00 00 00 00 00 | |
1232 00d8 00 00 00 00 00 00 00 00 00 00 00 00 | |
1233 00e4 00 00 00 00 00 00 00 00 00 00 00 00 | |
1234 00f0 00 00 00 00 00 00 00 00 00 00 00 00 | |
1235 00fc 00 00 00 00 00 00 00 00 00 00 00 00 | |
1236 0108 00 00 00 00 00 00 00 00 00 00 00 00 | |
1237 0114 00 00 00 00 00 00 00 00 00 00 00 00 | |
1238 0120 00 00 00 00 00 00 00 00 00 00 00 00 | |
1239 012c 00 00 00 00 00 00 00 00 00 00 00 00 | |
1240 0138 00 00 00 00 00 00 00 00 00 00 00 00 | |
1241 0144 00 00 00 00 00 00 00 00 00 00 00 00 | |
1242 0150 00 00 00 00 00 00 00 00 00 00 00 00 | |
1243 015c 00 00 00 00 00 00 00 00 00 00 00 00 | |
1244 0168 00 00 00 00 00 00 00 00 00 00 00 00 | |
1245 0174 00 00 00 00 00 00 00 00 00 00 00 00 | |
1246 0180 00 00 00 00 00 00 00 00 00 00 00 00 | |
1247 018c 00 00 00 00 00 00 00 00 00 00 00 00 | |
1248 0198 00 00 00 00 00 00 00 00 00 00 00 00 | |
1249 01a4 00 00 00 00 00 00 00 00 00 00 00 00 | |
1250 01b0 00 00 00 00 00 00 00 00 00 00 00 00 | |
1251 01bc 00 00 00 00 00 00 00 00 00 00 00 00 | |
1252 01c8 00 00 00 00 00 00 00 00 00 00 00 00 | |
1253 01d4 00 00 00 00 00 00 00 00 00 00 00 00 | |
1254 01e0 00 00 00 00 00 00 00 00 00 00 00 00 | |
1255 01ec 00 00 00 00 02 29 0c 02 81 81 b2 60 | |
52 | 1256 01f8 bc 1e 02 00 7e 70 dc e3 |
24 | 1257 |
28 | 1258 01f0 itemCount [1 byte] 0x02 in this case |
1259 01f1 maxItemCount [1 byte] 0x29 constant | |
71
1bd4491cf8ff
fix documentation of 8 byte backpointers
Carl Byington <carl@five-ten-sg.com>
parents:
64
diff
changeset
|
1260 01f2 itemSize [1 byte] 0x0c constant |
28 | 1261 01f3 nodeLevel [1 byte] 0x02 in this case |
1262 01f8 backPointer [4 bytes] 0x021ebc in this case | |
24 | 1263 ]]></literallayout> |
1264 <para> | |
28 | 1265 The itemCount specifies the number of 12 byte records that |
1266 are active. The nodeLevel is non-zero for this style of nodes. | |
1267 The leaf nodes have a different format. The backPointer must | |
1268 match the backPointer from the triple that pointed to this node. | |
24 | 1269 </para> |
1270 <para> | |
28 | 1271 Each item in this node is a triple of (ID2, backPointer, offset) |
24 | 1272 where the offset points to the next deeper node in the tree, the |
28 | 1273 backPointer value must match the backPointer in that deeper node, |
24 | 1274 and ID2 is the lowest ID2 value in the subtree. |
1275 </para> | |
1276 </refsect1> | |
1277 | |
44 | 1278 <refsect1 id='pst.file.node2.64.5'> |
1279 <title>64 bit Index 2 Node</title> | |
24 | 1280 <para> |
44 | 1281 The 64 bit index2 b-tree nodes are 512 byte blocks with the |
1282 following format. | |
1283 </para> | |
1284 <literallayout class="monospaced"><![CDATA[ | |
1285 0000 21 00 00 00 00 00 00 00 77 00 00 00 | |
1286 000C 00 00 00 00 00 56 00 00 00 00 00 00 | |
1287 0018 4c 06 00 00 00 00 00 00 82 00 00 00 | |
1288 0024 00 00 00 00 00 68 00 00 00 00 00 00 | |
1289 0030 4f 80 00 00 00 00 00 00 84 00 00 00 | |
1290 003C 00 00 00 00 00 6e 00 00 00 00 00 00 | |
1291 0048 00 00 00 00 00 00 00 00 00 00 00 00 | |
1292 0054 00 00 00 00 00 00 00 00 00 00 00 00 | |
1293 0060 00 00 00 00 00 00 00 00 00 00 00 00 | |
1294 006C 00 00 00 00 00 00 00 00 00 00 00 00 | |
1295 0078 00 00 00 00 00 00 00 00 00 00 00 00 | |
1296 0084 00 00 00 00 00 00 00 00 00 00 00 00 | |
1297 0090 00 00 00 00 00 00 00 00 00 00 00 00 | |
1298 009C 00 00 00 00 00 00 00 00 00 00 00 00 | |
1299 00A8 00 00 00 00 00 00 00 00 00 00 00 00 | |
1300 00B4 00 00 00 00 00 00 00 00 00 00 00 00 | |
1301 00C0 00 00 00 00 00 00 00 00 00 00 00 00 | |
1302 00CC 00 00 00 00 00 00 00 00 00 00 00 00 | |
1303 00D8 00 00 00 00 00 00 00 00 00 00 00 00 | |
1304 00E4 00 00 00 00 00 00 00 00 00 00 00 00 | |
1305 00F0 00 00 00 00 00 00 00 00 00 00 00 00 | |
1306 00FC 00 00 00 00 00 00 00 00 00 00 00 00 | |
1307 0108 00 00 00 00 00 00 00 00 00 00 00 00 | |
1308 0114 00 00 00 00 00 00 00 00 00 00 00 00 | |
1309 0120 00 00 00 00 00 00 00 00 00 00 00 00 | |
1310 012C 00 00 00 00 00 00 00 00 00 00 00 00 | |
1311 0138 00 00 00 00 00 00 00 00 00 00 00 00 | |
1312 0144 00 00 00 00 00 00 00 00 00 00 00 00 | |
1313 0150 00 00 00 00 00 00 00 00 00 00 00 00 | |
1314 015C 00 00 00 00 00 00 00 00 00 00 00 00 | |
1315 0168 00 00 00 00 00 00 00 00 00 00 00 00 | |
1316 0174 00 00 00 00 00 00 00 00 00 00 00 00 | |
1317 0180 00 00 00 00 00 00 00 00 00 00 00 00 | |
1318 018C 00 00 00 00 00 00 00 00 00 00 00 00 | |
1319 0198 00 00 00 00 00 00 00 00 00 00 00 00 | |
1320 01A4 00 00 00 00 00 00 00 00 00 00 00 00 | |
1321 01B0 00 00 00 00 00 00 00 00 00 00 00 00 | |
1322 01BC 00 00 00 00 00 00 00 00 00 00 00 00 | |
1323 01C8 00 00 00 00 00 00 00 00 00 00 00 00 | |
1324 01D4 00 00 00 00 00 00 00 00 00 00 00 00 | |
1325 01E0 00 00 00 00 00 00 00 00 03 14 18 01 | |
1326 01EC 00 00 00 00 81 81 83 6a 49 da f3 d3 | |
1327 01F8 83 00 00 00 00 00 00 00 | |
1328 | |
1329 01e8 itemCount [1 byte] 0x03 in this case | |
1330 01e9 maxItemCount [1 byte] 0x14 constant | |
71
1bd4491cf8ff
fix documentation of 8 byte backpointers
Carl Byington <carl@five-ten-sg.com>
parents:
64
diff
changeset
|
1331 01ea itemSize [1 byte] 0x18 constant |
44 | 1332 01eb nodeLevel [1 byte] 0x01 in this case |
71
1bd4491cf8ff
fix documentation of 8 byte backpointers
Carl Byington <carl@five-ten-sg.com>
parents:
64
diff
changeset
|
1333 01f8 backPointer [8 bytes] 0x000083 in this case |
44 | 1334 ]]></literallayout> |
1335 <para> | |
1336 The itemCount specifies the number of 24 byte records that | |
1337 are active. The nodeLevel is non-zero for this style of nodes. | |
1338 The leaf nodes have a different format. The backPointer must | |
1339 match the backPointer from the triple that pointed to this node. | |
1340 </para> | |
1341 <para> | |
1342 Each item in this node is a triple of (ID2, backPointer, offset) | |
1343 where the offset points to the next deeper node in the tree, the | |
1344 backPointer value must match the backPointer in that deeper node, | |
1345 and ID2 is the lowest ID2 value in the subtree. | |
1346 </para> | |
1347 </refsect1> | |
1348 | |
1349 <refsect1 id='pst.file.leaf2.32.5'> | |
1350 <title>32 bit Index 2 Leaf Node</title> | |
1351 <para> | |
52 | 1352 The 32 bit index2 b-tree leaf nodes are 512 byte blocks with the |
44 | 1353 following format. |
24 | 1354 </para> |
1355 <literallayout class="monospaced"><![CDATA[ | |
1356 0000 21 00 00 00 38 e6 00 00 00 00 00 00 00 00 00 00 | |
1357 0010 61 00 00 00 2c a8 02 00 36 a8 02 00 00 00 00 00 | |
1358 0020 22 01 00 00 20 a2 02 00 00 00 00 00 22 01 00 00 | |
1359 0030 2d 01 00 00 88 7b 03 00 00 00 00 00 00 00 00 00 | |
1360 0040 2e 01 00 00 08 00 00 00 00 00 00 00 00 00 00 00 | |
1361 0050 2f 01 00 00 0c 00 00 00 00 00 00 00 00 00 00 00 | |
1362 0060 e1 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | |
1363 0070 01 02 00 00 b4 e4 02 00 00 00 00 00 00 00 00 00 | |
1364 0080 61 02 00 00 a0 e4 02 00 00 00 00 00 00 00 00 00 | |
1365 0090 0d 06 00 00 04 00 00 00 00 00 00 00 00 00 00 00 | |
1366 00A0 0e 06 00 00 08 00 00 00 00 00 00 00 00 00 00 00 | |
1367 00B0 0f 06 00 00 0c 00 00 00 00 00 00 00 00 00 00 00 | |
1368 00C0 10 06 00 00 10 00 00 00 00 00 00 00 00 00 00 00 | |
1369 00D0 2b 06 00 00 84 00 00 00 00 00 00 00 00 00 00 00 | |
1370 00E0 4c 06 00 00 1c 00 00 00 00 00 00 00 00 00 00 00 | |
1371 00F0 71 06 00 00 18 00 00 00 00 00 00 00 00 00 00 00 | |
1372 0100 92 06 00 00 14 00 00 00 00 00 00 00 00 00 00 00 | |
1373 0110 23 22 00 00 14 a0 02 00 00 00 00 00 22 01 00 00 | |
1374 0120 26 22 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | |
1375 0130 27 22 00 00 1c a0 02 00 00 00 00 00 00 00 00 00 | |
1376 0140 22 80 00 00 50 00 00 00 00 00 00 00 22 01 00 00 | |
1377 0150 2d 80 00 00 f8 9f 02 00 00 00 00 00 00 00 00 00 | |
1378 0160 2e 80 00 00 08 00 00 00 00 00 00 00 00 00 00 00 | |
1379 0170 2f 80 00 00 34 e6 00 00 00 00 00 00 00 00 00 00 | |
1380 0180 42 80 00 00 3c 6d 02 00 00 00 00 00 22 80 00 00 | |
1381 0190 4d 80 00 00 04 00 00 00 00 00 00 00 00 00 00 00 | |
1382 01A0 4e 80 00 00 10 6d 02 00 00 00 00 00 00 00 00 00 | |
1383 01B0 4f 80 00 00 ec 23 00 00 00 00 00 00 00 00 00 00 | |
1384 01C0 62 80 00 00 38 78 02 00 00 00 00 00 22 01 00 00 | |
1385 01D0 6d 80 00 00 34 78 02 00 00 00 00 00 00 00 00 00 | |
1386 01E0 6e 80 00 00 08 00 00 00 00 00 00 00 00 00 00 00 | |
1387 01F0 10 1f 10 00 81 81 a0 9a ae 1e 02 00 89 44 6a 0f | |
1388 | |
28 | 1389 01f0 itemCount [1 byte] 0x10 in this case |
1390 01f1 maxItemCount [1 byte] 0x1f constant | |
71
1bd4491cf8ff
fix documentation of 8 byte backpointers
Carl Byington <carl@five-ten-sg.com>
parents:
64
diff
changeset
|
1391 01f2 itemSize [1 byte] 0x10 constant |
28 | 1392 01f3 nodeLevel [1 byte] 0x00 in this case |
1393 01f8 backPointer [4 bytes] 0x021eae in this case | |
24 | 1394 ]]></literallayout> |
1395 <para> | |
28 | 1396 The itemCount specifies the number of 16 byte records that |
1397 are active. The nodeLevel is zero for these leaf nodes. | |
1398 The backPointer must match the backPointer from the triple | |
24 | 1399 that pointed to this node. |
1400 </para> | |
1401 <para> | |
1402 Each item in this node is a tuple of (ID2, DESC-ID1, LIST-ID1, PARENT-ID2) | |
1403 </para> | |
1404 </refsect1> | |
1405 | |
44 | 1406 <refsect1 id='pst.file.leaf2.64.5'> |
1407 <title>64 bit Index 2 Leaf Node</title> | |
1408 <para> | |
1409 The 64 bit index2 b-tree leaf nodes are 512 byte blocks with the | |
1410 following format. | |
1411 </para> | |
1412 <literallayout class="monospaced"><![CDATA[ | |
1413 0000 21 00 00 00 00 00 00 00 74 00 00 00 00 00 00 00 | |
1414 0010 00 00 00 00 00 00 00 00 00 00 00 00 02 00 00 00 | |
1415 0020 61 00 00 00 00 00 00 00 34 00 00 00 00 00 00 00 | |
1416 0030 00 00 00 00 00 00 00 00 00 00 00 00 02 00 00 00 | |
1417 0040 22 01 00 00 00 00 00 00 4c 00 00 00 00 00 00 00 | |
1418 0050 00 00 00 00 00 00 00 00 22 01 00 00 02 00 00 00 | |
1419 0060 2d 01 00 00 00 00 00 00 70 00 00 00 00 00 00 00 | |
1420 0070 00 00 00 00 00 00 00 00 00 00 00 00 02 00 00 00 | |
1421 0080 2e 01 00 00 00 00 00 00 08 00 00 00 00 00 00 00 | |
1422 0090 00 00 00 00 00 00 00 00 00 00 00 00 02 00 00 00 | |
1423 00A0 2f 01 00 00 00 00 00 00 0c 00 00 00 00 00 00 00 | |
1424 00B0 00 00 00 00 00 00 00 00 00 00 00 00 02 00 00 00 | |
1425 00C0 e1 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | |
1426 00D0 00 00 00 00 00 00 00 00 00 00 00 00 d8 e3 13 00 | |
1427 00E0 01 02 00 00 00 00 00 00 8c 00 00 00 00 00 00 00 | |
1428 00F0 00 00 00 00 00 00 00 00 00 00 00 00 b0 e3 13 00 | |
1429 0100 61 02 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | |
1430 0110 00 00 00 00 00 00 00 00 00 00 00 00 d8 e3 13 00 | |
1431 0120 0d 06 00 00 00 00 00 00 04 00 00 00 00 00 00 00 | |
1432 0130 00 00 00 00 00 00 00 00 00 00 00 00 02 00 00 00 | |
1433 0140 0e 06 00 00 00 00 00 00 08 00 00 00 00 00 00 00 | |
1434 0150 00 00 00 00 00 00 00 00 00 00 00 00 02 00 00 00 | |
1435 0160 0f 06 00 00 00 00 00 00 0c 00 00 00 00 00 00 00 | |
1436 0170 00 00 00 00 00 00 00 00 00 00 00 00 02 00 00 00 | |
1437 0180 10 06 00 00 00 00 00 00 10 00 00 00 00 00 00 00 | |
1438 0190 00 00 00 00 00 00 00 00 00 00 00 00 02 00 00 00 | |
1439 01A0 2b 06 00 00 00 00 00 00 24 00 00 00 00 00 00 00 | |
1440 01B0 00 00 00 00 00 00 00 00 00 00 00 00 02 00 00 00 | |
1441 01C0 71 06 00 00 00 00 00 00 18 00 00 00 00 00 00 00 | |
1442 01D0 00 00 00 00 00 00 00 00 00 00 00 00 02 00 00 00 | |
1443 01E0 00 00 00 00 00 00 00 00 0e 0f 20 00 00 00 00 00 | |
1444 01F0 81 81 77 56 f8 32 43 49 77 00 00 00 00 00 00 00 | |
1445 | |
1446 01e8 itemCount [1 byte] 0x0e in this case | |
1447 01e9 maxItemCount [1 byte] 0x0f constant | |
71
1bd4491cf8ff
fix documentation of 8 byte backpointers
Carl Byington <carl@five-ten-sg.com>
parents:
64
diff
changeset
|
1448 01ea itemSize [1 byte] 0x20 constant |
44 | 1449 01eb nodeLevel [1 byte] 0x00 defines a leaf node |
71
1bd4491cf8ff
fix documentation of 8 byte backpointers
Carl Byington <carl@five-ten-sg.com>
parents:
64
diff
changeset
|
1450 01f8 backPointer [8 bytes] 0x000077 in this case |
44 | 1451 ]]></literallayout> |
1452 <para> | |
1453 The itemCount specifies the number of 32 byte records that | |
1454 are active. The nodeLevel is zero for these leaf nodes. | |
1455 The backPointer must match the backPointer from the triple | |
1456 that pointed to this node. | |
1457 </para> | |
1458 <para> | |
1459 Each item in this node is a tuple of (ID2, DESC-ID1, LIST-ID1, PARENT-ID2) | |
1460 </para> | |
1461 </refsect1> | |
1462 | |
46 | 1463 <refsect1 id='pst.file.list.32.5'> |
48 | 1464 <title>32 bit Associated List Item 0x0002</title> |
24 | 1465 <para> |
1466 Contains associations between id1 and id2 for the items controlled by the record. | |
44 | 1467 In the above 32 bit leaf node, we have a tuple of (0x61, 0x02a82c, 0x02a836, 0) |
24 | 1468 0x02a836 is the ID1 of the associated list, and we can lookup that ID1 value |
1469 in the index1 b-tree to find the (offset,size) of the data in the .pst file. | |
1470 </para> | |
1471 <literallayout class="monospaced"><![CDATA[ | |
1472 0000 02 00 01 00 9f 81 00 00 30 a8 02 00 00 00 00 00 | |
1473 | |
48 | 1474 0000 signature [2 bytes] 0x0002 constant |
24 | 1475 0002 count [2 bytes] 0x0001 in this case |
1476 repeating | |
1477 0004 id2 [4 bytes] 0x00819f in this case | |
1478 0008 id [4 bytes] 0x02a830 in this case | |
46 | 1479 000c table2 [4 bytes] 0 in this case |
1480 ]]></literallayout> | |
1481 </refsect1> | |
1482 | |
1483 <refsect1 id='pst.file.list.64.5'> | |
48 | 1484 <title>64 bit Associated List Item 0x0002</title> |
46 | 1485 <para> |
1486 Contains associations between id1 and id2 for the items controlled by the record. | |
1487 </para> | |
1488 <literallayout class="monospaced"><![CDATA[ | |
1489 0000 02 00 02 00 00 00 00 00 92 06 00 00 00 00 00 00 | |
1490 0010 a8 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | |
1491 0020 3f 80 00 00 00 00 00 00 98 00 00 00 00 00 00 00 | |
1492 0030 00 00 00 00 00 00 00 00 | |
1493 | |
48 | 1494 0000 signature [2 bytes] 0x0002 constant |
46 | 1495 0002 count [2 bytes] 0x0002 in this case |
57
de3753c3160a
add archive directory with history of alioth versions that have been merged here
Carl Byington <carl@five-ten-sg.com>
parents:
55
diff
changeset
|
1496 0004 unknown [4 bytes] 0 possibly constant |
46 | 1497 repeating |
48 | 1498 0008 id2 [4 bytes] 0x000692 in this case |
1499 000c unknown1 [2 bytes] 0 may be a count or size | |
1500 000e unknown2 [2 bytes] 0 may be a count or size | |
1501 0010 id [8 bytes] 0x0000a8 in this case | |
1502 0018 table2 [8 bytes] 0 in this case | |
24 | 1503 ]]></literallayout> |
1504 </refsect1> | |
1505 | |
1506 <refsect1 id='pst.file.desc.5'> | |
28 | 1507 <title>Associated Descriptor Item 0xbcec</title> |
24 | 1508 <para> |
28 | 1509 Contains information about the item, which may be email, contact, or |
1510 other outlook types. In the above leaf node, we have a tuple of (0x21, | |
1511 0x00e638, 0, 0) 0x00e638 is the ID1 of the associated descriptor, and we | |
1512 can lookup that ID1 value in the index1 b-tree to find the (offset,size) | |
1513 of the data in the .pst file. | |
24 | 1514 </para> |
1515 <literallayout class="monospaced"><![CDATA[ | |
1516 0000 3c 01 ec bc 20 00 00 00 00 00 00 00 b5 02 06 00 | |
1517 0010 40 00 00 00 f9 0f 02 01 60 00 00 00 01 30 1e 00 | |
1518 0020 80 00 00 00 04 30 1e 00 00 00 00 00 df 35 03 00 | |
1519 0030 ff 00 00 00 e0 35 02 01 a0 00 00 00 e2 35 02 01 | |
1520 0040 e0 00 00 00 e3 35 02 01 c0 00 00 00 e4 35 02 01 | |
1521 0050 00 01 00 00 e5 35 02 01 20 01 00 00 e6 35 02 01 | |
1522 0060 40 01 00 00 e7 35 02 01 60 01 00 00 1e 66 0b 00 | |
1523 0070 00 00 00 00 ff 67 03 00 00 00 00 00 d2 7f 17 d8 | |
1524 0080 64 8c d5 11 83 24 00 50 04 86 95 45 53 74 61 6e | |
1525 0090 6c 65 79 00 00 00 00 d2 7f 17 d8 64 8c d5 11 83 | |
1526 00A0 24 00 50 04 86 95 45 22 80 00 00 00 00 00 00 d2 | |
1527 00B0 7f 17 d8 64 8c d5 11 83 24 00 50 04 86 95 45 42 | |
1528 00C0 80 00 00 00 00 00 00 d2 7f 17 d8 64 8c d5 11 83 | |
1529 00D0 24 00 50 04 86 95 45 a2 80 00 00 00 00 00 00 d2 | |
1530 00E0 7f 17 d8 64 8c d5 11 83 24 00 50 04 86 95 45 c2 | |
1531 00F0 80 00 00 00 00 00 00 d2 7f 17 d8 64 8c d5 11 83 | |
1532 0100 24 00 50 04 86 95 45 e2 80 00 00 00 00 00 00 d2 | |
1533 0110 7f 17 d8 64 8c d5 11 83 24 00 50 04 86 95 45 02 | |
1534 0120 81 00 00 00 00 00 00 d2 7f 17 d8 64 8c d5 11 83 | |
1535 0130 24 00 50 04 86 95 45 62 80 00 00 00 0b 00 00 00 | |
1536 0140 0c 00 14 00 7c 00 8c 00 93 00 ab 00 c3 00 db 00 | |
1537 0150 f3 00 0b 01 23 01 3b 01 | |
1538 | |
28 | 1539 0000 indexOffset [2 bytes] 0x013c in this case |
24 | 1540 0002 signature [2 bytes] 0xbcec constant |
35 | 1541 0004 b5offset [4 bytes] 0x0020 index reference |
24 | 1542 ]]></literallayout> |
1543 <para> | |
35 | 1544 Note the signature of 0xbcec. There are other descriptor block formats |
1545 with other signatures. Note the indexOffset of 0x013c - starting at | |
1546 that position in the descriptor block, we have an array of two byte | |
1547 integers. The first integer (0x000b) is a (count-1) of the number of | |
1548 overlapping pairs following the count. The first pair is (0, 0xc), the | |
1549 next pair is (0xc, 0x14) and the last (12th) pair is (0x123, 0x13b). | |
1550 These pairs are (start,end+1) offsets of items in this block. So we | |
1551 have count+2 integers following the count value. | |
24 | 1552 </para> |
1553 <para> | |
35 | 1554 Note the b5offset of 0x0020, which is a type that I will call an index |
49 | 1555 reference. Such index references have at least two different forms, |
1556 and may point to data either in this block, or in some other block. | |
35 | 1557 External pointer references have the low order 4 bits all set, and are |
1558 ID2 values that can be used to fetch data. This value of 0x0020 is an | |
49 | 1559 internal pointer reference, which needs to be right shifted by 4 bits |
1560 to become 0x0002, which is then a byte offset to be added to the above | |
35 | 1561 indexOffset plus two (to skip the count), so it points to the (0xc, |
1562 0x14) pair. | |
1563 </para> | |
1564 <para> | |
49 | 1565 So far we have only described internal index references where the high |
1566 order 16 bits are zero. That suffices for single descriptor | |
1567 blocks. But in the case of the type 0x0101 descriptor block, we have | |
1568 an array of subblocks. In this case, the high order 16 bits of an | |
1569 internal index reference are used to select the subblock. Each | |
1570 subblock starts with a 16 bit indexOffset which points to the count | |
1571 and array of 16 bit integer pairs which are offsets in the current | |
1572 subblock. | |
1573 </para> | |
1574 <para> | |
35 | 1575 Finally, we have the offset and size of the "b5" block located at offset 0xc |
24 | 1576 with a size of 8 bytes in this descriptor block. The "b5" block has the |
1577 following format: | |
1578 </para> | |
1579 <literallayout class="monospaced"><![CDATA[ | |
1580 0000 signature [2 bytes] 0x02b5 constant | |
75
987aa872294e
Use ftello/fseeko to properly handle large files.
Carl Byington <carl@five-ten-sg.com>
parents:
71
diff
changeset
|
1581 0002 datasize [2 bytes] 0x0006 constant +2 for 8 byte entries |
35 | 1582 0004 descoffset [4 bytes] 0x0040 index reference |
24 | 1583 ]]></literallayout> |
1584 <para> | |
35 | 1585 Note the descoffset of 0x0040, which again is an index reference. In this |
1586 case, it is an internal pointer reference, which needs to be right shifted by 4 bits | |
24 | 1587 to become 0x0004, which is then a byte offset to be added to the above |
28 | 1588 indexOffset plus two (to skip the count), so it points to the (0x14, 0x7c) |
77 | 1589 pair. The datasize (6) plus the b5 code (02) gives the size of the entries, |
75
987aa872294e
Use ftello/fseeko to properly handle large files.
Carl Byington <carl@five-ten-sg.com>
parents:
71
diff
changeset
|
1590 in this case 8 bytes. We now have the offset 0x14 of the descriptor array, |
987aa872294e
Use ftello/fseeko to properly handle large files.
Carl Byington <carl@five-ten-sg.com>
parents:
71
diff
changeset
|
1591 composed of 8 byte entries. Each descriptor entry has the following format: |
24 | 1592 </para> |
1593 <literallayout class="monospaced"><![CDATA[ | |
28 | 1594 0000 itemType [2 bytes] |
1595 0002 referenceType [2 bytes] | |
24 | 1596 0004 value [4 bytes] |
1597 ]]></literallayout> | |
1598 <para> | |
1599 For some reference types (2, 3, 0xb) the value is used directly. Otherwise, | |
35 | 1600 the value is an index reference, which is either an ID2 value, or an |
1601 offset, to be right shifted by 4 bits and used to fetch a pair from the | |
1602 index table to find the offset and size of the item in this descriptor block. | |
24 | 1603 </para> |
1604 <para> | |
1605 The following reference types are known, but not all of these | |
1606 are implemented in the code yet. | |
1607 </para> | |
1608 <literallayout class="monospaced"><![CDATA[ | |
1609 0x0002 - Signed 16bit value | |
1610 0x0003 - Signed 32bit value | |
1611 0x0004 - 4-byte floating point | |
1612 0x0005 - Floating point double | |
1613 0x0006 - Signed 64-bit int | |
1614 0x0007 - Application Time | |
1615 0x000A - 32-bit error value | |
1616 0x000B - Boolean (non-zero = true) | |
1617 0x000D - Embedded Object | |
1618 0x0014 - 8-byte signed integer (64-bit) | |
1619 0x001E - Null terminated String | |
1620 0x001F - Unicode string | |
1621 0x0040 - Systime - Filetime structure | |
1622 0x0048 - OLE Guid | |
1623 0x0102 - Binary data | |
1624 0x1003 - Array of 32bit values | |
1625 0x1014 - Array of 64bit values | |
1626 0x101E - Array of Strings | |
1627 0x1102 - Array of Binary data | |
1628 ]]></literallayout> | |
1629 <para> | |
1630 The following item types are known, but not all of these | |
1631 are implemented in the code yet. | |
1632 </para> | |
1633 <literallayout class="monospaced"><![CDATA[ | |
51 | 1634 0002 Alternate recipient allowed |
24 | 1635 0003 Extended Attributes Table |
1636 0017 Importance Level | |
51 | 1637 001a IPM Context, message class |
1638 0023 Global delivery report requested | |
24 | 1639 0026 Priority |
1640 0029 Read Receipt | |
1641 002b Reassignment Prohibited | |
1642 002e Original Sensitivity | |
1643 0036 Sensitivity | |
51 | 1644 0037 Email Subject |
60
97b7706bdda2
Work around bogus 7c.b5 blocks in some messages that have been read.
Carl Byington <carl@five-ten-sg.com>
parents:
58
diff
changeset
|
1645 0039 Client submit time / date sent |
24 | 1646 003b Outlook Address of Sender |
1647 003f Outlook structure describing the recipient | |
1648 0040 Name of the Outlook recipient structure | |
1649 0041 Outlook structure describing the sender | |
1650 0042 Name of the Outlook sender structure | |
1651 0043 Another structure describing the recipient | |
1652 0044 Name of the second recipient structure | |
1653 004f Reply-To Outlook Structure | |
1654 0050 Name of the Reply-To structure | |
1655 0051 Outlook Name of recipient | |
1656 0052 Second Outlook name of recipient | |
1657 0057 My address in TO field | |
1658 0058 My address in CC field | |
1659 0059 Message addressed to me | |
1660 0063 Response requested | |
1661 0064 Sender's Address access method (SMTP, EX) | |
1662 0065 Sender's Address | |
63
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
1663 0070 Conversation topic, processed subject (with Fwd:, Re, ... removed) |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
1664 0071 Conversation index |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
1665 0072 Original display BCC |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
1666 0073 Original display CC |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
1667 0074 Original display TO |
24 | 1668 0075 Recipient Address Access Method (SMTP, EX) |
1669 0076 Recipient's Address | |
1670 0077 Second Recipient Access Method (SMTP, EX) | |
1671 0078 Second Recipient Address | |
1672 007d Email Header. This is the header that was attached to the email | |
1673 0c17 Reply Requested | |
52 | 1674 0c19 Second sender structure |
1675 0c1a Name of second sender structure | |
24 | 1676 0c1d Second outlook name of sender |
1677 0c1e Second sender access method (SMTP, EX) | |
1678 0c1f Second Sender Address | |
1679 0e01 Delete after submit | |
60
97b7706bdda2
Work around bogus 7c.b5 blocks in some messages that have been read.
Carl Byington <carl@five-ten-sg.com>
parents:
58
diff
changeset
|
1680 0e02 BCC Addresses |
97b7706bdda2
Work around bogus 7c.b5 blocks in some messages that have been read.
Carl Byington <carl@five-ten-sg.com>
parents:
58
diff
changeset
|
1681 0e03 CC Addresses |
24 | 1682 0e04 SentTo Address |
1683 0e06 Date. | |
60
97b7706bdda2
Work around bogus 7c.b5 blocks in some messages that have been read.
Carl Byington <carl@five-ten-sg.com>
parents:
58
diff
changeset
|
1684 0e07 Flag bits |
97b7706bdda2
Work around bogus 7c.b5 blocks in some messages that have been read.
Carl Byington <carl@five-ten-sg.com>
parents:
58
diff
changeset
|
1685 0x01 - Read |
97b7706bdda2
Work around bogus 7c.b5 blocks in some messages that have been read.
Carl Byington <carl@five-ten-sg.com>
parents:
58
diff
changeset
|
1686 0x02 - Unmodified |
97b7706bdda2
Work around bogus 7c.b5 blocks in some messages that have been read.
Carl Byington <carl@five-ten-sg.com>
parents:
58
diff
changeset
|
1687 0x04 - Submit |
97b7706bdda2
Work around bogus 7c.b5 blocks in some messages that have been read.
Carl Byington <carl@five-ten-sg.com>
parents:
58
diff
changeset
|
1688 0x08 - Unsent |
97b7706bdda2
Work around bogus 7c.b5 blocks in some messages that have been read.
Carl Byington <carl@five-ten-sg.com>
parents:
58
diff
changeset
|
1689 0x10 - Has Attachments |
97b7706bdda2
Work around bogus 7c.b5 blocks in some messages that have been read.
Carl Byington <carl@five-ten-sg.com>
parents:
58
diff
changeset
|
1690 0x20 - From Me |
97b7706bdda2
Work around bogus 7c.b5 blocks in some messages that have been read.
Carl Byington <carl@five-ten-sg.com>
parents:
58
diff
changeset
|
1691 0x40 - Associated |
97b7706bdda2
Work around bogus 7c.b5 blocks in some messages that have been read.
Carl Byington <carl@five-ten-sg.com>
parents:
58
diff
changeset
|
1692 0x80 - Resend |
97b7706bdda2
Work around bogus 7c.b5 blocks in some messages that have been read.
Carl Byington <carl@five-ten-sg.com>
parents:
58
diff
changeset
|
1693 0x100 - RN Pending |
97b7706bdda2
Work around bogus 7c.b5 blocks in some messages that have been read.
Carl Byington <carl@five-ten-sg.com>
parents:
58
diff
changeset
|
1694 0x200 - NRN Pending |
24 | 1695 0e08 Message Size |
1696 0e0a Sentmail EntryID | |
1697 0e1f Compressed RTF in Sync | |
1698 0e20 Attachment Size | |
1699 0ff9 binary record header | |
1700 1000 Plain Text Email Body. Does not exist if the email doesn't have a plain text version | |
1701 1006 RTF Sync Body CRC | |
1702 1007 RTF Sync Body character count | |
1703 1008 RTF Sync body tag | |
1704 1009 RTF Compressed body | |
1705 1010 RTF whitespace prefix count | |
1706 1011 RTF whitespace tailing count | |
36 | 1707 1013 HTML Email Body. Does not exist if the email doesn't have an HTML version |
24 | 1708 1035 Message ID |
1709 1042 In-Reply-To or Parent's Message ID | |
1710 1046 Return Path | |
1711 3001 Folder Name? I have seen this value used for the contacts record aswell | |
1712 3002 Address Type | |
1713 3003 Contact Address | |
1714 3004 Comment | |
1715 3007 Date item creation | |
1716 3008 Date item modification | |
1717 300b binary record header | |
1718 35df Valid Folder Mask | |
51 | 1719 35e0 binary record contains a reference to "Top of Personal Folder" item |
1720 35e2 binary record contains a reference to default outbox item | |
1721 35e3 binary record contains a reference to "Deleted Items" item | |
1722 35e4 binary record contains a reference to sent items folder item | |
1723 35e5 binary record contains a reference to user views folder item | |
1724 35e6 binary record contains a reference to common views folder item | |
1725 35e7 binary record contains a reference to "Search Root" item | |
24 | 1726 3602 the number of emails stored in a folder |
1727 3603 the number of unread emails in a folder | |
1728 360a Has Subfolders | |
1729 3613 the folder content description | |
1730 3617 Associate Content count | |
1731 3701 Binary Data attachment | |
1732 3704 Attachment Filename | |
1733 3705 Attachement method | |
1734 3707 Attachment Filename long | |
1735 370b Attachment Position | |
1736 370e Attachment mime encoding | |
51 | 1737 3710 Attachment mime Sequence |
24 | 1738 3a00 Contact's Account name |
1739 3a01 Contact Alternate Recipient | |
1740 3a02 Callback telephone number | |
1741 3a03 Message Conversion Prohibited | |
1742 3a05 Contacts Suffix | |
1743 3a06 Contacts First Name | |
1744 3a07 Contacts Government ID Number | |
1745 3a08 Business Telephone Number | |
1746 3a09 Home Telephone Number | |
1747 3a0a Contacts Initials | |
1748 3a0b Keyword | |
1749 3a0c Contact's Language | |
1750 3a0d Contact's Location | |
1751 3a0e Mail Permission | |
1752 3a0f MHS Common Name | |
1753 3a10 Organizational ID # | |
1754 3a11 Contacts Surname | |
1755 3a12 original entry id | |
1756 3a13 original display name | |
1757 3a14 original search key | |
1758 3a15 Default Postal Address | |
1759 3a16 Company Name | |
1760 3a17 Job Title | |
1761 3a18 Department Name | |
1762 3a19 Office Location | |
1763 3a1a Primary Telephone | |
1764 3a1b Business Phone Number 2 | |
1765 3a1c Mobile Phone Number | |
1766 3a1d Radio Phone Number | |
1767 3a1e Car Phone Number | |
1768 3a1f Other Phone Number | |
1769 3a20 Transmittable Display Name | |
1770 3a21 Pager Phone Number | |
1771 3a22 user certificate | |
1772 3a23 Primary Fax Number | |
1773 3a24 Business Fax Number | |
1774 3a25 Home Fax Number | |
1775 3a26 Business Address Country | |
1776 3a27 Business Address City | |
1777 3a28 Business Address State | |
1778 3a29 Business Address Street | |
1779 3a2a Business Postal Code | |
1780 3a2b Business PO Box | |
1781 3a2c Telex Number | |
1782 3a2d ISDN Number | |
1783 3a2e Assistant Phone Number | |
1784 3a2f Home Phone 2 | |
1785 3a30 Assistant's Name | |
1786 3a40 Can receive Rich Text | |
1787 3a41 Wedding Anniversary | |
1788 3a42 Birthday | |
1789 3a43 Hobbies | |
1790 3a44 Middle Name | |
1791 3a45 Display Name Prefix (Title) | |
1792 3a46 Profession | |
1793 3a47 Preferred By Name | |
1794 3a48 Spouse's Name | |
1795 3a49 Computer Network Name | |
1796 3a4a Customer ID | |
1797 3a4b TTY/TDD Phone | |
1798 3a4c Ftp Site | |
1799 3a4d Gender | |
1800 3a4e Manager's Name | |
1801 3a4f Nickname | |
1802 3a50 Personal Home Page | |
1803 3a51 Business Home Page | |
1804 3a57 Company Main Phone | |
1805 3a58 childrens names | |
1806 3a59 Home Address City | |
1807 3a5a Home Address Country | |
1808 3a5b Home Address Postal Code | |
1809 3a5c Home Address State or Province | |
1810 3a5d Home Address Street | |
1811 3a5e Home Address Post Office Box | |
1812 3a5f Other Address City | |
1813 3a60 Other Address Country | |
1814 3a61 Other Address Postal Code | |
1815 3a62 Other Address State | |
1816 3a63 Other Address Street | |
1817 3a64 Other Address Post Office box | |
1818 65e3 Entry ID | |
1819 67f2 Attachment ID2 value | |
36 | 1820 67ff Password checksum |
24 | 1821 6f02 Secure HTML Body |
1822 6f04 Secure Text Body | |
36 | 1823 7c07 Top of folders RecID |
24 | 1824 8005 Contact Fullname |
1825 801a Home Address | |
1826 801b Business Address | |
1827 801c Other Address | |
51 | 1828 8045 Work Address Street |
1829 8046 Work Address City | |
1830 8047 Work Address State | |
1831 8048 Work Address Postal Code | |
1832 8049 Work Address Country | |
1833 804a Work Address Post Office Box | |
24 | 1834 8082 Email Address 1 Transport |
1835 8083 Email Address 1 Address | |
1836 8084 Email Address 1 Description | |
1837 8085 Email Address 1 Record | |
1838 8092 Email Address 2 Transport | |
1839 8093 Email Address 2 Address | |
36 | 1840 8094 Email Address 2 Description |
24 | 1841 8095 Email Address 2 Record |
36 | 1842 80a2 Email Address 3 Transport |
24 | 1843 80a3 Email Address 3 Address |
1844 80a4 Email Address 3 Description | |
1845 80a5 Email Address 3 Record | |
1846 80d8 Internet Free/Busy | |
1847 8205 Appointment shows as | |
1848 8208 Appointment Location | |
51 | 1849 820d Appointment start |
1850 820e Appointment end | |
24 | 1851 8214 Label for appointment |
32 | 1852 8215 All day appointment flag |
51 | 1853 8231 Recurrence type |
1854 8232 Recurrence description | |
24 | 1855 8234 TimeZone of times |
51 | 1856 8235 Recurrence Start Time |
1857 8236 Recurrence End Time | |
1858 8501 Reminder minutes before appointment start | |
1859 8503 Reminder alarm | |
1860 8516 Common Time Start | |
1861 8517 Common Time End | |
1862 851f Play reminder sound filename | |
24 | 1863 8530 Followup String |
1864 8534 Mileage | |
1865 8535 Billing Information | |
1866 8554 Outlook Version | |
1867 8560 Appointment Reminder Time | |
1868 8700 Journal Entry Type | |
1869 8706 Start Timestamp | |
1870 8708 End Timestamp | |
51 | 1871 8712 Journal Entry Type - duplicate? |
24 | 1872 ]]></literallayout> |
1873 </refsect1> | |
1874 | |
28 | 1875 <refsect1 id='pst.file.desc2.5'> |
1876 <title>Associated Descriptor Item 0x7cec</title> | |
1877 <para> | |
35 | 1878 This style of descriptor block is similar to the 0xbcec format. |
28 | 1879 </para> |
1880 <literallayout class="monospaced"><![CDATA[ | |
1881 0000 7a 01 ec 7c 40 00 00 00 00 00 00 00 b5 04 02 00 | |
1882 0010 60 00 00 00 7c 18 60 00 60 00 62 00 65 00 20 00 | |
1883 0020 00 00 80 00 00 00 00 00 00 00 03 00 20 0e 0c 00 | |
1884 0030 04 03 1e 00 01 30 2c 00 04 0b 1e 00 03 37 28 00 | |
1885 0040 04 0a 1e 00 04 37 14 00 04 05 03 00 05 37 10 00 | |
1886 0050 04 04 1e 00 07 37 24 00 04 09 1e 00 08 37 20 00 | |
1887 0060 04 08 02 01 0a 37 18 00 04 06 03 00 0b 37 08 00 | |
1888 0070 04 02 1e 00 0d 37 1c 00 04 07 1e 00 0e 37 40 00 | |
1889 0080 04 10 02 01 0f 37 30 00 04 0c 1e 00 11 37 34 00 | |
1890 0090 04 0d 1e 00 12 37 3c 00 04 0f 1e 00 13 37 38 00 | |
1891 00A0 04 0e 03 00 f2 67 00 00 04 00 03 00 f3 67 04 00 | |
1892 00B0 04 01 03 00 09 69 44 00 04 11 03 00 fa 7f 5c 00 | |
1893 00C0 04 15 40 00 fb 7f 4c 00 08 13 40 00 fc 7f 54 00 | |
1894 00D0 08 14 03 00 fd 7f 48 00 04 12 0b 00 fe 7f 60 00 | |
1895 00E0 01 16 0b 00 ff 7f 61 00 01 17 45 82 00 00 00 00 | |
1896 00F0 45 82 00 00 78 3c 00 00 ff ff ff ff 49 1e 00 00 | |
1897 0100 06 00 00 00 00 00 00 00 a0 00 00 00 00 00 00 00 | |
1898 0110 00 00 00 00 00 00 00 00 00 00 00 00 c0 00 00 00 | |
1899 0120 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | |
1900 0130 00 00 00 00 00 00 00 00 00 00 00 00 00 40 dd a3 | |
1901 0140 57 45 b3 0c 00 40 dd a3 57 45 b3 0c 02 00 00 00 | |
1902 0150 00 00 fa 10 3e 2a 86 48 86 f7 14 03 0a 03 02 01 | |
1903 0160 4a 2e 20 44 61 76 69 64 20 4b 61 72 61 6d 27 73 | |
1904 0170 20 42 69 72 74 68 64 61 79 00 06 00 00 00 0c 00 | |
1905 0180 14 00 ea 00 f0 00 55 01 60 01 79 01 | |
1906 | |
1907 0000 indexOffset [2 bytes] 0x017a in this case | |
1908 0002 signature [2 bytes] 0x7cec constant | |
35 | 1909 0004 7coffset [4 bytes] 0x0040 index reference |
28 | 1910 ]]></literallayout> |
1911 <para> | |
1912 Note the signature of 0x7cec. There are other descriptor block | |
1913 formats with other signatures. | |
1914 Note the indexOffset of 0x017a - starting at that position in the | |
1915 descriptor block, we have an array of two byte integers. The first | |
1916 integer (0x0006) is a (count-1) of the number of overlapping pairs | |
1917 following the count. The first pair is (0, 0xc), the next pair is (0xc, 0x14) | |
1918 and the last (7th) pair is (0x160, 0x179). These pairs are (start,end+1) | |
1919 offsets of items in this block. So we have count+2 integers following | |
1920 the count value. | |
1921 </para> | |
1922 <para> | |
35 | 1923 Note the 7coffset of 0x0040, which is an index reference. In this case, |
1924 it is an internal reference pointer, which needs to be right shifted by 4 bits | |
28 | 1925 to become 0x0004, which is then a byte offset to be added to the above |
1926 indexOffset plus two (to skip the count), so it points to the (0x14, 0xea) | |
1927 pair. We have the offset and size of the "7c" block located at offset 0x14 | |
1928 with a size of 214 bytes in this case. The "7c" block starts with | |
1929 a header with the following format: | |
1930 </para> | |
1931 <literallayout class="monospaced"><![CDATA[ | |
1932 0000 signature [1 bytes] 0x7c constant | |
1933 0001 itemCount [1 bytes] 0x18 in this case | |
1934 0002 unknown [2 bytes] 0x0060 in this case | |
1935 0004 unknown [2 bytes] 0x0060 in this case | |
1936 0006 unknown [2 bytes] 0x0062 in this case | |
1937 0008 recordSize [2 bytes] 0x0065 in this case | |
35 | 1938 000a b5Offset [4 bytes] 0x0020 index reference |
1939 000e index2Offset [4 bytes] 0x0080 index reference | |
28 | 1940 0012 unknown [2 bytes] 0x0000 in this case |
1941 0014 unknown [2 bytes] 0x0000 in this case | |
1942 ]]></literallayout> | |
1943 <para> | |
35 | 1944 Note the b5Offset of 0x0020, which is an index reference. In this case, |
1945 it is an internal reference pointer, which needs to be right shifted by 4 bits | |
28 | 1946 to become 0x0002, which is then a byte offset to be added to the above |
1947 indexOffset plus two (to skip the count), so it points to the (0xc, | |
1948 0x14) pair. Finally, we have the offset and size of the "b5" block | |
1949 located at offset 0xc with a size of 8 bytes in this descriptor block. | |
1950 The "b5" block has the following format: | |
1951 </para> | |
1952 <literallayout class="monospaced"><![CDATA[ | |
1953 0000 signature [2 bytes] 0x04b5 constant | |
75
987aa872294e
Use ftello/fseeko to properly handle large files.
Carl Byington <carl@five-ten-sg.com>
parents:
71
diff
changeset
|
1954 0002 datasize [2 bytes] 0x0002 +4 for 6 byte entries in this case |
35 | 1955 0004 descoffset [4 bytes] 0x0060 index reference |
28 | 1956 ]]></literallayout> |
1957 <para> | |
35 | 1958 Note the descoffset of 0x0060, which again is an index reference. In this |
1959 case, it is an internal pointer reference, which needs to be right shifted by 4 | |
28 | 1960 bits to become 0x0006, which is then a byte offset to be added to the |
1961 above indexOffset plus two (to skip the count), so it points to the | |
75
987aa872294e
Use ftello/fseeko to properly handle large files.
Carl Byington <carl@five-ten-sg.com>
parents:
71
diff
changeset
|
1962 (0xea, 0xf0) pair. The datasize (2) plus the b5 code (04) gives the size |
987aa872294e
Use ftello/fseeko to properly handle large files.
Carl Byington <carl@five-ten-sg.com>
parents:
71
diff
changeset
|
1963 of the entries, in this case 6 bytes. We now have the offset 0xea of an |
987aa872294e
Use ftello/fseeko to properly handle large files.
Carl Byington <carl@five-ten-sg.com>
parents:
71
diff
changeset
|
1964 unused block of data in an unknown format, composed of 6 byte entries. |
987aa872294e
Use ftello/fseeko to properly handle large files.
Carl Byington <carl@five-ten-sg.com>
parents:
71
diff
changeset
|
1965 That gives us (0xf0 - 0xea)/6 = 1, so we have a recordCount of one. |
28 | 1966 </para> |
1967 <para> | |
60
97b7706bdda2
Work around bogus 7c.b5 blocks in some messages that have been read.
Carl Byington <carl@five-ten-sg.com>
parents:
58
diff
changeset
|
1968 We have seen cases where the descoffset in the b5 block is zero, and |
97b7706bdda2
Work around bogus 7c.b5 blocks in some messages that have been read.
Carl Byington <carl@five-ten-sg.com>
parents:
58
diff
changeset
|
1969 the index2Offset in the 7c block is zero. This has been seen for |
97b7706bdda2
Work around bogus 7c.b5 blocks in some messages that have been read.
Carl Byington <carl@five-ten-sg.com>
parents:
58
diff
changeset
|
1970 objects that seem to be attachments on messages that have been |
97b7706bdda2
Work around bogus 7c.b5 blocks in some messages that have been read.
Carl Byington <carl@five-ten-sg.com>
parents:
58
diff
changeset
|
1971 read. Before the message was read, it did not have any attachments. |
97b7706bdda2
Work around bogus 7c.b5 blocks in some messages that have been read.
Carl Byington <carl@five-ten-sg.com>
parents:
58
diff
changeset
|
1972 </para> |
97b7706bdda2
Work around bogus 7c.b5 blocks in some messages that have been read.
Carl Byington <carl@five-ten-sg.com>
parents:
58
diff
changeset
|
1973 <para> |
35 | 1974 Note the index2Offset above of 0x0080, which again is an index reference. In this |
1975 case, it is an internal pointer reference, which needs to be right shifted | |
28 | 1976 by 4 bits to become 0x0008, which is then a byte offset to be added to |
1977 the above indexOffset plus two (to skip the count), so it points to the | |
1978 (0xf0, 0x155) pair. This is an array of tables of four byte integers. | |
1979 We will call these the IND2 tables. The size of each of these tables is | |
1980 specified by the recordSize field of the "7c" header. The number of | |
1981 these tables is the above recordCount value derived from the "b5" block. | |
1982 </para> | |
1983 <para> | |
1984 Now the remaining data in the "7c" block after the header starts at | |
1985 offset 0x2a. There should be itemCount 8 byte items here, with the | |
1986 following format: | |
1987 </para> | |
1988 <literallayout class="monospaced"><![CDATA[ | |
1989 0000 referenceType [2 bytes] | |
1990 0002 itemType [2 bytes] | |
1991 0004 ind2Offset [2 bytes] | |
35 | 1992 0006 size [1 byte] |
1993 0007 unknown [1 byte] | |
28 | 1994 ]]></literallayout> |
1995 <para> | |
35 | 1996 The ind2Offset is a byte offset into the current IND2 table of some value. |
1997 If that is a four byte integer value, then once we fetch that, we have | |
1998 the same triple (item type, reference type, value) as we find in the | |
1999 0xbcec style descriptor blocks. If not, then this value is used directly. | |
2000 These 8 byte descriptors are processed recordCount times, each | |
28 | 2001 time using the next IND2 table. The item and reference types are as |
2002 described above for the 0xbcec format descriptor block. | |
2003 </para> | |
2004 </refsect1> | |
2005 | |
48 | 2006 <refsect1 id='pst.file.desc3.32.5'> |
2007 <title>32 bit Associated Descriptor Item 0x0101</title> | |
35 | 2008 <para> |
49 | 2009 This descriptor block contains a list of ID1 values. It is used when |
2010 an ID1 (that would normally point to a type 0x7cec or 0xbcec | |
2011 descriptor block) contains more data than can fit in any single | |
2012 descriptor of those types. In this case, it points to a type 0x0101 | |
2013 block, which contains a list of ID1 values that themselves point to | |
2014 the actual descriptor blocks. The total length value in the 0x0101 | |
2015 header is the sum of the lengths of the blocks pointed to by the list | |
2016 of ID1 values. The result is an array of subblocks, that may contain | |
2017 index references where the high order 16 bits specify which descriptor | |
2018 subblock to use. Only the first descriptor subblock contains the | |
2019 signature (0xbcec or 0x7cec). | |
35 | 2020 </para> |
2021 <literallayout class="monospaced"><![CDATA[ | |
2022 0000 01 01 02 00 26 28 00 00 18 77 0c 00 b8 04 00 00 | |
2023 | |
2024 0000 signature [2 bytes] 0x0101 constant | |
2025 0002 count [2 bytes] 0x0002 in this case | |
49 | 2026 0004 total length [4 bytes] 0x002826 in this case |
35 | 2027 repeating |
49 | 2028 0008 id1 [4 bytes] 0x0c7718 in this case |
2029 000c id1 [4 bytes] 0x0004b8 in this case | |
35 | 2030 ]]></literallayout> |
2031 </refsect1> | |
2032 | |
48 | 2033 <refsect1 id='pst.file.desc3.64.5'> |
2034 <title>64 bit Associated Descriptor Item 0x0101</title> | |
2035 <para> | |
2036 This descriptor block contains a list of ID1 values. | |
2037 </para> | |
2038 <literallayout class="monospaced"><![CDATA[ | |
2039 0000 01 01 02 00 ea 29 00 00 10 83 00 00 00 00 00 00 | |
2040 0010 1c 83 00 00 00 00 00 00 | |
2041 | |
2042 0000 signature [2 bytes] 0x0101 constant | |
2043 0002 count [2 bytes] 0x0002 in this case | |
49 | 2044 0004 total length [4 bytes] 0x0029ea in this case |
48 | 2045 repeating |
49 | 2046 0008 id1 [8 bytes] 0x008310 in this case |
2047 0010 id1 [8 bytes] 0x00831c in this case | |
48 | 2048 ]]></literallayout> |
2049 </refsect1> | |
2050 | |
24 | 2051 </refentry> |
16 | 2052 </reference> |