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