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