home *** CD-ROM | disk | FTP | other *** search
/ Apple Developer Connection 1998 Fall: Game Toolkit / Disc.iso / MPW / Documentation / MPW Reference / File Formats / Understanding ProjectorDBs < prev   
MacBinary  |  1995-11-08  |  98.9 KB  |  [ONLN/HLX2]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MacBinary (archive/macBinary).

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert MacBinary (archive/macBinary) fallback Supported
100% file MacBinary II, inited, Thu Nov 2 07:00:00 1995, modified Wed Nov 8 07:00:00 1995, creator 'HLX2', type 'ONLN', 97327 bytes "Understanding ProjectorDBs" , at 0x17caf 3606 bytes resource default (weak)
99% file data default
100% TrID MacBinary 2 default (weak)
100% lsar MacBinary default


id metadata
keyvalue
macFileType[ONLN]
macFileCreator[HLX2]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 1a 55 6e 64 65 72 73 | 74 61 6e 64 69 6e 67 20 |..Unders|tanding |
|00000010| 50 72 6f 6a 65 63 74 6f | 72 44 42 73 00 00 00 00 |Projecto|rDBs....|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 4f 4e 4c 4e 48 4c 58 | 32 01 00 00 00 00 00 00 |.ONLNHLX|2.......|
|00000050| 00 00 00 00 01 7c 2f 00 | 00 0e 16 ac be 63 40 ac |.....|/.|.....c@.|
|00000060| c6 4c 40 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.L@.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 f0 01 00 00 |........|........|
|00000080| 55 6e 64 65 72 73 74 61 | 6e 64 69 6e 67 20 50 72 |Understa|nding Pr|
|00000090| 6f 6a 65 63 74 6f 72 20 | 44 61 74 61 62 61 73 65 |ojector |Database|
|000000a0| 73 0d 4d 61 72 63 68 2c | 20 31 39 39 32 0d a9 31 |s.March,| 1992..1|
|000000b0| 39 39 32 2c 31 39 39 35 | 20 41 70 70 6c 65 20 43 |992,1995| Apple C|
|000000c0| 6f 6d 70 75 74 65 72 2c | 20 49 6e 63 2e 0d 41 6c |omputer,| Inc..Al|
|000000d0| 6c 20 52 69 67 68 74 73 | 20 52 65 73 65 72 76 65 |l Rights| Reserve|
|000000e0| 64 0d 0d 0d 50 75 72 70 | 6f 73 65 20 6f 66 20 74 |d...Purp|ose of t|
|000000f0| 68 69 73 20 64 6f 63 75 | 6d 65 6e 74 09 31 0d 54 |his docu|ment.1.T|
|00000100| 68 65 20 73 74 72 75 63 | 74 75 72 65 20 6f 66 20 |he struc|ture of |
|00000110| 50 72 6f 6a 65 63 74 6f | 72 20 64 61 74 61 62 61 |Projecto|r databa|
|00000120| 73 65 73 09 31 0d 50 61 | 67 65 2d 6c 65 76 65 6c |ses.1.Pa|ge-level|
|00000130| 20 64 61 74 61 09 32 0d | 50 61 67 65 20 5a 65 72 | data.2.|Page Zer|
|00000140| 6f 09 32 0d 50 61 67 65 | 20 31 20 28 42 69 74 6d |o.2.Page| 1 (Bitm|
|00000150| 61 70 29 09 33 0d 50 61 | 67 65 20 32 20 26 20 42 |ap).3.Pa|ge 2 & B|
|00000160| 65 79 6f 6e 64 09 34 0d | 54 68 65 20 68 69 65 72 |eyond.4.|The hier|
|00000170| 61 72 63 68 79 20 6f 66 | 20 72 65 63 6f 72 64 20 |archy of| record |
|00000180| 74 79 70 65 73 09 35 0d | 54 68 65 20 73 74 72 75 |types.5.|The stru|
|00000190| 63 74 75 72 65 20 6f 66 | 20 6e 61 6d 65 20 74 61 |cture of| name ta|
|000001a0| 62 6c 65 73 09 36 0d 52 | 65 63 6f 76 65 72 79 09 |bles.6.R|ecovery.|
|000001b0| 37 0d 54 6f 6f 6c 73 20 | 75 73 65 66 75 6c 20 69 |7.Tools |useful i|
|000001c0| 6e 20 64 69 61 67 6e 6f | 73 69 6e 67 20 70 72 6f |n diagno|sing pro|
|000001d0| 62 6c 65 6d 73 09 38 0d | 44 75 6d 70 44 42 09 38 |blems.8.|DumpDB.8|
|000001e0| 0d 44 75 6d 70 50 72 6f | 6a 65 63 74 09 31 31 0d |.DumpPro|ject.11.|
|000001f0| 50 72 6f 6a 56 65 72 69 | 66 79 09 31 32 0d 44 75 |ProjVeri|fy.12.Du|
|00000200| 6d 70 46 69 6c 65 09 31 | 33 0d 50 72 6f 6a 65 63 |mpFile.1|3.Projec|
|00000210| 74 49 6e 66 6f 09 31 33 | 0d 43 61 75 73 65 73 20 |tInfo.13|.Causes |
|00000220| 6f 66 20 63 6f 72 72 75 | 70 74 69 6f 6e 09 31 34 |of corru|ption.14|
|00000230| 0d 48 65 61 64 65 72 20 | 66 69 6c 65 73 09 31 35 |.Header |files.15|
|00000240| 0d 72 65 63 6d 67 72 2e | 68 09 31 35 0d 72 65 63 |.recmgr.|h.15.rec|
|00000250| 4d 67 72 50 72 69 76 2e | 68 09 31 37 0d 6e 61 6d |MgrPriv.|h.17.nam|
|00000260| 65 74 61 62 6c 65 2e 68 | 09 31 38 0d 0d 55 6e 64 |etable.h|.18..Und|
|00000270| 65 72 73 74 61 6e 64 69 | 6e 67 20 50 72 6f 6a 65 |erstandi|ng Proje|
|00000280| 63 74 6f 72 20 44 61 74 | 61 62 61 73 65 73 0d 50 |ctor Dat|abases.P|
|00000290| 75 72 70 6f 73 65 20 6f | 66 20 74 68 69 73 20 64 |urpose o|f this d|
|000002a0| 6f 63 75 6d 65 6e 74 0d | 54 68 69 73 20 64 6f 63 |ocument.|This doc|
|000002b0| 75 6d 65 6e 74 20 64 65 | 73 63 72 69 62 65 73 20 |ument de|scribes |
|000002c0| 74 68 65 20 73 74 72 75 | 63 74 75 72 65 20 6f 66 |the stru|cture of|
|000002d0| 20 74 68 65 20 69 6e 66 | 6f 72 6d 61 74 69 6f 6e | the inf|ormation|
|000002e0| 20 69 6e 20 50 72 6f 6a | 65 63 74 6f 72 20 64 61 | in Proj|ector da|
|000002f0| 74 61 62 61 73 65 73 2e | 20 20 54 68 65 20 67 6f |tabases.| The go|
|00000300| 61 6c 20 69 73 20 74 6f | 20 70 72 6f 76 69 64 65 |al is to| provide|
|00000310| 20 65 6e 6f 75 67 68 20 | 69 6e 66 6f 72 6d 61 74 | enough |informat|
|00000320| 69 6f 6e 20 74 6f 20 68 | 65 6c 70 20 73 6f 6d 65 |ion to h|elp some|
|00000330| 6f 6e 65 20 74 6f 20 72 | 65 70 61 69 72 20 62 72 |one to r|epair br|
|00000340| 6f 6b 65 6e 20 50 72 6f | 6a 65 63 74 6f 72 20 64 |oken Pro|jector d|
|00000350| 61 74 61 62 61 73 65 73 | 2e 20 20 0d 50 6f 73 73 |atabases|. .Poss|
|00000360| 69 62 6c 65 20 63 61 75 | 73 65 73 20 6f 66 20 63 |ible cau|ses of c|
|00000370| 6f 72 72 75 70 74 69 6f | 6e 20 61 72 65 20 64 69 |orruptio|n are di|
|00000380| 73 63 75 73 73 65 64 2e | 20 20 0d 54 68 65 72 65 |scussed.| .There|
|00000390| 20 61 72 65 20 73 65 76 | 65 72 61 6c 20 74 6f 6f | are sev|eral too|
|000003a0| 6c 73 20 77 68 69 63 68 | 20 63 61 6e 20 62 65 20 |ls which| can be |
|000003b0| 68 65 6c 70 66 75 6c 20 | 69 6e 20 64 69 61 67 6e |helpful |in diagn|
|000003c0| 6f 73 69 6e 67 20 70 72 | 6f 62 6c 65 6d 73 2e 20 |osing pr|oblems. |
|000003d0| 20 41 20 73 65 63 74 69 | 6f 6e 20 6f 66 20 74 68 | A secti|on of th|
|000003e0| 69 73 20 64 6f 63 75 6d | 65 6e 74 20 64 65 73 63 |is docum|ent desc|
|000003f0| 72 69 62 65 73 20 74 68 | 65 73 65 2c 20 77 68 65 |ribes th|ese, whe|
|00000400| 72 65 20 74 68 65 79 20 | 63 61 6e 20 62 65 20 66 |re they |can be f|
|00000410| 6f 75 6e 64 2c 20 61 6e | 64 20 68 6f 77 20 74 68 |ound, an|d how th|
|00000420| 65 79 20 63 61 6e 20 62 | 65 20 75 73 65 64 20 74 |ey can b|e used t|
|00000430| 6f 20 72 65 70 61 69 72 | 20 50 72 6f 6a 65 63 74 |o repair| Project|
|00000440| 6f 72 20 64 61 74 61 62 | 61 73 65 73 2e 0d 54 68 |or datab|ases..Th|
|00000450| 65 20 73 74 72 75 63 74 | 75 72 65 20 6f 66 20 50 |e struct|ure of P|
|00000460| 72 6f 6a 65 63 74 6f 72 | 20 64 61 74 61 62 61 73 |rojector| databas|
|00000470| 65 73 0d 41 20 50 72 6f | 6a 65 63 74 6f 72 20 64 |es.A Pro|jector d|
|00000480| 61 74 61 62 61 73 65 20 | 63 6f 6e 73 69 73 74 73 |atabase |consists|
|00000490| 20 6f 66 20 61 20 73 69 | 6e 67 6c 65 20 66 69 6c | of a si|ngle fil|
|000004a0| 65 20 63 61 6c 6c 65 64 | 20 50 72 6f 6a 65 63 74 |e called| Project|
|000004b0| 6f 72 44 42 20 6f 66 20 | 74 79 70 65 20 27 4d 50 |orDB of |type 'MP|
|000004c0| 53 50 27 20 61 6e 64 20 | 63 72 65 61 74 6f 72 20 |SP' and |creator |
|000004d0| 27 4d 50 53 20 27 2e 20 | 20 54 68 69 73 20 73 65 |'MPS '. | This se|
|000004e0| 63 74 69 6f 6e 20 64 65 | 73 63 72 69 62 65 73 20 |ction de|scribes |
|000004f0| 68 6f 77 20 73 6f 6d 65 | 20 6f 66 20 74 68 65 20 |how some| of the |
|00000500| 69 6e 66 6f 72 6d 61 74 | 69 6f 6e 20 69 6e 20 74 |informat|ion in t|
|00000510| 68 65 20 64 61 74 61 62 | 61 73 65 20 69 73 20 73 |he datab|ase is s|
|00000520| 74 72 75 63 74 75 72 65 | 64 20 61 6e 64 20 77 68 |tructure|d and wh|
|00000530| 61 74 20 69 74 20 6d 65 | 61 6e 73 2e 20 20 0d 54 |at it me|ans. .T|
|00000540| 68 65 20 66 69 6c 65 73 | 20 72 65 63 4d 67 72 2e |he files| recMgr.|
|00000550| 68 2c 20 72 65 63 4d 67 | 72 50 72 69 76 2e 68 2c |h, recMg|rPriv.h,|
|00000560| 20 61 6e 64 20 6e 61 6d | 65 54 61 62 6c 65 2e 68 | and nam|eTable.h|
|00000570| 20 66 72 6f 6d 20 74 68 | 65 20 50 72 6f 6a 65 63 | from th|e Projec|
|00000580| 74 6f 72 20 73 6f 75 72 | 63 65 73 20 61 72 65 20 |tor sour|ces are |
|00000590| 69 6d 70 6f 72 74 61 6e | 74 20 72 65 66 65 72 65 |importan|t refere|
|000005a0| 6e 63 65 73 2e 20 20 54 | 68 65 20 6e 65 63 65 73 |nces. T|he neces|
|000005b0| 73 61 72 79 20 69 6e 66 | 6f 72 6d 61 74 69 6f 6e |sary inf|ormation|
|000005c0| 20 66 72 6f 6d 20 74 68 | 65 6d 20 69 73 20 61 74 | from th|em is at|
|000005d0| 20 74 68 65 20 65 6e 64 | 20 6f 66 20 74 68 69 73 | the end| of this|
|000005e0| 20 64 6f 63 75 6d 65 6e | 74 2e 0d 49 6e 74 65 72 | documen|t..Inter|
|000005f0| 6e 61 6c 6c 79 2c 20 50 | 72 6f 6a 65 63 74 6f 72 |nally, P|rojector|
|00000600| 20 64 69 76 69 64 65 73 | 20 70 72 6f 6a 65 63 74 | divides| project|
|00000610| 73 20 69 6e 74 6f 20 70 | 61 67 65 73 20 6f 66 20 |s into p|ages of |
|00000620| 73 69 7a 65 20 32 4b 2e | 20 20 54 68 65 72 65 20 |size 2K.| There |
|00000630| 61 72 65 20 74 77 6f 20 | 73 70 65 63 69 61 6c 20 |are two |special |
|00000640| 70 61 67 65 73 2c 20 74 | 68 65 20 7a 65 72 6f 20 |pages, t|he zero |
|00000650| 70 61 67 65 20 28 24 30 | 2d 20 24 37 46 46 29 20 |page ($0|- $7FF) |
|00000660| 20 61 6e 64 20 62 69 74 | 6d 61 70 20 70 61 67 65 | and bit|map page|
|00000670| 20 28 24 38 30 30 2d 24 | 46 46 46 29 2e 20 20 54 | ($800-$|FFF). T|
|00000680| 68 65 20 72 65 6d 61 69 | 6e 69 6e 67 20 70 61 67 |he remai|ning pag|
|00000690| 65 73 20 61 72 65 20 75 | 73 65 64 20 74 6f 20 73 |es are u|sed to s|
|000006a0| 74 6f 72 65 20 74 68 65 | 20 22 72 65 63 6f 72 64 |tore the| "record|
|000006b0| 73 22 20 69 6e 20 77 68 | 69 63 68 20 50 72 6f 6a |s" in wh|ich Proj|
|000006c0| 65 63 74 6f 72 27 73 20 | 64 61 74 61 20 61 72 65 |ector's |data are|
|000006d0| 20 6b 65 70 74 2e 20 20 | 20 54 68 65 72 65 20 61 | kept. | There a|
|000006e0| 72 65 20 31 32 20 74 79 | 70 65 73 20 6f 66 20 72 |re 12 ty|pes of r|
|000006f0| 65 63 6f 72 64 73 3b 20 | 65 61 63 68 20 70 61 67 |ecords; |each pag|
|00000700| 65 20 63 6f 6e 74 61 69 | 6e 73 20 6f 6e 65 20 6f |e contai|ns one o|
|00000710| 72 20 6d 6f 72 65 20 72 | 65 63 6f 72 64 73 20 6f |r more r|ecords o|
|00000720| 66 20 61 20 67 69 76 65 | 6e 20 74 79 70 65 2e 0d |f a give|n type..|
|00000730| 45 61 63 68 20 70 61 67 | 65 20 63 6f 6e 74 61 69 |Each pag|e contai|
|00000740| 6e 73 20 68 65 61 64 65 | 72 20 69 6e 66 6f 72 6d |ns heade|r inform|
|00000750| 61 74 69 6f 6e 2e 20 20 | 53 65 65 20 22 72 65 63 |ation. |See "rec|
|00000760| 4d 67 72 50 72 69 76 2e | 68 22 20 66 6f 72 20 61 |MgrPriv.|h" for a|
|00000770| 20 64 65 73 63 72 69 70 | 74 69 6f 6e 20 6f 66 20 | descrip|tion of |
|00000780| 74 68 65 20 68 65 61 64 | 65 72 73 20 66 6f 72 20 |the head|ers for |
|00000790| 65 61 63 68 20 70 61 67 | 65 2e 20 54 68 65 20 74 |each pag|e. The t|
|000007a0| 6f 6f 6c 20 44 75 6d 70 | 44 42 20 28 64 65 73 63 |ool Dump|DB (desc|
|000007b0| 72 69 62 65 64 20 62 65 | 6c 6f 77 20 69 6e 20 74 |ribed be|low in t|
|000007c0| 68 65 20 73 65 63 74 69 | 6f 6e 20 6f 6e 20 22 54 |he secti|on on "T|
|000007d0| 6f 6f 6c 73 22 29 20 69 | 73 20 75 73 65 66 75 6c |ools") i|s useful|
|000007e0| 20 66 6f 72 20 6c 6f 6f | 6b 69 6e 67 20 61 74 20 | for loo|king at |
|000007f0| 70 61 67 65 2d 6c 65 76 | 65 6c 20 69 6e 66 6f 72 |page-lev|el infor|
|00000800| 6d 61 74 69 6f 6e 2e 20 | 20 0d 50 61 67 65 2d 6c |mation. | .Page-l|
|00000810| 65 76 65 6c 20 64 61 74 | 61 0d 54 68 65 20 66 6f |evel dat|a.The fo|
|00000820| 6c 6c 6f 77 69 6e 67 20 | 69 73 20 73 61 6d 70 6c |llowing |is sampl|
|00000830| 65 20 6f 75 74 70 75 74 | 20 66 72 6f 6d 20 64 75 |e output| from du|
|00000840| 6d 70 44 42 2c 20 66 6f | 6c 6c 6f 77 65 64 20 62 |mpDB, fo|llowed b|
|00000850| 79 20 64 65 73 63 72 69 | 70 74 69 6f 6e 73 20 6f |y descri|ptions o|
|00000860| 66 20 74 68 65 20 66 69 | 65 6c 64 73 2e 0d 50 61 |f the fi|elds..Pa|
|00000870| 67 65 20 5a 65 72 6f 0d | 20 50 41 47 45 20 23 30 |ge Zero.| PAGE #0|
|00000880| 09 09 09 09 48 45 41 44 | 45 52 09 09 45 4f 46 3a |....HEAD|ER..EOF:|
|00000890| 20 30 30 41 30 30 30 09 | 09 50 41 47 45 53 49 5a | 00A000.|.PAGESIZ|
|000008a0| 45 3a 20 30 38 30 30 0d | 09 43 68 65 63 6b 53 75 |E: 0800.|.CheckSu|
|000008b0| 6d 3a 09 09 34 32 37 45 | 30 38 36 41 0d 09 50 61 |m:..427E|086A..Pa|
|000008c0| 67 65 44 69 73 6b 41 64 | 72 3a 09 30 30 30 30 30 |geDiskAd|r:.00000|
|000008d0| 30 0d 09 53 74 61 6d 70 | 3a 09 09 09 52 45 50 50 |0..Stamp|:...REPP|
|000008e0| 0d 09 56 65 72 73 69 6f | 6e 3a 09 09 09 30 30 30 |..Versio|n:...000|
|000008f0| 32 0d 09 4d 6f 64 43 6f | 75 6e 74 3a 09 09 30 30 |2..ModCo|unt:..00|
|00000900| 30 30 32 41 0d 09 50 61 | 67 65 53 69 7a 65 3a 09 |002A..Pa|geSize:.|
|00000910| 09 30 38 30 30 0d 09 46 | 69 72 73 74 52 65 63 6f |.0800..F|irstReco|
|00000920| 72 64 3a 09 30 30 31 30 | 31 41 0d 09 65 6f 66 3a |rd:.0010|1A..eof:|
|00000930| 09 09 09 09 30 30 41 30 | 30 30 0d 09 46 72 65 65 |....00A0|00..Free|
|00000940| 50 61 67 65 73 3a 09 09 | 30 30 30 30 30 30 0d 09 |Pages:..|000000..|
|00000950| 52 65 63 54 79 70 65 43 | 6f 75 6e 74 3a 09 30 30 |RecTypeC|ount:.00|
|00000960| 30 43 0d 09 46 72 65 65 | 52 65 63 5b 30 5d 3a 09 |0C..Free|Rec[0]:.|
|00000970| 09 30 30 31 30 30 30 09 | 09 50 72 6f 6a 65 63 74 |.001000.|.Project|
|00000980| 0d 09 46 72 65 65 52 65 | 63 5b 31 5d 3a 09 09 30 |..FreeRe|c[1]:..0|
|00000990| 30 32 38 30 30 09 09 46 | 69 6c 65 0d 09 46 72 65 |02800..F|ile..Fre|
|000009a0| 65 52 65 63 5b 32 5d 3a | 09 09 30 30 33 30 30 30 |eRec[2]:|..003000|
|000009b0| 09 09 52 65 76 0d 09 46 | 72 65 65 52 65 63 5b 33 |..Rev..F|reeRec[3|
|000009c0| 5d 3a 09 09 30 30 32 30 | 30 30 09 09 43 6f 6d 6d |]:..0020|00..Comm|
|000009d0| 65 6e 74 0d 09 46 72 65 | 65 52 65 63 5b 34 5d 3a |ent..Fre|eRec[4]:|
|000009e0| 09 09 30 30 30 30 30 30 | 09 09 44 61 74 61 0d 09 |..000000|..Data..|
|000009f0| 46 72 65 65 52 65 63 5b | 35 5d 3a 09 09 30 30 36 |FreeRec[|5]:..006|
|00000a00| 30 30 30 09 09 53 79 6d | 62 6f 6c 69 63 4e 61 6d |000..Sym|bolicNam|
|00000a10| 65 73 0d 09 46 72 65 65 | 52 65 63 5b 36 5d 3a 09 |es..Free|Rec[6]:.|
|00000a20| 09 30 30 35 30 30 30 09 | 09 46 69 6c 65 4e 61 6d |.005000.|.FileNam|
|00000a30| 65 73 0d 09 46 72 65 65 | 52 65 63 5b 37 5d 3a 09 |es..Free|Rec[7]:.|
|00000a40| 09 30 30 34 38 30 30 09 | 09 52 65 76 4e 61 6d 65 |.004800.|.RevName|
|00000a50| 73 0d 09 46 72 65 65 52 | 65 63 5b 38 5d 3a 09 09 |s..FreeR|ec[8]:..|
|00000a60| 30 30 31 38 30 30 09 09 | 41 75 74 68 6f 72 73 0d |001800..|Authors.|
|00000a70| 09 46 72 65 65 52 65 63 | 5b 39 5d 3a 09 09 30 30 |.FreeRec|[9]:..00|
|00000a80| 34 30 30 30 09 09 52 65 | 73 6f 75 72 63 65 0d 09 |4000..Re|source..|
|00000a90| 46 72 65 65 52 65 63 5b | 31 30 5d 3a 09 30 30 39 |FreeRec[|10]:.009|
|00000aa0| 38 30 30 09 09 44 65 6c | 74 61 0d 09 46 72 65 65 |800..Del|ta..Free|
|00000ab0| 52 65 63 5b 31 31 5d 3a | 09 30 30 38 30 30 30 09 |Rec[11]:|.008000.|
|00000ac0| 09 4c 6f 67 0d 09 52 65 | 63 6f 76 65 72 49 44 3a |.Log..Re|coverID:|
|00000ad0| 09 09 30 30 30 30 30 30 | 0d 54 68 65 20 66 69 65 |..000000|.The fie|
|00000ae0| 6c 64 73 20 6f 6e 20 70 | 61 67 65 20 7a 65 72 6f |lds on p|age zero|
|00000af0| 20 61 72 65 20 64 65 73 | 63 72 69 62 65 64 20 62 | are des|cribed b|
|00000b00| 79 20 74 68 65 20 73 74 | 72 75 63 74 20 44 42 48 |y the st|ruct DBH|
|00000b10| 65 61 64 65 72 2e 20 20 | 0d 54 68 65 20 68 65 61 |eader. |.The hea|
|00000b20| 64 65 72 20 6f 66 20 65 | 61 63 68 20 70 61 67 65 |der of e|ach page|
|00000b30| 20 63 6f 6e 74 61 69 6e | 73 20 61 20 63 68 65 63 | contain|s a chec|
|00000b40| 6b 73 75 6d 2c 20 77 68 | 69 63 68 20 69 73 20 61 |ksum, wh|ich is a|
|00000b50| 20 33 32 2d 62 69 74 20 | 76 61 6c 75 65 20 6f 62 | 32-bit |value ob|
|00000b60| 74 61 69 6e 65 64 20 62 | 79 20 73 75 6d 6d 69 6e |tained b|y summin|
|00000b70| 67 20 65 61 63 68 20 6c | 6f 6e 67 20 77 6f 72 64 |g each l|ong word|
|00000b80| 20 69 6e 20 74 68 65 20 | 70 61 67 65 2e 20 20 54 | in the |page. T|
|00000b90| 68 65 20 63 68 65 63 6b | 73 75 6d 20 66 69 65 6c |he check|sum fiel|
|00000ba0| 64 20 6f 66 20 61 6c 6c | 20 70 61 67 65 73 20 62 |d of all| pages b|
|00000bb0| 65 79 6f 6e 64 20 74 68 | 65 20 62 69 74 6d 61 70 |eyond th|e bitmap|
|00000bc0| 20 70 61 67 65 20 69 73 | 20 6e 6f 74 20 75 73 65 | page is| not use|
|00000bd0| 64 20 61 6e 64 20 69 73 | 20 61 6c 77 61 79 73 20 |d and is| always |
|00000be0| 73 65 74 20 74 6f 20 7a | 65 72 6f 2e 20 20 54 68 |set to z|ero. Th|
|00000bf0| 65 20 7a 65 72 6f 20 61 | 6e 64 20 62 69 74 6d 61 |e zero a|nd bitma|
|00000c00| 70 20 70 61 67 65 20 63 | 68 65 63 6b 73 75 6d 73 |p page c|hecksums|
|00000c10| 20 61 72 65 20 75 73 65 | 64 2e 20 20 49 66 20 79 | are use|d. If y|
|00000c20| 6f 75 20 63 68 61 6e 67 | 65 20 61 6e 79 20 66 69 |ou chang|e any fi|
|00000c30| 65 6c 64 73 20 6f 6e 20 | 74 68 6f 73 65 20 70 61 |elds on |those pa|
|00000c40| 67 65 73 20 6d 61 6e 75 | 61 6c 6c 79 2c 20 74 68 |ges manu|ally, th|
|00000c50| 65 20 63 68 65 63 6b 73 | 75 6d 73 20 6d 75 73 74 |e checks|ums must|
|00000c60| 20 62 65 20 61 64 6a 75 | 73 74 65 64 20 74 6f 20 | be adju|sted to |
|00000c70| 72 65 66 6c 65 63 74 20 | 74 68 65 20 63 68 61 6e |reflect |the chan|
|00000c80| 67 65 2e 0d 50 61 67 65 | 44 69 73 6b 41 64 72 20 |ge..Page|DiskAdr |
|00000c90| 69 73 20 74 68 65 20 72 | 65 6c 61 74 69 76 65 20 |is the r|elative |
|00000ca0| 64 69 73 6b 20 61 64 64 | 72 65 73 73 20 6f 66 20 |disk add|ress of |
|00000cb0| 74 68 65 20 70 61 67 65 | 2e 20 20 49 74 27 73 20 |the page|. It's |
|00000cc0| 61 6c 77 61 79 73 20 61 | 20 6d 75 6c 74 69 70 6c |always a| multipl|
|00000cd0| 65 20 6f 66 20 24 38 30 | 30 20 28 32 4b 29 2e 20 |e of $80|0 (2K). |
|00000ce0| 20 50 61 67 65 53 69 7a | 65 20 69 73 20 61 6c 77 | PageSiz|e is alw|
|00000cf0| 61 79 73 20 24 38 30 30 | 2e 0d 53 74 61 6d 70 20 |ays $800|..Stamp |
|00000d00| 69 73 20 61 6c 77 61 79 | 73 20 22 52 45 50 50 22 |is alway|s "REPP"|
|00000d10| 2e 20 20 56 65 72 73 69 | 6f 6e 20 69 73 20 61 6c |. Versi|on is al|
|00000d20| 77 61 79 73 20 32 2e 20 | 20 0d 4d 6f 64 43 6f 75 |ways 2. | .ModCou|
|00000d30| 6e 74 20 69 73 20 6e 6f | 74 20 72 65 6c 65 76 61 |nt is no|t releva|
|00000d40| 6e 74 2e 0d 46 69 72 73 | 74 52 65 63 6f 72 64 20 |nt..Firs|tRecord |
|00000d50| 69 73 20 61 6c 77 61 79 | 73 20 24 31 30 31 41 20 |is alway|s $101A |
|00000d60| 28 61 64 64 72 65 73 73 | 20 6f 66 20 74 68 65 20 |(address| of the |
|00000d70| 66 69 72 73 74 20 72 65 | 63 6f 72 64 2c 20 69 2e |first re|cord, i.|
|00000d80| 65 2e 20 74 68 65 20 50 | 72 6f 6a 65 63 74 20 72 |e. the P|roject r|
|00000d90| 65 63 6f 72 64 29 2e 0d | 65 6f 66 20 69 73 20 74 |ecord)..|eof is t|
|00000da0| 68 65 20 70 68 79 73 69 | 63 61 6c 20 73 69 7a 65 |he physi|cal size|
|00000db0| 20 6f 66 20 74 68 65 20 | 50 72 6f 6a 65 63 74 6f | of the |Projecto|
|00000dc0| 72 44 42 20 66 69 6c 65 | 2e 20 20 49 74 20 73 68 |rDB file|. It sh|
|00000dd0| 6f 75 6c 64 20 62 65 20 | 74 68 65 20 73 61 6d 65 |ould be |the same|
|00000de0| 20 66 6f 72 20 61 6c 6c | 20 70 61 67 65 73 2c 20 | for all| pages, |
|00000df0| 61 6e 64 20 73 68 6f 75 | 6c 64 20 6d 61 74 63 68 |and shou|ld match|
|00000e00| 20 74 68 65 20 61 63 74 | 75 61 6c 20 45 4f 46 20 | the act|ual EOF |
|00000e10| 6f 66 20 74 68 65 20 66 | 69 6c 65 2e 0d 46 72 65 |of the f|ile..Fre|
|00000e20| 65 50 61 67 65 73 20 69 | 73 20 6e 6f 74 20 72 65 |ePages i|s not re|
|00000e30| 6c 65 76 61 6e 74 2e 0d | 52 65 63 54 79 70 65 43 |levant..|RecTypeC|
|00000e40| 6f 75 6e 74 20 73 68 6f | 75 6c 64 20 61 6c 77 61 |ount sho|uld alwa|
|00000e50| 79 73 20 62 65 20 24 43 | 20 28 31 32 29 3a 20 20 |ys be $C| (12): |
|00000e60| 74 68 65 20 6e 75 6d 62 | 65 72 20 6f 66 20 72 65 |the numb|er of re|
|00000e70| 63 6f 72 64 20 74 79 70 | 65 73 2e 0d 54 68 65 20 |cord typ|es..The |
|00000e80| 76 61 6c 75 65 73 20 69 | 6e 20 74 68 65 20 46 72 |values i|n the Fr|
|00000e90| 65 65 52 65 63 5b 69 5d | 20 61 72 72 61 79 20 61 |eeRec[i]| array a|
|00000ea0| 72 65 20 70 6f 69 6e 74 | 65 72 73 20 74 6f 20 74 |re point|ers to t|
|00000eb0| 68 65 20 66 69 72 73 74 | 20 70 61 67 65 20 74 68 |he first| page th|
|00000ec0| 61 74 20 63 6f 6e 74 61 | 69 6e 73 20 61 20 66 72 |at conta|ins a fr|
|00000ed0| 65 65 20 72 65 63 6f 72 | 64 20 73 6c 6f 74 20 6f |ee recor|d slot o|
|00000ee0| 66 20 74 79 70 65 20 69 | 2e 20 20 20 20 28 54 68 |f type i|. (Th|
|00000ef0| 65 20 6e 61 6d 65 73 20 | 6f 66 20 74 68 65 20 72 |e names |of the r|
|00000f00| 65 63 6f 72 64 20 74 79 | 70 65 73 20 61 72 65 20 |ecord ty|pes are |
|00000f10| 64 69 73 70 6c 61 79 65 | 64 20 61 62 6f 76 65 3a |displaye|d above:|
|00000f20| 20 20 69 2e 65 2e 20 74 | 79 70 65 20 30 20 69 73 | i.e. t|ype 0 is|
|00000f30| 20 74 68 65 20 50 72 6f | 6a 65 63 74 20 52 65 63 | the Pro|ject Rec|
|00000f40| 6f 72 64 2c 20 74 79 70 | 65 20 31 31 20 69 73 20 |ord, typ|e 11 is |
|00000f50| 74 68 65 20 4c 6f 67 20 | 52 65 63 6f 72 64 2c 20 |the Log |Record, |
|00000f60| 65 74 63 2e 29 20 20 57 | 68 65 6e 20 61 73 73 69 |etc.) W|hen assi|
|00000f70| 67 6e 69 6e 67 20 61 20 | 6e 65 77 20 72 65 63 6f |gning a |new reco|
|00000f80| 72 64 20 6f 66 20 61 20 | 67 69 76 65 6e 20 74 79 |rd of a |given ty|
|00000f90| 70 65 2c 20 50 72 6f 6a | 65 63 74 6f 72 20 6c 6f |pe, Proj|ector lo|
|00000fa0| 6f 6b 73 20 69 6e 20 74 | 68 65 20 46 72 65 65 52 |oks in t|he FreeR|
|00000fb0| 65 63 20 61 72 72 61 79 | 20 74 6f 20 73 65 65 20 |ec array| to see |
|00000fc0| 77 68 65 72 65 20 74 68 | 65 72 65 20 69 73 20 61 |where th|ere is a|
|00000fd0| 20 66 72 65 65 20 73 6c | 6f 74 20 66 6f 72 20 74 | free sl|ot for t|
|00000fe0| 68 61 74 20 74 79 70 65 | 20 6f 66 20 72 65 63 6f |hat type| of reco|
|00000ff0| 72 64 2e 20 20 49 66 20 | 74 68 65 20 76 61 6c 75 |rd. If |the valu|
|00001000| 65 20 69 73 20 7a 65 72 | 6f 2c 20 69 74 20 6d 65 |e is zer|o, it me|
|00001010| 61 6e 73 20 74 68 65 72 | 65 20 61 72 65 20 6e 6f |ans ther|e are no|
|00001020| 20 66 72 65 65 20 73 6c | 6f 74 73 2c 20 61 6e 64 | free sl|ots, and|
|00001030| 20 61 20 6e 65 77 20 66 | 75 6c 6c 20 70 61 67 65 | a new f|ull page|
|00001040| 20 6f 66 20 74 68 61 74 | 20 72 65 63 6f 72 64 20 | of that| record |
|00001050| 74 79 70 65 20 6d 75 73 | 74 20 62 65 20 61 73 73 |type mus|t be ass|
|00001060| 69 67 6e 65 64 2e 0d 52 | 65 63 6f 76 65 72 79 49 |igned..R|ecoveryI|
|00001070| 44 20 69 73 20 6e 6f 72 | 6d 61 6c 6c 79 20 7a 65 |D is nor|mally ze|
|00001080| 72 6f 2c 20 75 6e 6c 65 | 73 73 20 61 20 72 65 63 |ro, unle|ss a rec|
|00001090| 6f 76 65 72 79 20 6f 70 | 65 72 61 74 69 6f 6e 20 |overy op|eration |
|000010a0| 69 73 20 74 61 6b 69 6e | 67 20 70 6c 61 63 65 20 |is takin|g place |
|000010b0| 28 73 65 65 20 22 52 65 | 63 6f 76 65 72 79 22 20 |(see "Re|covery" |
|000010c0| 62 65 6c 6f 77 29 2e 0d | 50 61 67 65 20 31 20 28 |below)..|Page 1 (|
|000010d0| 42 69 74 6d 61 70 29 0d | 50 41 47 45 20 23 31 20 |Bitmap).|PAGE #1 |
|000010e0| 20 20 20 20 09 09 09 09 | 42 49 54 4d 41 50 09 09 | ....|BITMAP..|
|000010f0| 45 4f 46 3a 20 30 30 41 | 30 30 30 09 09 50 41 47 |EOF: 00A|000..PAG|
|00001100| 45 53 49 5a 45 3a 20 30 | 38 30 30 0d 09 43 68 65 |ESIZE: 0|800..Che|
|00001110| 63 6b 53 75 6d 3a 09 09 | 46 30 30 31 31 37 46 46 |ckSum:..|F00117FF|
|00001120| 0d 09 50 61 67 65 44 69 | 73 6b 41 64 72 3a 09 30 |..PageDi|skAdr:.0|
|00001130| 30 30 38 30 30 0d 09 52 | 65 63 6f 72 64 53 69 7a |00800..R|ecordSiz|
|00001140| 65 3a 09 09 30 30 30 30 | 0d 09 50 41 47 45 23 09 |e:..0000|..PAGE#.|
|00001150| 09 09 09 09 09 09 09 09 | 50 41 47 45 53 0d 09 30 |........|PAGES..0|
|00001160| 30 30 30 30 30 09 09 09 | 46 46 46 46 09 46 30 30 |00000...|FFFF.F00|
|00001170| 30 09 30 30 30 30 09 30 | 30 30 30 09 30 30 30 30 |0.0000.0|000.0000|
|00001180| 09 30 30 30 30 09 30 30 | 30 30 09 30 30 30 30 0d |.0000.00|00.0000.|
|00001190| 54 68 65 20 62 69 74 6d | 61 70 20 70 61 67 65 20 |The bitm|ap page |
|000011a0| 63 6f 6e 74 61 69 6e 73 | 20 61 20 73 68 6f 72 74 |contains| a short|
|000011b0| 20 68 65 61 64 65 72 20 | 28 73 74 72 75 63 74 20 | header |(struct |
|000011c0| 50 61 67 65 49 44 29 20 | 66 6f 6c 6c 6f 77 65 64 |PageID) |followed|
|000011d0| 20 62 79 20 61 20 62 69 | 74 6d 61 70 2e 20 20 45 | by a bi|tmap. E|
|000011e0| 61 63 68 20 70 61 67 65 | 20 69 6e 20 74 68 65 20 |ach page| in the |
|000011f0| 44 42 20 69 73 20 72 65 | 70 72 65 73 65 6e 74 65 |DB is re|presente|
|00001200| 64 20 62 79 20 61 20 73 | 69 6e 67 6c 65 20 62 69 |d by a s|ingle bi|
|00001210| 74 20 69 6e 20 74 68 65 | 20 62 69 74 6d 61 70 2e |t in the| bitmap.|
|00001220| 20 20 41 20 70 61 67 65 | 20 69 6e 20 75 73 65 20 | A page| in use |
|00001230| 69 73 20 72 65 70 72 65 | 73 65 6e 74 65 64 20 62 |is repre|sented b|
|00001240| 79 20 61 20 22 31 22 2e | 20 20 42 69 74 73 20 61 |y a "1".| Bits a|
|00001250| 72 65 20 72 65 61 64 20 | 66 72 6f 6d 20 6c 65 66 |re read |from lef|
|00001260| 74 20 74 6f 20 72 69 67 | 68 74 2e 20 20 46 6f 72 |t to rig|ht. For|
|00001270| 20 65 78 61 6d 70 6c 65 | 2c 20 70 61 67 65 20 7a | example|, page z|
|00001280| 65 72 6f 20 69 73 20 72 | 65 70 72 65 73 65 6e 74 |ero is r|epresent|
|00001290| 65 64 20 62 79 20 62 69 | 74 20 37 20 6f 66 20 74 |ed by bi|t 7 of t|
|000012a0| 68 65 20 66 69 72 73 74 | 20 62 79 74 65 20 69 6e |he first| byte in|
|000012b0| 20 74 68 65 20 62 69 74 | 6d 61 70 20 28 77 68 69 | the bit|map (whi|
|000012c0| 63 68 20 69 73 20 61 63 | 74 75 61 6c 6c 79 20 74 |ch is ac|tually t|
|000012d0| 68 65 20 31 31 74 68 20 | 62 79 74 65 20 6f 6e 20 |he 11th |byte on |
|000012e0| 74 68 65 20 70 61 67 65 | 29 2c 20 65 74 63 2e 20 |the page|), etc. |
|000012f0| 20 49 6e 20 74 68 65 20 | 61 62 6f 76 65 20 65 78 | In the |above ex|
|00001300| 61 6d 70 6c 65 2c 20 65 | 61 63 68 20 22 46 22 20 |ample, e|ach "F" |
|00001310| 28 6f 72 20 62 69 6e 61 | 72 79 20 31 31 31 31 29 |(or bina|ry 1111)|
|00001320| 20 72 65 70 72 65 73 65 | 6e 74 73 20 34 20 70 61 | represe|nts 4 pa|
|00001330| 67 65 73 20 74 68 61 74 | 20 61 72 65 20 69 6e 20 |ges that| are in |
|00001340| 75 73 65 2e 20 20 28 41 | 6e 20 75 6e 75 73 65 64 |use. (A|n unused|
|00001350| 20 70 61 67 65 20 77 6f | 75 6c 64 20 62 65 20 72 | page wo|uld be r|
|00001360| 65 70 72 65 73 65 6e 74 | 65 64 20 62 79 20 61 20 |epresent|ed by a |
|00001370| 7a 65 72 6f 2c 20 73 6f | 20 74 68 65 20 76 61 6c |zero, so| the val|
|00001380| 75 65 20 24 45 20 28 31 | 31 31 30 29 20 77 6f 75 |ue $E (1|110) wou|
|00001390| 6c 64 20 6d 65 61 6e 20 | 74 68 61 74 20 74 68 65 |ld mean |that the|
|000013a0| 20 34 74 68 20 70 61 67 | 65 20 77 61 73 20 66 72 | 4th pag|e was fr|
|000013b0| 65 65 2e 20 29 20 20 54 | 68 65 20 61 62 6f 76 65 |ee. ) T|he above|
|000013c0| 20 65 78 61 6d 70 6c 65 | 20 73 68 6f 77 73 20 32 | example| shows 2|
|000013d0| 30 20 63 6f 6e 73 65 63 | 75 74 69 76 65 20 75 73 |0 consec|utive us|
|000013e0| 65 64 20 70 61 67 65 73 | 2c 20 61 6e 64 20 74 68 |ed pages|, and th|
|000013f0| 65 20 72 65 73 74 20 66 | 72 65 65 2e 20 20 54 68 |e rest f|ree. Th|
|00001400| 69 73 20 69 73 20 63 6f | 6e 73 69 73 74 65 6e 74 |is is co|nsistent|
|00001410| 20 77 69 74 68 20 74 68 | 65 20 66 69 6c 65 20 73 | with th|e file s|
|00001420| 69 7a 65 20 6f 66 20 24 | 41 4f 4f 4f 2c 20 73 69 |ize of $|AOOO, si|
|00001430| 6e 63 65 20 65 61 63 68 | 20 70 61 67 65 20 69 73 |nce each| page is|
|00001440| 20 24 38 30 30 20 69 6e | 20 73 69 7a 65 2e 0d 54 | $800 in| size..T|
|00001450| 68 65 72 65 20 69 73 20 | 72 6f 6f 6d 20 6f 6e 20 |here is |room on |
|00001460| 74 68 65 20 62 69 74 6d | 61 70 20 70 61 67 65 20 |the bitm|ap page |
|00001470| 66 6f 72 20 31 36 33 30 | 34 20 62 69 74 73 2c 20 |for 1630|4 bits, |
|00001480| 72 65 70 72 65 73 65 6e | 74 69 6e 67 20 31 36 33 |represen|ting 163|
|00001490| 30 34 20 70 61 67 65 73 | 2c 20 6f 72 20 61 20 73 |04 pages|, or a s|
|000014a0| 69 7a 65 20 6f 66 20 33 | 33 2c 33 39 30 2c 35 39 |ize of 3|3,390,59|
|000014b0| 32 20 62 79 74 65 73 20 | 28 24 31 46 44 38 30 30 |2 bytes |($1FD800|
|000014c0| 30 29 2e 20 20 49 66 20 | 74 68 65 20 66 69 6c 65 |0). If |the file|
|000014d0| 20 65 78 63 65 65 64 73 | 20 74 68 61 74 20 73 69 | exceeds| that si|
|000014e0| 7a 65 2c 20 61 6e 20 61 | 64 64 69 74 69 6f 6e 61 |ze, an a|dditiona|
|000014f0| 6c 20 62 69 74 6d 61 70 | 20 70 61 67 65 20 69 73 |l bitmap| page is|
|00001500| 20 61 73 73 69 67 6e 65 | 64 20 61 74 20 74 68 65 | assigne|d at the|
|00001510| 20 65 6e 64 20 6f 66 20 | 74 68 65 20 66 69 6c 65 | end of |the file|
|00001520| 2c 20 61 6e 64 20 74 68 | 65 6e 20 66 75 72 74 68 |, and th|en furth|
|00001530| 65 72 20 61 6c 6c 6f 63 | 61 74 69 6f 6e 20 6f 66 |er alloc|ation of|
|00001540| 20 70 61 67 65 73 20 70 | 72 6f 63 65 65 64 73 2e | pages p|roceeds.|
|00001550| 20 20 49 66 20 74 68 61 | 74 20 6f 6e 65 20 67 65 | If tha|t one ge|
|00001560| 74 73 20 75 73 65 64 20 | 75 70 2c 20 61 6e 6f 74 |ts used |up, anot|
|00001570| 68 65 72 20 6f 6e 65 20 | 69 73 20 61 73 73 69 67 |her one |is assig|
|00001580| 6e 65 64 2c 20 65 74 63 | 2e 0d 50 61 67 65 20 32 |ned, etc|..Page 2|
|00001590| 20 26 20 42 65 79 6f 6e | 64 0d 50 41 47 45 20 23 | & Beyon|d.PAGE #|
|000015a0| 32 20 20 20 20 20 09 09 | 52 45 43 4f 52 44 09 09 |2 ..|RECORD..|
|000015b0| 45 4f 46 3a 20 30 30 41 | 30 30 30 09 09 50 41 47 |EOF: 00A|000..PAG|
|000015c0| 45 53 49 5a 45 3a 20 30 | 38 30 30 0d 09 43 68 65 |ESIZE: 0|800..Che|
|000015d0| 63 6b 53 75 6d 3a 09 09 | 30 30 30 30 30 30 0d 09 |ckSum:..|000000..|
|000015e0| 50 61 67 65 44 69 73 6b | 41 64 72 3a 09 30 30 31 |PageDisk|Adr:.001|
|000015f0| 30 30 30 0d 09 52 65 63 | 6f 72 64 53 69 7a 65 3a |000..Rec|ordSize:|
|00001600| 09 09 30 30 32 43 0d 09 | 43 75 72 52 65 63 43 6f |..002C..|CurRecCo|
|00001610| 75 6e 74 3a 09 30 30 30 | 31 0d 09 4d 61 78 52 65 |unt:.000|1..MaxRe|
|00001620| 63 43 6f 75 6e 74 3a 09 | 30 30 32 44 0d 09 52 65 |cCount:.|002D..Re|
|00001630| 63 6f 72 64 54 79 70 65 | 3a 09 09 30 30 0d 09 66 |cordType|:..00..f|
|00001640| 69 6c 6c 65 72 3a 09 09 | 09 30 30 0d 09 66 69 6c |iller:..|.00..fil|
|00001650| 6c 65 72 31 3a 09 09 09 | 30 30 30 30 0d 09 52 65 |ler1:...|0000..Re|
|00001660| 63 76 72 49 44 3a 09 09 | 09 30 30 30 30 30 30 0d |cvrID:..|.000000.|
|00001670| 09 4e 65 78 74 46 72 65 | 65 50 61 67 65 3a 09 30 |.NextFre|ePage:.0|
|00001680| 30 30 30 30 30 0d 09 30 | 30 31 30 31 41 09 09 50 |00000..0|0101A..P|
|00001690| 72 6f 6a 65 63 74 20 52 | 65 63 6f 72 64 0d 09 09 |roject R|ecord...|
|000016a0| 50 72 65 76 52 65 63 3a | 09 09 30 30 30 30 30 30 |PrevRec:|..000000|
|000016b0| 0d 09 09 4e 65 78 74 52 | 65 63 3a 09 09 30 30 30 |...NextR|ec:..000|
|000016c0| 30 30 30 0d 09 09 53 75 | 62 52 65 63 30 3a 09 09 |000...Su|bRec0:..|
|000016d0| 30 30 32 30 31 41 09 09 | 43 6f 6d 6d 65 6e 74 0d |00201A..|Comment.|
|000016e0| 09 09 53 75 62 52 65 63 | 31 3a 09 09 30 30 36 30 |..SubRec|1:..0060|
|000016f0| 31 41 09 09 53 79 6d 62 | 6f 6c 69 63 4e 61 6d 65 |1A..Symb|olicName|
|00001700| 73 0d 09 09 53 75 62 52 | 65 63 32 3a 09 09 30 30 |s...SubR|ec2:..00|
|00001710| 35 30 31 41 09 09 46 69 | 6c 65 4e 61 6d 65 73 0d |501A..Fi|leNames.|
|00001720| 09 09 53 75 62 52 65 63 | 33 3a 09 09 30 30 32 38 |..SubRec|3:..0028|
|00001730| 36 32 09 09 46 69 6c 65 | 0d 09 09 53 75 62 52 65 |62..File|...SubRe|
|00001740| 63 34 3a 09 09 30 30 31 | 38 31 41 09 09 41 75 74 |c4:..001|81A..Aut|
|00001750| 68 6f 72 73 0d 09 09 53 | 75 62 52 65 63 35 3a 09 |hors...S|ubRec5:.|
|00001760| 09 30 30 38 30 31 41 09 | 09 4c 6f 67 0d 45 61 63 |.00801A.|.Log.Eac|
|00001770| 68 20 6f 66 20 74 68 65 | 20 72 65 6d 61 69 6e 69 |h of the| remaini|
|00001780| 6e 67 20 70 61 67 65 73 | 20 63 6f 6e 74 61 69 6e |ng pages| contain|
|00001790| 73 20 6f 6e 65 20 6f 72 | 20 6d 6f 72 65 20 72 65 |s one or| more re|
|000017a0| 63 6f 72 64 73 20 6f 66 | 20 61 20 67 69 76 65 6e |cords of| a given|
|000017b0| 20 74 79 70 65 2e 20 20 | 45 61 63 68 20 70 61 67 | type. |Each pag|
|000017c0| 65 2c 20 6f 66 20 77 68 | 61 74 65 76 65 72 20 74 |e, of wh|atever t|
|000017d0| 79 70 65 2c 20 62 65 67 | 69 6e 73 20 77 69 74 68 |ype, beg|ins with|
|000017e0| 20 61 20 73 74 61 6e 64 | 61 72 64 20 68 65 61 64 | a stand|ard head|
|000017f0| 65 72 20 28 73 68 6f 77 | 6e 20 61 62 6f 76 65 29 |er (show|n above)|
|00001800| 2c 20 77 68 6f 73 65 20 | 66 69 65 6c 64 73 20 68 |, whose |fields h|
|00001810| 61 76 65 20 74 68 65 20 | 66 6f 6c 6c 6f 77 69 6e |ave the |followin|
|00001820| 67 20 6d 65 61 6e 69 6e | 67 3a 20 20 0d 54 68 65 |g meanin|g: .The|
|00001830| 20 6e 75 6d 62 65 72 20 | 6f 66 20 72 65 63 6f 72 | number |of recor|
|00001840| 64 73 20 6f 6e 20 74 68 | 61 74 20 70 61 67 65 20 |ds on th|at page |
|00001850| 73 68 6f 75 6c 64 20 62 | 65 20 65 71 75 61 6c 20 |should b|e equal |
|00001860| 74 6f 20 74 68 65 20 76 | 61 6c 75 65 20 43 75 72 |to the v|alue Cur|
|00001870| 52 65 63 43 6f 75 6e 74 | 2e 20 20 4d 61 78 52 65 |RecCount|. MaxRe|
|00001880| 63 43 6f 75 6e 74 20 69 | 73 20 74 68 65 20 6d 61 |cCount i|s the ma|
|00001890| 78 69 6d 75 6d 20 6e 75 | 6d 62 65 72 20 6f 66 20 |ximum nu|mber of |
|000018a0| 72 65 63 6f 72 64 73 20 | 74 68 61 74 20 77 69 6c |records |that wil|
|000018b0| 6c 20 66 69 74 20 6f 6e | 20 61 20 70 61 67 65 2c |l fit on| a page,|
|000018c0| 20 77 68 69 63 68 20 69 | 73 20 64 65 74 65 72 6d | which i|s determ|
|000018d0| 69 6e 65 64 20 62 79 20 | 52 65 63 6f 72 64 53 69 |ined by |RecordSi|
|000018e0| 7a 65 2e 0d 66 69 6c 6c | 65 72 2c 20 66 69 6c 6c |ze..fill|er, fill|
|000018f0| 65 72 31 20 26 20 52 65 | 63 76 72 49 44 20 61 72 |er1 & Re|cvrID ar|
|00001900| 65 20 6e 6f 74 20 72 65 | 6c 65 76 61 6e 74 2e 20 |e not re|levant. |
|00001910| 20 43 68 65 63 6b 53 75 | 6d 20 73 68 6f 75 6c 64 | CheckSu|m should|
|00001920| 20 62 65 20 7a 65 72 6f | 2e 0d 4e 65 78 74 46 72 | be zero|..NextFr|
|00001930| 65 65 50 61 67 65 20 20 | 72 65 66 65 72 73 20 74 |eePage |refers t|
|00001940| 6f 20 61 20 70 61 67 65 | 20 63 6f 6e 74 61 69 6e |o a page| contain|
|00001950| 69 6e 67 20 61 20 66 72 | 65 65 20 72 65 63 6f 72 |ing a fr|ee recor|
|00001960| 64 20 6f 66 20 74 68 69 | 73 20 74 79 70 65 2c 20 |d of thi|s type, |
|00001970| 69 66 20 6e 6f 6e 2d 7a | 65 72 6f 2e 20 20 52 65 |if non-z|ero. Re|
|00001980| 63 61 6c 6c 20 74 68 61 | 74 20 69 6e 20 70 61 67 |call tha|t in pag|
|00001990| 65 20 7a 65 72 6f 2c 20 | 74 68 65 72 65 20 69 73 |e zero, |there is|
|000019a0| 20 61 20 70 6f 69 6e 74 | 65 72 20 74 6f 20 74 68 | a point|er to th|
|000019b0| 65 20 66 69 72 73 74 20 | 66 72 65 65 20 70 61 67 |e first |free pag|
|000019c0| 65 20 6f 66 20 61 20 67 | 69 76 65 6e 20 72 65 63 |e of a g|iven rec|
|000019d0| 6f 72 64 20 74 79 70 65 | 2e 20 20 54 68 61 74 20 |ord type|. That |
|000019e0| 70 61 67 65 20 63 61 6e | 2c 20 69 6e 20 74 75 72 |page can|, in tur|
|000019f0| 6e 2c 20 70 6f 69 6e 74 | 20 74 6f 20 61 6e 6f 74 |n, point| to anot|
|00001a00| 68 65 72 20 70 61 67 65 | 20 77 69 74 68 20 61 20 |her page| with a |
|00001a10| 66 72 65 65 20 73 6c 6f | 74 2e 0d 54 68 65 20 72 |free slo|t..The r|
|00001a20| 65 63 6f 72 64 20 69 74 | 73 65 6c 66 20 73 74 61 |ecord it|self sta|
|00001a30| 72 74 73 20 61 74 20 61 | 6e 20 6f 66 66 73 65 74 |rts at a|n offset|
|00001a40| 20 6f 66 20 24 31 41 20 | 69 6e 74 6f 20 74 68 65 | of $1A |into the|
|00001a50| 20 70 61 67 65 2e 20 20 | 45 61 63 68 20 72 65 63 | page. |Each rec|
|00001a60| 6f 72 64 20 63 6f 6e 74 | 61 69 6e 73 20 61 20 70 |ord cont|ains a p|
|00001a70| 6f 69 6e 74 65 72 20 73 | 65 63 74 69 6f 6e 20 20 |ointer s|ection |
|00001a80| 61 6e 64 20 61 20 64 61 | 74 61 20 73 65 63 74 69 |and a da|ta secti|
|00001a90| 6f 6e 2e 20 20 54 68 65 | 20 70 6f 69 6e 74 65 72 |on. The| pointer|
|00001aa0| 20 73 65 63 74 69 6f 6e | 20 28 73 68 6f 77 6e 20 | section| (shown |
|00001ab0| 69 6e 20 74 68 65 20 6f | 75 74 70 75 74 20 61 62 |in the o|utput ab|
|00001ac0| 6f 76 65 29 20 63 6f 6e | 74 61 69 6e 73 20 61 20 |ove) con|tains a |
|00001ad0| 70 6f 69 6e 74 65 72 20 | 74 6f 20 74 68 65 20 6e |pointer |to the n|
|00001ae0| 65 78 74 20 26 20 70 72 | 65 76 69 6f 75 73 20 20 |ext & pr|evious |
|00001af0| 20 72 65 63 6f 72 64 73 | 20 6f 66 20 61 20 67 69 | records| of a gi|
|00001b00| 76 65 6e 20 74 79 70 65 | 2e 20 20 28 53 69 6e 63 |ven type|. (Sinc|
|00001b10| 65 20 74 68 65 20 6c 69 | 73 74 69 6e 67 20 61 62 |e the li|sting ab|
|00001b20| 6f 76 65 20 73 68 6f 77 | 73 20 61 20 50 72 6f 6a |ove show|s a Proj|
|00001b30| 65 63 74 20 52 65 63 6f | 72 64 2c 20 61 6e 64 20 |ect Reco|rd, and |
|00001b40| 61 20 70 72 6f 6a 65 63 | 74 20 63 6f 6e 74 61 69 |a projec|t contai|
|00001b50| 6e 73 20 6f 6e 6c 79 20 | 6f 6e 65 20 6f 66 20 74 |ns only |one of t|
|00001b60| 68 65 73 65 20 72 65 63 | 6f 72 64 2c 20 74 68 65 |hese rec|ord, the|
|00001b70| 73 65 20 70 6f 69 6e 74 | 65 72 73 20 61 72 65 20 |se point|ers are |
|00001b80| 4e 55 4c 4c 2e 29 20 20 | 46 6f 72 20 74 68 6f 73 |NULL.) |For thos|
|00001b90| 65 20 72 65 63 6f 72 64 | 73 20 63 6f 6e 74 61 69 |e record|s contai|
|00001ba0| 6e 69 6e 67 20 73 75 62 | 2d 72 65 63 6f 72 64 73 |ning sub|-records|
|00001bb0| 2c 20 74 68 65 20 70 6f | 69 6e 74 65 72 20 73 65 |, the po|inter se|
|00001bc0| 63 74 69 6f 6e 20 61 6c | 73 6f 20 63 6f 6e 74 61 |ction al|so conta|
|00001bd0| 69 6e 73 20 70 6f 69 6e | 74 65 72 73 20 74 6f 20 |ins poin|ters to |
|00001be0| 74 68 65 20 66 69 72 73 | 74 20 72 65 63 6f 72 64 |the firs|t record|
|00001bf0| 20 6f 66 20 65 61 63 68 | 20 6f 66 20 74 68 65 20 | of each| of the |
|00001c00| 73 75 62 2d 72 65 63 6f | 72 64 20 74 79 70 65 73 |sub-reco|rd types|
|00001c10| 2e 20 20 46 6f 72 20 65 | 78 61 6d 70 6c 65 2c 20 |. For e|xample, |
|00001c20| 61 20 70 72 6f 6a 65 63 | 74 20 72 65 63 6f 72 64 |a projec|t record|
|00001c30| 20 63 6f 6e 74 61 69 6e | 73 20 61 20 70 6f 69 6e | contain|s a poin|
|00001c40| 74 65 72 20 74 6f 20 65 | 61 63 68 20 6f 66 20 69 |ter to e|ach of i|
|00001c50| 74 73 20 73 75 62 2d 72 | 65 63 6f 72 64 73 20 28 |ts sub-r|ecords (|
|00001c60| 43 6f 6d 6d 65 6e 74 2c | 20 53 79 6d 62 6f 6c 69 |Comment,| Symboli|
|00001c70| 63 4e 61 6d 65 73 2c 20 | 46 69 6c 65 4e 61 6d 65 |cNames, |FileName|
|00001c80| 73 2c 20 46 69 6c 65 2c | 20 41 75 74 68 6f 72 73 |s, File,| Authors|
|00001c90| 20 26 20 4c 6f 67 29 2e | 20 20 20 54 68 65 20 46 | & Log).| The F|
|00001ca0| 69 6c 65 20 52 65 63 6f | 72 64 20 69 74 20 70 6f |ile Reco|rd it po|
|00001cb0| 69 6e 74 73 20 74 6f 20 | 72 65 70 72 65 73 65 6e |ints to |represen|
|00001cc0| 74 73 20 74 68 65 20 22 | 66 69 72 73 74 22 20 66 |ts the "|first" f|
|00001cd0| 69 6c 65 20 69 6e 20 74 | 68 65 20 70 72 6f 6a 65 |ile in t|he proje|
|00001ce0| 63 74 2e 20 54 68 61 74 | 20 46 69 6c 65 20 52 65 |ct. That| File Re|
|00001cf0| 63 6f 72 64 20 77 69 6c | 6c 20 68 61 76 65 20 4e |cord wil|l have N|
|00001d00| 55 4c 4c 20 61 73 20 69 | 74 73 20 70 72 65 76 69 |ULL as i|ts previ|
|00001d10| 6f 75 73 20 20 70 6f 69 | 6e 74 65 72 2c 20 61 6e |ous poi|nter, an|
|00001d20| 64 20 69 74 73 20 6e 65 | 78 74 20 20 70 6f 69 6e |d its ne|xt poin|
|00001d30| 74 65 72 20 77 69 6c 6c | 20 70 6f 69 6e 74 20 74 |ter will| point t|
|00001d40| 6f 20 74 68 65 20 6e 65 | 78 74 20 46 69 6c 65 20 |o the ne|xt File |
|00001d50| 52 65 63 6f 72 64 20 69 | 6e 20 74 68 65 20 70 72 |Record i|n the pr|
|00001d60| 6f 6a 65 63 74 2e 20 20 | 54 68 65 20 46 69 6c 65 |oject. |The File|
|00001d70| 20 52 65 63 6f 72 64 73 | 20 69 6e 20 74 75 72 6e | Records| in turn|
|00001d80| 20 63 6f 6e 74 61 69 6e | 20 70 6f 69 6e 74 65 72 | contain| pointer|
|00001d90| 73 20 74 6f 20 74 68 65 | 69 72 20 73 75 62 2d 72 |s to the|ir sub-r|
|00001da0| 65 63 6f 72 64 73 2e 20 | 20 0d 54 68 65 20 68 69 |ecords. | .The hi|
|00001db0| 65 72 61 72 63 68 79 20 | 6f 66 20 72 65 63 6f 72 |erarchy |of recor|
|00001dc0| 64 20 74 79 70 65 73 0d | 50 72 6f 6a 65 63 74 20 |d types.|Project |
|00001dd0| 3a 20 20 54 68 65 72 65 | 20 69 73 20 31 20 61 6e |: There| is 1 an|
|00001de0| 64 20 6f 6e 6c 79 20 31 | 20 70 72 6f 6a 65 63 74 |d only 1| project|
|00001df0| 20 72 65 63 6f 72 64 20 | 69 6e 20 61 20 70 72 6f | record |in a pro|
|00001e00| 6a 65 63 74 20 61 6e 64 | 20 69 74 27 73 20 61 6c |ject and| it's al|
|00001e10| 77 61 79 73 20 6f 6e 20 | 74 68 65 20 66 69 72 73 |ways on |the firs|
|00001e20| 74 20 61 76 61 69 6c 61 | 62 6c 65 20 70 61 67 65 |t availa|ble page|
|00001e30| 20 28 6c 6f 63 61 74 69 | 6f 6e 20 24 31 30 30 30 | (locati|on $1000|
|00001e40| 29 0d 2d 2d 2d 2d 43 6f | 6d 6d 65 6e 74 0d 2d 2d |).----Co|mment.--|
|00001e50| 2d 2d 53 79 6d 62 6f 6c | 69 63 4e 61 6d 65 73 20 |--Symbol|icNames |
|00001e60| 28 6e 61 6d 65 74 61 62 | 6c 65 29 0d 2d 2d 2d 2d |(nametab|le).----|
|00001e70| 46 69 6c 65 4e 61 6d 65 | 73 20 28 6e 61 6d 65 74 |FileName|s (namet|
|00001e80| 61 62 6c 65 29 0d 2d 2d | 2d 2d 46 69 6c 65 73 3a |able).--|--Files:|
|00001e90| 20 20 54 68 65 72 65 20 | 69 73 20 31 20 66 69 6c | There |is 1 fil|
|00001ea0| 65 20 72 65 63 6f 72 64 | 20 66 6f 72 20 65 61 63 |e record| for eac|
|00001eb0| 68 20 66 69 6c 65 20 69 | 6e 20 74 68 65 20 70 72 |h file i|n the pr|
|00001ec0| 6f 6a 65 63 74 2e 20 20 | 0d 09 2d 2d 2d 2d 43 6f |oject. |..----Co|
|00001ed0| 6d 6d 65 6e 74 0d 09 2d | 2d 2d 2d 52 65 76 69 73 |mment..-|---Revis|
|00001ee0| 69 6f 6e 3a 20 20 54 68 | 65 72 65 20 69 73 20 6f |ion: Th|ere is o|
|00001ef0| 6e 65 20 72 65 76 69 73 | 69 6f 6e 20 72 65 63 6f |ne revis|ion reco|
|00001f00| 72 64 20 66 6f 72 20 65 | 61 63 68 20 72 65 76 69 |rd for e|ach revi|
|00001f10| 73 69 6f 6e 20 69 6e 20 | 65 61 63 68 20 66 69 6c |sion in |each fil|
|00001f20| 65 20 69 6e 20 74 68 65 | 20 70 72 6f 6a 65 63 74 |e in the| project|
|00001f30| 2e 20 20 0d 09 09 2d 2d | 2d 2d 43 6f 6d 6d 65 6e |. ...--|--Commen|
|00001f40| 74 0d 09 09 2d 2d 2d 2d | 44 61 74 61 0d 09 09 2d |t...----|Data...-|
|00001f50| 2d 2d 2d 52 65 73 6f 75 | 72 63 65 0d 09 09 2d 2d |---Resou|rce...--|
|00001f60| 2d 2d 44 65 6c 74 61 0d | 09 2d 2d 2d 2d 52 65 76 |--Delta.|.----Rev|
|00001f70| 69 73 69 6f 6e 4e 61 6d | 65 73 20 28 6e 61 6d 65 |isionNam|es (name|
|00001f80| 74 61 62 6c 65 29 0d 2d | 2d 2d 2d 41 75 74 68 6f |table).-|---Autho|
|00001f90| 72 73 20 28 6e 61 6d 65 | 74 61 62 6c 65 29 0d 2d |rs (name|table).-|
|00001fa0| 2d 2d 2d 4c 6f 67 0d 4e | 6f 74 65 20 74 68 61 74 |---Log.N|ote that|
|00001fb0| 20 43 6f 6d 6d 65 6e 74 | 20 72 65 63 6f 72 64 73 | Comment| records|
|00001fc0| 20 6d 61 79 20 62 65 6c | 6f 6e 67 20 65 69 74 68 | may bel|ong eith|
|00001fd0| 65 72 20 74 6f 20 74 68 | 65 20 50 72 6f 6a 65 63 |er to th|e Projec|
|00001fe0| 74 2c 20 61 20 46 69 6c | 65 2c 20 6f 72 20 61 20 |t, a Fil|e, or a |
|00001ff0| 52 65 76 69 73 69 6f 6e | 2e 20 20 53 79 6d 62 6f |Revision|. Symbo|
|00002000| 6c 69 63 4e 61 6d 65 73 | 2c 20 46 69 6c 65 4e 61 |licNames|, FileNa|
|00002010| 6d 65 73 2c 20 46 69 6c | 65 73 2c 20 41 75 74 68 |mes, Fil|es, Auth|
|00002020| 6f 72 73 20 61 6e 64 20 | 4c 6f 67 20 72 65 63 6f |ors and |Log reco|
|00002030| 72 64 73 20 62 65 6c 6f | 6e 67 20 74 6f 20 74 68 |rds belo|ng to th|
|00002040| 65 20 50 72 6f 6a 65 63 | 74 3b 20 52 65 76 69 73 |e Projec|t; Revis|
|00002050| 69 6f 6e 73 20 61 6e 64 | 20 52 65 76 69 73 69 6f |ions and| Revisio|
|00002060| 6e 4e 61 6d 65 73 20 62 | 65 6c 6f 6e 67 20 74 6f |nNames b|elong to|
|00002070| 20 61 20 46 69 6c 65 3b | 20 44 61 74 61 2c 20 52 | a File;| Data, R|
|00002080| 65 73 6f 75 72 63 65 20 | 61 6e 64 20 44 65 6c 74 |esource |and Delt|
|00002090| 61 20 72 65 63 6f 72 64 | 73 20 62 65 6c 6f 6e 67 |a record|s belong|
|000020a0| 20 74 6f 20 61 20 52 65 | 76 69 73 69 6f 6e 2e 0d | to a Re|vision..|
|000020b0| 54 68 65 20 64 61 74 61 | 20 73 65 63 74 69 6f 6e |The data| section|
|000020c0| 20 6f 66 20 65 61 63 68 | 20 72 65 63 6f 72 64 20 | of each| record |
|000020d0| 69 73 20 64 65 73 63 72 | 69 62 65 64 20 62 79 20 |is descr|ibed by |
|000020e0| 69 74 73 20 73 74 72 75 | 63 74 75 72 65 20 28 61 |its stru|cture (a|
|000020f0| 73 20 6f 75 74 6c 69 6e | 65 64 20 69 6e 20 72 65 |s outlin|ed in re|
|00002100| 63 4d 67 72 2e 68 29 2e | 20 20 54 68 69 73 20 69 |cMgr.h).| This i|
|00002110| 6e 66 6f 72 6d 61 74 69 | 6f 6e 20 69 73 20 6e 6f |nformati|on is no|
|00002120| 74 20 73 68 6f 77 6e 20 | 69 6e 20 74 68 65 20 6f |t shown |in the o|
|00002130| 75 74 70 75 74 20 6f 66 | 20 44 75 6d 70 44 42 2e |utput of| DumpDB.|
|00002140| 20 20 54 68 65 20 63 6f | 6d 6d 61 6e 64 20 44 75 | The co|mmand Du|
|00002150| 6d 70 50 72 6f 6a 65 63 | 74 20 28 61 6e 20 75 6e |mpProjec|t (an un|
|00002160| 64 6f 63 75 6d 65 6e 74 | 65 64 20 62 75 69 6c 74 |document|ed built|
|00002170| 2d 69 6e 20 53 68 65 6c | 6c 20 63 6f 6d 6d 61 6e |-in Shel|l comman|
|00002180| 64 29 20 73 68 6f 77 73 | 20 73 6f 6d 65 20 6f 66 |d) shows| some of|
|00002190| 20 74 68 69 73 20 69 6e | 66 6f 72 6d 61 74 69 6f | this in|formatio|
|000021a0| 6e 20 66 6f 72 20 50 72 | 6f 6a 65 63 74 2c 20 46 |n for Pr|oject, F|
|000021b0| 69 6c 65 20 61 6e 64 20 | 52 65 76 69 73 69 6f 6e |ile and |Revision|
|000021c0| 20 72 65 63 6f 72 64 73 | 2e 0d 44 61 74 61 2c 20 | records|..Data, |
|000021d0| 44 65 6c 74 61 20 61 6e | 64 20 52 65 73 6f 75 72 |Delta an|d Resour|
|000021e0| 63 65 20 72 65 63 6f 72 | 64 73 20 63 6f 6e 74 61 |ce recor|ds conta|
|000021f0| 69 6e 20 64 61 74 61 20 | 77 68 69 63 68 20 69 73 |in data |which is|
|00002200| 20 69 6e 64 65 74 65 72 | 6d 69 6e 61 74 65 20 69 | indeter|minate i|
|00002210| 6e 20 73 69 7a 65 2e 20 | 20 54 68 65 72 65 66 6f |n size. | Therefo|
|00002220| 72 65 20 74 68 65 72 65 | 20 63 61 6e 20 62 65 20 |re there| can be |
|00002230| 61 6e 79 20 6e 75 6d 62 | 65 72 20 6f 66 2c 20 73 |any numb|er of, s|
|00002240| 61 79 2c 20 44 61 74 61 | 20 52 65 63 6f 72 64 73 |ay, Data| Records|
|00002250| 20 66 6f 72 20 61 20 67 | 69 76 65 6e 20 72 65 76 | for a g|iven rev|
|00002260| 69 73 69 6f 6e 3b 20 74 | 68 65 20 44 61 74 61 20 |ision; t|he Data |
|00002270| 52 65 63 6f 72 64 73 20 | 61 72 65 20 6c 69 6e 6b |Records |are link|
|00002280| 65 64 20 62 79 20 74 68 | 65 69 72 20 70 72 65 76 |ed by th|eir prev|
|00002290| 69 6f 75 73 20 20 26 20 | 6e 65 78 74 20 20 70 6f |ious & |next po|
|000022a0| 69 6e 74 65 72 73 2e 0d | 52 65 63 6f 72 64 20 74 |inters..|Record t|
|000022b0| 79 70 65 73 20 35 2d 38 | 20 28 73 79 6d 62 6f 6c |ypes 5-8| (symbol|
|000022c0| 69 63 4e 61 6d 65 73 2c | 20 66 69 6c 65 4e 61 6d |icNames,| fileNam|
|000022d0| 65 73 2c 20 72 65 76 69 | 73 69 6f 6e 4e 61 6d 65 |es, revi|sionName|
|000022e0| 73 20 61 6e 64 20 61 75 | 74 68 6f 72 73 29 20 20 |s and au|thors) |
|000022f0| 68 61 76 65 20 61 6e 20 | 69 6e 74 65 72 6e 61 6c |have an |internal|
|00002300| 20 73 74 72 75 63 74 75 | 72 65 20 6b 6e 6f 77 6e | structu|re known|
|00002310| 20 61 73 20 61 20 6e 61 | 6d 65 74 61 62 6c 65 20 | as a na|metable |
|00002320| 20 28 73 65 65 20 22 6e | 61 6d 65 54 61 62 6c 65 | (see "n|ameTable|
|00002330| 2e 68 22 29 2e 20 20 41 | 6c 6c 20 74 68 65 20 69 |.h"). A|ll the i|
|00002340| 6e 73 74 61 6e 63 65 73 | 20 6f 66 20 61 20 67 69 |nstances| of a gi|
|00002350| 76 65 6e 20 72 65 63 6f | 72 64 20 61 72 65 20 6c |ven reco|rd are l|
|00002360| 69 6e 6b 65 64 20 74 6f | 67 65 74 68 65 72 20 74 |inked to|gether t|
|00002370| 6f 20 66 6f 72 6d 20 61 | 20 73 69 6e 67 6c 65 20 |o form a| single |
|00002380| 74 61 62 6c 65 2c 20 63 | 6f 6e 74 61 69 6e 69 6e |table, c|ontainin|
|00002390| 67 20 61 6c 6c 20 74 68 | 65 20 72 65 6c 65 76 61 |g all th|e releva|
|000023a0| 6e 74 20 6e 61 6d 65 73 | 2e 20 20 46 6f 72 20 65 |nt names|. For e|
|000023b0| 78 61 6d 70 6c 65 2c 20 | 61 6c 6c 20 74 68 65 20 |xample, |all the |
|000023c0| 46 69 6c 65 4e 61 6d 65 | 20 72 65 63 6f 72 64 73 |FileName| records|
|000023d0| 20 66 6f 72 20 61 20 70 | 72 6f 6a 65 63 74 20 61 | for a p|roject a|
|000023e0| 72 65 20 63 6f 6e 63 61 | 74 65 6e 61 74 65 64 20 |re conca|tenated |
|000023f0| 74 6f 20 6d 61 6b 65 20 | 75 70 20 69 74 73 20 46 |to make |up its F|
|00002400| 69 6c 65 4e 61 6d 65 20 | 74 61 62 6c 65 2e 20 20 |ileName |table. |
|00002410| 20 0d 54 68 65 20 66 69 | 6c 65 20 22 6e 61 6d 65 | .The fi|le "name|
|00002420| 74 61 62 6c 65 2e 68 22 | 20 64 65 66 69 6e 65 73 |table.h"| defines|
|00002430| 20 74 68 65 20 73 74 72 | 75 63 74 75 72 65 20 6f | the str|ucture o|
|00002440| 66 20 61 20 22 73 74 72 | 75 63 74 20 54 68 65 4e |f a "str|uct TheN|
|00002450| 61 6d 65 54 61 62 6c 65 | 22 2c 20 61 6e 64 20 69 |ameTable|", and i|
|00002460| 74 73 20 73 75 62 73 74 | 72 75 63 74 75 72 65 73 |ts subst|ructures|
|00002470| 2e 20 20 54 68 69 73 20 | 63 68 61 72 74 2c 20 73 |. This |chart, s|
|00002480| 68 6f 77 69 6e 67 20 74 | 68 65 20 6e 75 6d 62 65 |howing t|he numbe|
|00002490| 72 20 6f 66 20 62 79 74 | 65 73 20 66 6f 72 20 65 |r of byt|es for e|
|000024a0| 61 63 68 20 69 74 65 6d | 2c 20 6d 61 79 20 62 65 |ach item|, may be|
|000024b0| 20 6d 6f 72 65 20 68 65 | 6c 70 66 75 6c 20 69 6e | more he|lpful in|
|000024c0| 20 61 63 74 75 61 6c 6c | 79 20 64 65 62 75 67 67 | actuall|y debugg|
|000024d0| 69 6e 67 20 6e 61 6d 65 | 74 61 62 6c 65 73 3a 0d |ing name|tables:.|
|000024e0| 54 68 65 20 73 74 72 75 | 63 74 75 72 65 20 6f 66 |The stru|cture of|
|000024f0| 20 6e 61 6d 65 20 74 61 | 62 6c 65 73 0d 42 79 74 | name ta|bles.Byt|
|00002500| 65 73 09 44 65 73 63 72 | 69 70 74 69 6f 6e 09 0d |es.Descr|iption..|
|00002510| 34 09 73 69 7a 65 20 6f | 66 20 65 6e 74 69 72 65 |4.size o|f entire|
|00002520| 20 74 61 62 6c 65 20 69 | 6e 20 62 79 74 65 73 09 | table i|n bytes.|
|00002530| 0d 32 09 6c 61 72 67 65 | 73 74 20 49 44 20 65 76 |.2.large|st ID ev|
|00002540| 65 72 20 75 73 65 64 20 | 69 6e 20 6f 66 66 73 65 |er used |in offse|
|00002550| 74 20 74 61 62 6c 65 09 | 0d 32 09 6f 66 66 73 65 |t table.|.2.offse|
|00002560| 74 20 6f 66 20 6e 65 78 | 74 20 6e 61 6d 65 3b 20 |t of nex|t name; |
|00002570| 75 73 65 64 20 62 79 20 | 6e 6d 4e 65 78 74 4e 61 |used by |nmNextNa|
|00002580| 6d 65 09 0d 32 09 75 6e | 75 73 65 64 09 0d 32 09 |me..2.un|used..2.|
|00002590| 66 6c 61 67 20 74 6f 20 | 69 6e 64 69 63 61 74 65 |flag to |indicate|
|000025a0| 20 69 66 20 74 61 62 6c | 65 20 68 61 73 20 62 65 | if tabl|e has be|
|000025b0| 65 6e 20 6d 6f 64 69 66 | 69 65 64 09 0d 31 09 72 |en modif|ied..1.r|
|000025c0| 65 63 6f 72 64 20 74 79 | 70 65 09 0d 31 09 75 6e |ecord ty|pe..1.un|
|000025d0| 75 73 65 64 09 0d 32 09 | 6e 75 6d 62 65 72 20 6f |used..2.|number o|
|000025e0| 66 20 65 6c 65 6d 65 6e | 74 73 20 28 6e 75 6d 45 |f elemen|ts (numE|
|000025f0| 6c 65 6d 65 6e 74 73 29 | 28 64 65 74 65 72 6d 69 |lements)|(determi|
|00002600| 6e 65 73 20 23 20 6f 66 | 20 65 6e 74 72 69 65 73 |nes # of| entries|
|00002610| 20 74 6f 20 66 6f 6c 6c | 6f 77 29 09 0d 6e 75 6d | to foll|ow)..num|
|00002620| 45 6c 65 6d 65 6e 74 73 | 20 2a 34 09 6f 66 66 73 |Elements| *4.offs|
|00002630| 65 74 54 61 62 6c 65 3a | 20 73 65 72 69 65 73 20 |etTable:| series |
|00002640| 6f 66 20 65 6e 74 72 69 | 65 73 20 77 69 74 68 20 |of entri|es with |
|00002650| 74 68 65 20 66 6f 6c 6c | 6f 77 69 6e 67 20 73 74 |the foll|owing st|
|00002660| 72 75 63 74 75 72 65 20 | 28 73 74 72 75 63 74 20 |ructure |(struct |
|00002670| 4f 66 66 73 65 74 45 6e | 74 72 79 29 09 0d 09 32 |OffsetEn|try)...2|
|00002680| 09 49 44 20 63 6f 72 72 | 65 73 70 6f 6e 64 69 6e |.ID corr|espondin|
|00002690| 67 20 74 6f 20 6e 61 6d | 65 09 0d 09 32 09 6f 66 |g to nam|e...2.of|
|000026a0| 66 73 65 74 20 6f 66 20 | 49 44 20 66 72 6f 6d 20 |fset of |ID from |
|000026b0| 73 74 61 72 74 20 6f 66 | 20 6e 61 6d 65 4c 69 73 |start of| nameLis|
|000026c0| 74 09 0d 6e 75 6d 45 6c | 65 6d 65 6e 74 73 20 20 |t..numEl|ements |
|000026d0| 65 6c 65 6d 65 6e 74 73 | 20 6f 66 20 76 61 72 79 |elements| of vary|
|000026e0| 69 6e 67 20 73 69 7a 65 | 09 6e 61 6d 65 4c 69 73 |ing size|.nameLis|
|000026f0| 74 20 62 65 67 69 6e 73 | 20 68 65 72 65 3a 20 20 |t begins| here: |
|00002700| 63 6f 6e 74 61 69 6e 73 | 20 6e 75 6d 45 6c 65 6d |contains| numElem|
|00002710| 65 6e 74 73 20 20 20 65 | 6c 65 6d 65 6e 74 73 3b |ents e|lements;|
|00002720| 20 65 61 63 68 20 65 6c | 65 6d 65 6e 74 20 68 61 | each el|ement ha|
|00002730| 73 20 61 20 66 69 78 65 | 64 20 70 61 72 74 20 26 |s a fixe|d part &|
|00002740| 20 76 61 72 69 61 62 6c | 65 20 70 61 72 74 2c 20 | variabl|e part, |
|00002750| 61 73 20 66 6f 6c 6c 6f | 77 73 09 0d 09 32 09 6f |as follo|ws...2.o|
|00002760| 66 66 73 65 74 20 6f 66 | 20 6e 65 78 74 20 65 6c |ffset of| next el|
|00002770| 65 6d 65 6e 74 20 66 72 | 6f 6d 20 73 74 61 72 74 |ement fr|om start|
|00002780| 20 6f 66 20 6e 61 6d 65 | 4c 69 73 74 09 0d 09 32 | of name|List...2|
|00002790| 09 49 44 20 63 6f 72 72 | 65 73 70 6f 6e 64 69 6e |.ID corr|espondin|
|000027a0| 67 20 74 6f 20 74 68 69 | 73 20 65 6c 65 6d 65 6e |g to thi|s elemen|
|000027b0| 74 09 0d 09 31 09 69 73 | 44 75 6d 6d 79 2f 69 73 |t...1.is|Dummy/is|
|000027c0| 4f 62 73 6f 6c 65 74 65 | 20 66 6c 61 67 20 20 28 |Obsolete| flag (|
|000027d0| 66 6f 72 20 52 65 76 69 | 73 69 6f 6e 4e 61 6d 65 |for Revi|sionName|
|000027e0| 73 2c 20 74 72 75 65 20 | 69 66 20 69 74 27 73 20 |s, true |if it's |
|000027f0| 61 20 64 75 6d 6d 79 20 | 72 65 76 69 73 69 6f 6e |a dummy |revision|
|00002800| 3b 20 66 6f 72 20 46 69 | 6c 65 4e 61 6d 65 73 2c |; for Fi|leNames,|
|00002810| 20 69 66 20 66 69 6c 65 | 20 69 73 20 6f 62 73 6f | if file| is obso|
|00002820| 6c 65 74 65 29 09 0d 09 | 31 09 6e 6f 74 20 72 65 |lete)...|1.not re|
|00002830| 6c 65 76 61 6e 74 09 0d | 09 43 20 73 74 72 69 6e |levant..|.C strin|
|00002840| 67 09 74 68 69 73 20 69 | 73 20 74 68 65 20 6e 61 |g.this i|s the na|
|00002850| 6d 65 20 69 74 73 65 6c | 66 09 0d 09 34 20 2a 20 |me itsel|f...4 * |
|00002860| 6e 75 6d 62 65 72 20 6f | 66 20 49 44 45 6c 65 6d |number o|f IDElem|
|00002870| 65 6e 74 73 09 6c 69 73 | 74 20 6f 66 20 49 44 45 |ents.lis|t of IDE|
|00002880| 6c 65 6d 65 6e 74 73 20 | 09 0d 09 32 3a 20 66 69 |lements |...2: fi|
|00002890| 6c 65 49 44 09 0d 09 32 | 3a 20 72 65 76 49 44 09 |leID...2|: revID.|
|000028a0| 0d 6e 6f 74 65 3a 20 20 | 66 6f 72 20 61 6c 6c 20 |.note: |for all |
|000028b0| 72 65 63 6f 72 64 20 74 | 79 70 65 73 20 65 78 63 |record t|ypes exc|
|000028c0| 65 70 74 20 53 79 6d 62 | 6f 6c 69 63 4e 61 6d 65 |ept Symb|olicName|
|000028d0| 73 2c 20 74 68 65 72 65 | 20 69 73 20 6f 6e 6c 79 |s, there| is only|
|000028e0| 20 31 20 49 44 45 6c 65 | 6d 65 6e 74 2c 20 63 6f | 1 IDEle|ment, co|
|000028f0| 6e 73 69 73 74 69 6e 67 | 20 6f 66 20 32 20 4e 55 |nsisting| of 2 NU|
|00002900| 4c 4c 73 2e 20 20 46 6f | 72 20 53 79 6d 62 6f 6c |LLs. Fo|r Symbol|
|00002910| 69 63 4e 61 6d 65 73 2c | 20 74 68 65 72 65 20 69 |icNames,| there i|
|00002920| 73 20 61 20 73 65 72 69 | 65 73 20 6f 66 20 74 68 |s a seri|es of th|
|00002930| 65 6d 2c 20 63 6f 72 72 | 65 73 70 6f 6e 64 69 6e |em, corr|espondin|
|00002940| 67 20 74 6f 20 74 68 65 | 20 66 69 6c 65 49 44 2d |g to the| fileID-|
|00002950| 72 65 76 49 44 20 70 61 | 69 72 73 20 74 68 61 74 |revID pa|irs that|
|00002960| 20 6d 61 6b 65 20 75 70 | 20 74 68 65 20 53 79 6d | make up| the Sym|
|00002970| 62 6f 6c 69 63 4e 61 6d | 65 2c 20 61 6e 64 20 74 |bolicNam|e, and t|
|00002980| 65 72 6d 69 6e 61 74 65 | 64 20 62 79 20 61 6e 20 |erminate|d by an |
|00002990| 65 6c 65 6d 65 6e 74 20 | 63 6f 6e 74 61 69 6e 69 |element |containi|
|000029a0| 6e 67 20 32 20 4e 55 4c | 4c 73 2e 0d 4f 63 63 61 |ng 2 NUL|Ls..Occa|
|000029b0| 73 69 6f 6e 61 6c 6c 79 | 20 74 68 65 72 65 20 68 |sionally| there h|
|000029c0| 61 76 65 20 62 65 65 6e | 20 70 72 6f 62 6c 65 6d |ave been| problem|
|000029d0| 73 20 77 68 65 72 65 20 | 6e 61 6d 65 74 61 62 6c |s where |nametabl|
|000029e0| 65 73 20 68 61 76 65 20 | 62 65 65 6e 20 63 6f 72 |es have |been cor|
|000029f0| 72 75 70 74 65 64 2e 20 | 20 54 68 69 73 20 70 72 |rupted. | This pr|
|00002a00| 6f 62 6c 65 6d 20 69 73 | 20 76 65 72 79 20 6c 69 |oblem is| very li|
|00002a10| 6b 65 6c 79 20 74 6f 20 | 73 68 6f 77 20 75 70 20 |kely to |show up |
|00002a20| 77 69 74 68 20 50 72 6f | 6a 56 65 72 69 66 79 20 |with Pro|jVerify |
|00002a30| 28 75 73 69 6e 67 20 74 | 68 65 20 2d 76 65 72 62 |(using t|he -verb|
|00002a40| 6f 73 65 20 6f 70 74 69 | 6f 6e 20 77 69 6c 6c 20 |ose opti|on will |
|00002a50| 69 6e 64 69 63 61 74 65 | 20 65 78 61 63 74 6c 79 |indicate| exactly|
|00002a60| 20 77 68 65 72 65 20 74 | 68 65 20 70 72 6f 62 6c | where t|he probl|
|00002a70| 65 6d 20 69 73 2e 20 20 | 46 6f 72 20 65 78 61 6d |em is. |For exam|
|00002a80| 70 6c 65 2c 20 74 68 65 | 72 65 20 68 61 76 65 20 |ple, the|re have |
|00002a90| 62 65 65 6e 20 63 61 73 | 65 73 20 77 68 65 72 65 |been cas|es where|
|00002aa0| 20 6f 66 66 73 65 74 73 | 20 77 65 72 65 20 77 72 | offsets| were wr|
|00002ab0| 6f 6e 67 2c 20 74 68 75 | 73 20 63 61 75 73 69 6e |ong, thu|s causin|
|00002ac0| 67 20 73 6f 6d 65 20 69 | 6e 74 65 72 6e 61 6c 20 |g some i|nternal |
|00002ad0| 69 6e 63 6f 6e 73 69 73 | 74 65 6e 63 79 2e 20 20 |inconsis|tency. |
|00002ae0| 49 74 27 73 20 66 61 69 | 72 6c 79 20 73 74 72 61 |It's fai|rly stra|
|00002af0| 69 67 68 74 66 6f 72 77 | 61 72 64 20 74 6f 20 64 |ightforw|ard to d|
|00002b00| 65 74 65 72 6d 69 6e 65 | 20 77 68 61 74 20 74 68 |etermine| what th|
|00002b10| 65 20 6f 66 66 73 65 74 | 73 20 73 68 6f 75 6c 64 |e offset|s should|
|00002b20| 20 62 65 20 62 79 20 6c | 6f 6f 6b 69 6e 67 20 61 | be by l|ooking a|
|00002b30| 74 20 74 68 65 20 64 61 | 74 61 2e 0d 52 65 63 6f |t the da|ta..Reco|
|00002b40| 76 65 72 79 0d 49 6e 20 | 6f 72 64 65 72 20 74 6f |very.In |order to|
|00002b50| 20 69 6e 73 75 72 65 20 | 74 68 65 20 69 6e 74 65 | insure |the inte|
|00002b60| 67 72 69 74 79 20 6f 66 | 20 69 74 73 20 64 61 74 |grity of| its dat|
|00002b70| 61 62 61 73 65 73 2c 20 | 50 72 6f 6a 65 63 74 6f |abases, |Projecto|
|00002b80| 72 20 75 73 65 73 20 61 | 20 74 65 63 68 6e 69 71 |r uses a| techniq|
|00002b90| 75 65 20 6f 66 20 63 6f | 70 79 69 6e 67 20 61 6c |ue of co|pying al|
|00002ba0| 6c 20 70 61 67 65 73 20 | 74 68 61 74 20 61 72 65 |l pages |that are|
|00002bb0| 20 74 6f 20 62 65 20 63 | 68 61 6e 67 65 64 20 74 | to be c|hanged t|
|00002bc0| 6f 20 74 68 65 20 72 65 | 73 6f 75 72 63 65 20 66 |o the re|source f|
|00002bd0| 6f 72 6b 20 6f 66 20 74 | 68 65 20 50 72 6f 6a 65 |ork of t|he Proje|
|00002be0| 63 74 6f 72 44 42 2e 20 | 20 49 66 20 61 6e 79 74 |ctorDB. | If anyt|
|00002bf0| 68 69 6e 67 20 67 6f 65 | 73 20 77 72 6f 6e 67 20 |hing goe|s wrong |
|00002c00| 77 69 74 68 20 74 68 65 | 20 75 70 64 61 74 65 20 |with the| update |
|00002c10| 70 72 6f 63 65 73 73 20 | 28 73 75 63 68 20 61 73 |process |(such as|
|00002c20| 20 61 20 63 72 61 73 68 | 29 2c 20 74 68 65 20 70 | a crash|), the p|
|00002c30| 72 6f 6a 65 63 74 20 63 | 61 6e 20 62 65 20 72 65 |roject c|an be re|
|00002c40| 63 6f 76 65 72 65 64 20 | 62 79 20 77 72 69 74 69 |covered |by writi|
|00002c50| 6e 67 20 74 68 65 20 6f | 6c 64 20 70 61 67 65 73 |ng the o|ld pages|
|00002c60| 20 62 61 63 6b 20 66 72 | 6f 6d 20 74 68 65 20 72 | back fr|om the r|
|00002c70| 65 73 6f 75 72 63 65 20 | 66 6f 72 6b 20 74 6f 20 |esource |fork to |
|00002c80| 74 68 65 20 64 61 74 61 | 20 66 6f 72 6b 2e 0d 54 |the data| fork..T|
|00002c90| 68 65 72 65 66 6f 72 65 | 20 69 74 20 69 73 20 69 |herefore| it is i|
|00002ca0| 6d 70 6f 72 74 61 6e 74 | 20 6e 6f 74 20 74 6f 20 |mportant| not to |
|00002cb0| 61 74 74 65 6d 70 74 20 | 74 6f 20 22 66 69 78 22 |attempt |to "fix"|
|00002cc0| 20 61 20 50 72 6f 6a 65 | 63 74 6f 72 44 42 20 69 | a Proje|ctorDB i|
|00002cd0| 66 20 69 74 20 68 61 73 | 20 61 20 72 65 73 6f 75 |f it has| a resou|
|00002ce0| 72 63 65 20 66 6f 72 6b | 2e 20 20 54 68 65 20 70 |rce fork|. The p|
|00002cf0| 72 6f 6a 65 63 74 20 73 | 68 6f 75 6c 64 20 62 65 |roject s|hould be|
|00002d00| 20 6d 6f 75 6e 74 65 64 | 20 66 69 72 73 74 3b 20 | mounted| first; |
|00002d10| 74 68 65 6e 20 6f 70 65 | 6e 65 64 20 28 62 79 20 |then ope|ned (by |
|00002d20| 73 65 6c 65 63 74 69 6e | 67 20 74 68 65 20 70 72 |selectin|g the pr|
|00002d30| 6f 6a 65 63 74 20 69 6e | 20 74 68 65 20 43 68 65 |oject in| the Che|
|00002d40| 63 6b 20 4f 75 74 20 77 | 69 6e 64 6f 77 29 3b 20 |ck Out w|indow); |
|00002d50| 74 68 69 73 20 77 69 6c | 6c 20 63 61 75 73 65 20 |this wil|l cause |
|00002d60| 74 68 65 20 72 65 63 6f | 76 65 72 79 20 74 6f 20 |the reco|very to |
|00002d70| 74 61 6b 65 20 70 6c 61 | 63 65 20 61 6e 64 20 72 |take pla|ce and r|
|00002d80| 65 6d 6f 76 65 20 74 68 | 65 20 72 65 73 6f 75 72 |emove th|e resour|
|00002d90| 63 65 20 66 6f 72 6b 2e | 20 0d 49 74 20 6d 61 79 |ce fork.| .It may|
|00002da0| 20 62 65 20 75 73 65 66 | 75 6c 20 74 6f 20 73 61 | be usef|ul to sa|
|00002db0| 76 65 20 61 20 63 6f 70 | 79 20 6f 66 20 22 62 65 |ve a cop|y of "be|
|00002dc0| 66 6f 72 65 22 20 61 6e | 64 20 63 6f 6d 70 61 72 |fore" an|d compar|
|00002dd0| 65 20 69 74 20 77 69 74 | 68 20 22 61 66 74 65 72 |e it wit|h "after|
|00002de0| 22 2c 20 69 6e 20 63 61 | 73 65 20 6f 66 20 70 72 |", in ca|se of pr|
|00002df0| 6f 62 6c 65 6d 73 2e 0d | 54 6f 6f 6c 73 20 75 73 |oblems..|Tools us|
|00002e00| 65 66 75 6c 20 69 6e 20 | 64 69 61 67 6e 6f 73 69 |eful in |diagnosi|
|00002e10| 6e 67 20 70 72 6f 62 6c | 65 6d 73 0d 44 75 6d 70 |ng probl|ems.Dump|
|00002e20| 44 42 0d 44 75 6d 70 44 | 42 20 69 73 20 61 6e 20 |DB.DumpD|B is an |
|00002e30| 75 6e 73 75 70 70 6f 72 | 74 65 64 20 74 6f 6f 6c |unsuppor|ted tool|
|00002e40| 20 77 72 69 74 74 65 6e | 20 65 61 72 6c 79 20 69 | written| early i|
|00002e50| 6e 20 74 68 65 20 64 65 | 76 65 6c 6f 70 6d 65 6e |n the de|velopmen|
|00002e60| 74 20 6f 66 20 50 72 6f | 6a 65 63 74 6f 72 2e 20 |t of Pro|jector. |
|00002e70| 20 28 49 74 20 64 6f 65 | 73 6e 27 74 20 65 76 65 | (It doe|sn't eve|
|00002e80| 6e 20 73 70 69 6e 20 74 | 68 65 20 63 75 72 73 6f |n spin t|he curso|
|00002e90| 72 21 29 20 20 49 74 20 | 64 69 73 70 6c 61 79 73 |r!) It |displays|
|00002ea0| 20 61 20 73 75 6d 6d 61 | 72 79 20 6f 66 20 61 6c | a summa|ry of al|
|00002eb0| 6c 20 74 68 65 20 69 6e | 66 6f 72 6d 61 74 69 6f |l the in|formatio|
|00002ec0| 6e 20 72 65 67 61 72 64 | 69 6e 67 20 65 61 63 68 |n regard|ing each|
|00002ed0| 20 70 61 67 65 20 6f 66 | 20 74 68 65 20 50 72 6f | page of| the Pro|
|00002ee0| 6a 65 63 74 6f 72 44 42 | 2e 20 20 20 0d 53 79 6e |jectorDB|. .Syn|
|00002ef0| 74 61 78 3a 20 20 44 75 | 6d 70 44 42 20 70 72 6f |tax: Du|mpDB pro|
|00002f00| 6a 65 63 74 66 69 6c 65 | 20 20 20 28 66 75 6c 6c |jectfile| (full|
|00002f10| 20 6f 72 20 70 61 72 74 | 69 61 6c 20 70 61 74 68 | or part|ial path|
|00002f20| 6e 61 6d 65 3b 20 6d 75 | 73 74 20 69 6e 63 6c 75 |name; mu|st inclu|
|00002f30| 64 65 20 6e 61 6d 65 20 | 6f 66 20 66 69 6c 65 2c |de name |of file,|
|00002f40| 20 69 2e 65 2e 20 22 50 | 72 6f 6a 65 63 74 6f 72 | i.e. "P|rojector|
|00002f50| 44 42 22 29 0d 44 75 6d | 70 44 42 20 64 69 73 70 |DB").Dum|pDB disp|
|00002f60| 6c 61 79 73 20 0d a5 09 | 74 68 65 20 68 65 61 64 |lays ...|the head|
|00002f70| 65 72 20 66 69 65 6c 64 | 73 20 66 6f 72 20 65 61 |er field|s for ea|
|00002f80| 63 68 20 70 61 67 65 0d | a5 09 74 68 65 20 62 69 |ch page.|..the bi|
|00002f90| 74 6d 61 70 20 6f 6e 20 | 70 61 67 65 20 31 0d a5 |tmap on |page 1..|
|00002fa0| 09 74 68 65 20 70 6f 69 | 6e 74 65 72 20 73 65 63 |.the poi|nter sec|
|00002fb0| 74 69 6f 6e 73 20 6f 66 | 20 65 61 63 68 20 72 65 |tions of| each re|
|00002fc0| 63 6f 72 64 20 69 6e 20 | 74 68 65 20 70 72 6f 6a |cord in |the proj|
|00002fd0| 65 63 74 2e 20 20 54 68 | 69 73 20 69 73 20 75 73 |ect. Th|is is us|
|00002fe0| 65 66 75 6c 20 66 6f 72 | 20 74 72 61 63 69 6e 67 |eful for| tracing|
|00002ff0| 20 74 68 65 20 72 65 63 | 6f 72 64 20 68 69 65 72 | the rec|ord hier|
|00003000| 61 72 63 68 79 2e 0d 54 | 68 65 20 66 6f 6c 6c 6f |archy..T|he follo|
|00003010| 77 69 6e 67 20 69 73 20 | 73 6f 6d 65 20 73 61 6d |wing is |some sam|
|00003020| 70 6c 65 20 6f 75 74 70 | 75 74 20 66 72 6f 6d 20 |ple outp|ut from |
|00003030| 44 75 6d 70 44 42 0d 50 | 41 47 45 20 23 30 09 09 |DumpDB.P|AGE #0..|
|00003040| 09 09 48 45 41 44 45 52 | 09 09 45 4f 46 3a 20 30 |..HEADER|..EOF: 0|
|00003050| 30 41 30 30 30 09 09 50 | 41 47 45 53 49 5a 45 3a |0A000..P|AGESIZE:|
|00003060| 20 30 38 30 30 0d 09 43 | 68 65 63 6b 53 75 6d 3a | 0800..C|heckSum:|
|00003070| 09 09 34 32 37 45 30 38 | 36 41 0d 09 50 61 67 65 |..427E08|6A..Page|
|00003080| 44 69 73 6b 41 64 72 3a | 09 30 30 30 30 30 30 0d |DiskAdr:|.000000.|
|00003090| 09 53 74 61 6d 70 3a 09 | 09 09 52 45 50 50 0d 09 |.Stamp:.|..REPP..|
|000030a0| 56 65 72 73 69 6f 6e 3a | 09 09 09 30 30 30 32 0d |Version:|...0002.|
|000030b0| 09 4d 6f 64 43 6f 75 6e | 74 3a 09 09 30 30 30 30 |.ModCoun|t:..0000|
|000030c0| 32 41 0d 09 50 61 67 65 | 53 69 7a 65 3a 09 09 30 |2A..Page|Size:..0|
|000030d0| 38 30 30 0d 09 46 69 72 | 73 74 52 65 63 6f 72 64 |800..Fir|stRecord|
|000030e0| 3a 09 30 30 31 30 31 41 | 0d 09 65 6f 66 3a 09 09 |:.00101A|..eof:..|
|000030f0| 09 09 30 30 41 30 30 30 | 0d 09 46 72 65 65 50 61 |..00A000|..FreePa|
|00003100| 67 65 73 3a 09 09 30 30 | 30 30 30 30 0d 09 52 65 |ges:..00|0000..Re|
|00003110| 63 54 79 70 65 43 6f 75 | 6e 74 3a 09 30 30 30 43 |cTypeCou|nt:.000C|
|00003120| 0d 09 46 72 65 65 52 65 | 63 5b 30 5d 3a 09 09 30 |..FreeRe|c[0]:..0|
|00003130| 30 31 30 30 30 09 09 50 | 72 6f 6a 65 63 74 0d 09 |01000..P|roject..|
|00003140| 46 72 65 65 52 65 63 5b | 31 5d 3a 09 09 30 30 32 |FreeRec[|1]:..002|
|00003150| 38 30 30 09 09 46 69 6c | 65 0d 09 46 72 65 65 52 |800..Fil|e..FreeR|
|00003160| 65 63 5b 32 5d 3a 09 09 | 30 30 33 30 30 30 09 09 |ec[2]:..|003000..|
|00003170| 52 65 76 0d 09 46 72 65 | 65 52 65 63 5b 33 5d 3a |Rev..Fre|eRec[3]:|
|00003180| 09 09 30 30 32 30 30 30 | 09 09 43 6f 6d 6d 65 6e |..002000|..Commen|
|00003190| 74 0d 09 46 72 65 65 52 | 65 63 5b 34 5d 3a 09 09 |t..FreeR|ec[4]:..|
|000031a0| 30 30 30 30 30 30 09 09 | 44 61 74 61 0d 09 46 72 |000000..|Data..Fr|
|000031b0| 65 65 52 65 63 5b 35 5d | 3a 09 09 30 30 36 30 30 |eeRec[5]|:..00600|
|000031c0| 30 09 09 53 79 6d 62 6f | 6c 69 63 4e 61 6d 65 73 |0..Symbo|licNames|
|000031d0| 0d 09 46 72 65 65 52 65 | 63 5b 36 5d 3a 09 09 30 |..FreeRe|c[6]:..0|
|000031e0| 30 35 30 30 30 09 09 46 | 69 6c 65 4e 61 6d 65 73 |05000..F|ileNames|
|000031f0| 0d 09 46 72 65 65 52 65 | 63 5b 37 5d 3a 09 09 30 |..FreeRe|c[7]:..0|
|00003200| 30 34 38 30 30 09 09 52 | 65 76 4e 61 6d 65 73 0d |04800..R|evNames.|
|00003210| 09 46 72 65 65 52 65 63 | 5b 38 5d 3a 09 09 30 30 |.FreeRec|[8]:..00|
|00003220| 31 38 30 30 09 09 41 75 | 74 68 6f 72 73 0d 09 46 |1800..Au|thors..F|
|00003230| 72 65 65 52 65 63 5b 39 | 5d 3a 09 09 30 30 34 30 |reeRec[9|]:..0040|
|00003240| 30 30 09 09 52 65 73 6f | 75 72 63 65 0d 09 46 72 |00..Reso|urce..Fr|
|00003250| 65 65 52 65 63 5b 31 30 | 5d 3a 09 30 30 39 38 30 |eeRec[10|]:.00980|
|00003260| 30 09 09 44 65 6c 74 61 | 0d 09 46 72 65 65 52 65 |0..Delta|..FreeRe|
|00003270| 63 5b 31 31 5d 3a 09 30 | 30 38 30 30 30 09 09 4c |c[11]:.0|08000..L|
|00003280| 6f 67 0d 09 52 65 63 6f | 76 65 72 49 44 3a 09 09 |og..Reco|verID:..|
|00003290| 30 30 30 30 30 30 0d 50 | 41 47 45 20 23 31 20 20 |000000.P|AGE #1 |
|000032a0| 20 20 20 09 09 09 09 42 | 49 54 4d 41 50 09 09 45 | ....B|ITMAP..E|
|000032b0| 4f 46 3a 20 30 30 41 30 | 30 30 09 09 50 41 47 45 |OF: 00A0|00..PAGE|
|000032c0| 53 49 5a 45 3a 20 30 38 | 30 30 0d 09 43 68 65 63 |SIZE: 08|00..Chec|
|000032d0| 6b 53 75 6d 3a 09 09 46 | 30 30 31 31 37 46 46 0d |kSum:..F|00117FF.|
|000032e0| 09 50 61 67 65 44 69 73 | 6b 41 64 72 3a 09 30 30 |.PageDis|kAdr:.00|
|000032f0| 30 38 30 30 0d 09 52 65 | 63 6f 72 64 53 69 7a 65 |0800..Re|cordSize|
|00003300| 3a 09 09 30 30 30 30 0d | 09 50 41 47 45 23 09 09 |:..0000.|.PAGE#..|
|00003310| 09 09 09 09 09 09 09 50 | 41 47 45 53 0d 09 30 30 |.......P|AGES..00|
|00003320| 30 30 30 30 09 09 09 46 | 46 46 46 09 46 30 30 30 |0000...F|FFF.F000|
|00003330| 09 31 30 30 30 09 30 30 | 30 30 09 30 30 30 30 09 |.1000.00|00.0000.|
|00003340| 30 30 30 30 09 30 30 30 | 30 09 30 30 30 30 0d 50 |0000.000|0.0000.P|
|00003350| 41 47 45 20 23 32 20 20 | 20 20 20 09 09 52 45 43 |AGE #2 | ..REC|
|00003360| 4f 52 44 09 09 45 4f 46 | 3a 20 30 30 41 30 30 30 |ORD..EOF|: 00A000|
|00003370| 09 09 50 41 47 45 53 49 | 5a 45 3a 20 30 38 30 30 |..PAGESI|ZE: 0800|
|00003380| 0d 09 43 68 65 63 6b 53 | 75 6d 3a 09 09 30 30 30 |..CheckS|um:..000|
|00003390| 30 30 30 0d 09 50 61 67 | 65 44 69 73 6b 41 64 72 |000..Pag|eDiskAdr|
|000033a0| 3a 09 30 30 31 30 30 30 | 0d 09 52 65 63 6f 72 64 |:.001000|..Record|
|000033b0| 53 69 7a 65 3a 09 09 30 | 30 32 43 0d 09 43 75 72 |Size:..0|02C..Cur|
|000033c0| 52 65 63 43 6f 75 6e 74 | 3a 09 30 30 30 31 0d 09 |RecCount|:.0001..|
|000033d0| 4d 61 78 52 65 63 43 6f | 75 6e 74 3a 09 30 30 32 |MaxRecCo|unt:.002|
|000033e0| 44 0d 09 52 65 63 6f 72 | 64 54 79 70 65 3a 09 09 |D..Recor|dType:..|
|000033f0| 30 30 0d 09 66 69 6c 6c | 65 72 3a 09 09 09 30 30 |00..fill|er:...00|
|00003400| 0d 09 66 69 6c 6c 65 72 | 31 3a 09 09 09 30 30 30 |..filler|1:...000|
|00003410| 30 0d 09 52 65 63 76 72 | 49 44 3a 09 09 09 30 30 |0..Recvr|ID:...00|
|00003420| 30 30 30 30 0d 09 4e 65 | 78 74 46 72 65 65 50 61 |0000..Ne|xtFreePa|
|00003430| 67 65 3a 09 30 30 30 30 | 30 30 0d 09 30 30 31 30 |ge:.0000|00..0010|
|00003440| 31 41 09 09 50 72 6f 6a | 65 63 74 20 52 65 63 6f |1A..Proj|ect Reco|
|00003450| 72 64 0d 09 09 50 72 65 | 76 52 65 63 3a 09 09 30 |rd...Pre|vRec:..0|
|00003460| 30 30 30 30 30 0d 09 09 | 4e 65 78 74 52 65 63 3a |00000...|NextRec:|
|00003470| 09 09 30 30 30 30 30 30 | 0d 09 09 53 75 62 52 65 |..000000|...SubRe|
|00003480| 63 30 3a 09 09 30 30 32 | 30 31 41 09 09 43 6f 6d |c0:..002|01A..Com|
|00003490| 6d 65 6e 74 0d 09 09 53 | 75 62 52 65 63 31 3a 09 |ment...S|ubRec1:.|
|000034a0| 09 30 30 36 30 31 41 09 | 09 53 79 6d 62 6f 6c 69 |.00601A.|.Symboli|
|000034b0| 63 4e 61 6d 65 73 0d 09 | 09 53 75 62 52 65 63 32 |cNames..|.SubRec2|
|000034c0| 3a 09 09 30 30 35 30 31 | 41 09 09 46 69 6c 65 4e |:..00501|A..FileN|
|000034d0| 61 6d 65 73 0d 09 09 53 | 75 62 52 65 63 33 3a 09 |ames...S|ubRec3:.|
|000034e0| 09 30 30 32 38 36 32 09 | 09 46 69 6c 65 0d 09 09 |.002862.|.File...|
|000034f0| 53 75 62 52 65 63 34 3a | 09 09 30 30 31 38 31 41 |SubRec4:|..00181A|
|00003500| 09 09 41 75 74 68 6f 72 | 73 0d 09 09 53 75 62 52 |..Author|s...SubR|
|00003510| 65 63 35 3a 09 09 30 30 | 38 30 31 41 09 09 4c 6f |ec5:..00|801A..Lo|
|00003520| 67 0d 50 41 47 45 20 23 | 33 20 20 20 20 20 09 09 |g.PAGE #|3 ..|
|00003530| 52 45 43 4f 52 44 09 09 | 45 4f 46 3a 20 30 30 41 |RECORD..|EOF: 00A|
|00003540| 30 30 30 09 09 50 41 47 | 45 53 49 5a 45 3a 20 30 |000..PAG|ESIZE: 0|
|00003550| 38 30 30 0d 09 43 68 65 | 63 6b 53 75 6d 3a 09 09 |800..Che|ckSum:..|
|00003560| 30 30 30 30 30 30 0d 09 | 50 61 67 65 44 69 73 6b |000000..|PageDisk|
|00003570| 41 64 72 3a 09 30 30 31 | 38 30 30 0d 09 52 65 63 |Adr:.001|800..Rec|
|00003580| 6f 72 64 53 69 7a 65 3a | 09 09 30 31 46 34 0d 09 |ordSize:|..01F4..|
|00003590| 43 75 72 52 65 63 43 6f | 75 6e 74 3a 09 30 30 30 |CurRecCo|unt:.000|
|000035a0| 31 0d 09 4d 61 78 52 65 | 63 43 6f 75 6e 74 3a 09 |1..MaxRe|cCount:.|
|000035b0| 30 30 30 34 0d 09 52 65 | 63 6f 72 64 54 79 70 65 |0004..Re|cordType|
|000035c0| 3a 09 09 30 38 0d 09 66 | 69 6c 6c 65 72 3a 09 09 |:..08..f|iller:..|
|000035d0| 09 30 30 0d 09 66 69 6c | 6c 65 72 31 3a 09 09 09 |.00..fil|ler1:...|
|000035e0| 30 30 30 30 0d 09 52 65 | 63 76 72 49 44 3a 09 09 |0000..Re|cvrID:..|
|000035f0| 09 30 30 30 30 30 30 0d | 09 4e 65 78 74 46 72 65 |.000000.|.NextFre|
|00003600| 65 50 61 67 65 3a 09 30 | 30 30 30 30 30 0d 09 30 |ePage:.0|00000..0|
|00003610| 30 31 38 31 41 09 09 41 | 75 74 68 6f 72 73 20 52 |0181A..A|uthors R|
|00003620| 65 63 6f 72 64 0d 09 09 | 50 72 65 76 52 65 63 3a |ecord...|PrevRec:|
|00003630| 09 09 30 30 30 30 30 30 | 0d 09 09 4e 65 78 74 52 |..000000|...NextR|
|00003640| 65 63 3a 09 09 30 30 30 | 30 30 30 0d 50 41 47 45 |ec:..000|000.PAGE|
|00003650| 20 23 34 20 20 20 20 20 | 09 09 52 45 43 4f 52 44 | #4 |..RECORD|
|00003660| 09 09 45 4f 46 3a 20 30 | 30 41 30 30 30 09 09 50 |..EOF: 0|0A000..P|
|00003670| 41 47 45 53 49 5a 45 3a | 20 30 38 30 30 0d 09 43 |AGESIZE:| 0800..C|
|00003680| 68 65 63 6b 53 75 6d 3a | 09 09 30 30 30 30 30 30 |heckSum:|..000000|
|00003690| 0d 09 50 61 67 65 44 69 | 73 6b 41 64 72 3a 09 30 |..PageDi|skAdr:.0|
|000036a0| 30 32 30 30 30 0d 09 52 | 65 63 6f 72 64 53 69 7a |02000..R|ecordSiz|
|000036b0| 65 3a 09 09 30 30 37 43 | 0d 09 43 75 72 52 65 63 |e:..007C|..CurRec|
|000036c0| 43 6f 75 6e 74 3a 09 30 | 30 30 39 0d 09 4d 61 78 |Count:.0|009..Max|
|000036d0| 52 65 63 43 6f 75 6e 74 | 3a 09 30 30 31 30 0d 09 |RecCount|:.0010..|
|000036e0| 52 65 63 6f 72 64 54 79 | 70 65 3a 09 09 30 33 0d |RecordTy|pe:..03.|
|000036f0| 09 66 69 6c 6c 65 72 3a | 09 09 09 30 30 0d 09 66 |.filler:|...00..f|
|00003700| 69 6c 6c 65 72 31 3a 09 | 09 09 30 30 30 30 0d 09 |iller1:.|..0000..|
|00003710| 52 65 63 76 72 49 44 3a | 09 09 09 30 30 30 30 30 |RecvrID:|...00000|
|00003720| 30 0d 09 4e 65 78 74 46 | 72 65 65 50 61 67 65 3a |0..NextF|reePage:|
|00003730| 09 30 30 30 30 30 30 0d | 09 30 30 32 30 31 41 09 |.000000.|.00201A.|
|00003740| 09 43 6f 6d 6d 65 6e 74 | 20 52 65 63 6f 72 64 0d |.Comment| Record.|
|00003750| 09 09 50 72 65 76 52 65 | 63 3a 09 09 30 30 30 30 |..PrevRe|c:..0000|
|00003760| 30 30 0d 09 09 4e 65 78 | 74 52 65 63 3a 09 09 30 |00...Nex|tRec:..0|
|00003770| 30 32 30 39 36 0d 09 30 | 30 32 30 39 36 09 09 43 |02096..0|02096..C|
|00003780| 6f 6d 6d 65 6e 74 20 52 | 65 63 6f 72 64 0d 09 09 |omment R|ecord...|
|00003790| 50 72 65 76 52 65 63 3a | 09 09 30 30 32 30 31 41 |PrevRec:|..00201A|
|000037a0| 0d 09 09 4e 65 78 74 52 | 65 63 3a 09 09 30 30 30 |...NextR|ec:..000|
|000037b0| 30 30 30 0d 09 30 30 32 | 31 31 32 09 09 43 6f 6d |000..002|112..Com|
|000037c0| 6d 65 6e 74 20 52 65 63 | 6f 72 64 0d 09 09 50 72 |ment Rec|ord...Pr|
|000037d0| 65 76 52 65 63 3a 09 09 | 30 30 30 30 30 30 0d 09 |evRec:..|000000..|
|000037e0| 09 4e 65 78 74 52 65 63 | 3a 09 09 30 30 30 30 30 |.NextRec|:..00000|
|000037f0| 30 0d 09 30 30 32 31 38 | 45 09 09 43 6f 6d 6d 65 |0..00218|E..Comme|
|00003800| 6e 74 20 52 65 63 6f 72 | 64 0d 09 09 50 72 65 76 |nt Recor|d...Prev|
|00003810| 52 65 63 3a 09 09 30 30 | 30 30 30 30 0d 09 09 4e |Rec:..00|0000...N|
|00003820| 65 78 74 52 65 63 3a 09 | 09 30 30 30 30 30 30 0d |extRec:.|.000000.|
|00003830| 09 30 30 32 32 30 41 09 | 09 43 6f 6d 6d 65 6e 74 |.00220A.|.Comment|
|00003840| 20 52 65 63 6f 72 64 0d | 09 09 50 72 65 76 52 65 | Record.|..PrevRe|
|00003850| 63 3a 09 09 30 30 30 30 | 30 30 0d 09 09 4e 65 78 |c:..0000|00...Nex|
|00003860| 74 52 65 63 3a 09 09 30 | 30 30 30 30 30 0d 09 30 |tRec:..0|00000..0|
|00003870| 30 32 32 38 36 09 09 43 | 6f 6d 6d 65 6e 74 20 52 |02286..C|omment R|
|00003880| 65 63 6f 72 64 0d 09 09 | 50 72 65 76 52 65 63 3a |ecord...|PrevRec:|
|00003890| 09 09 30 30 30 30 30 30 | 0d 09 09 4e 65 78 74 52 |..000000|...NextR|
|000038a0| 65 63 3a 09 09 30 30 30 | 30 30 30 0d 09 30 30 32 |ec:..000|000..002|
|000038b0| 33 30 32 09 09 43 6f 6d | 6d 65 6e 74 20 52 65 63 |302..Com|ment Rec|
|000038c0| 6f 72 64 0d 09 09 50 72 | 65 76 52 65 63 3a 09 09 |ord...Pr|evRec:..|
|000038d0| 30 30 30 30 30 30 0d 09 | 09 4e 65 78 74 52 65 63 |000000..|.NextRec|
|000038e0| 3a 09 09 30 30 30 30 30 | 30 0d 09 30 30 32 33 37 |:..00000|0..00237|
|000038f0| 45 09 09 43 6f 6d 6d 65 | 6e 74 20 52 65 63 6f 72 |E..Comme|nt Recor|
|00003900| 64 0d 09 09 50 72 65 76 | 52 65 63 3a 09 09 30 30 |d...Prev|Rec:..00|
|00003910| 30 30 30 30 0d 09 09 4e | 65 78 74 52 65 63 3a 09 |0000...N|extRec:.|
|00003920| 09 30 30 30 30 30 30 0d | 09 30 30 32 33 46 41 09 |.000000.|.0023FA.|
|00003930| 09 43 6f 6d 6d 65 6e 74 | 20 52 65 63 6f 72 64 0d |.Comment| Record.|
|00003940| 09 09 50 72 65 76 52 65 | 63 3a 09 09 30 30 30 30 |..PrevRe|c:..0000|
|00003950| 30 30 0d 09 09 4e 65 78 | 74 52 65 63 3a 09 09 30 |00...Nex|tRec:..0|
|00003960| 30 30 30 30 30 0d 50 41 | 47 45 20 23 35 20 20 20 |00000.PA|GE #5 |
|00003970| 20 20 09 09 52 45 43 4f | 52 44 09 09 45 4f 46 3a | ..RECO|RD..EOF:|
|00003980| 20 30 30 41 30 30 30 09 | 09 50 41 47 45 53 49 5a | 00A000.|.PAGESIZ|
|00003990| 45 3a 20 30 38 30 30 0d | 09 43 68 65 63 6b 53 75 |E: 0800.|.CheckSu|
|000039a0| 6d 3a 09 09 30 30 30 30 | 30 30 0d 09 50 61 67 65 |m:..0000|00..Page|
|000039b0| 44 69 73 6b 41 64 72 3a | 09 30 30 32 38 30 30 0d |DiskAdr:|.002800.|
|000039c0| 09 52 65 63 6f 72 64 53 | 69 7a 65 3a 09 09 30 30 |.RecordS|ize:..00|
|000039d0| 32 34 0d 09 43 75 72 52 | 65 63 43 6f 75 6e 74 3a |24..CurR|ecCount:|
|000039e0| 09 30 30 30 33 0d 09 4d | 61 78 52 65 63 43 6f 75 |.0003..M|axRecCou|
|000039f0| 6e 74 3a 09 30 30 33 38 | 0d 09 52 65 63 6f 72 64 |nt:.0038|..Record|
|00003a00| 54 79 70 65 3a 09 09 30 | 31 0d 09 66 69 6c 6c 65 |Type:..0|1..fille|
|00003a10| 72 3a 09 09 09 30 30 0d | 09 66 69 6c 6c 65 72 31 |r:...00.|.filler1|
|00003a20| 3a 09 09 09 30 30 30 30 | 0d 09 52 65 63 76 72 49 |:...0000|..RecvrI|
|00003a30| 44 3a 09 09 09 30 30 30 | 30 30 30 0d 09 4e 65 78 |D:...000|000..Nex|
|00003a40| 74 46 72 65 65 50 61 67 | 65 3a 09 30 30 30 30 30 |tFreePag|e:.00000|
|00003a50| 30 0d 09 30 30 32 38 31 | 41 09 09 46 69 6c 65 20 |0..00281|A..File |
|00003a60| 52 65 63 6f 72 64 0d 09 | 09 50 72 65 76 52 65 63 |Record..|.PrevRec|
|00003a70| 3a 09 09 30 30 32 38 33 | 45 0d 09 09 4e 65 78 74 |:..00283|E...Next|
|00003a80| 52 65 63 3a 09 09 30 30 | 30 30 30 30 0d 09 09 53 |Rec:..00|0000...S|
|00003a90| 75 62 52 65 63 30 3a 09 | 09 30 30 30 30 30 30 09 |ubRec0:.|.000000.|
|00003aa0| 09 43 6f 6d 6d 65 6e 74 | 0d 09 09 53 75 62 52 65 |.Comment|...SubRe|
|00003ab0| 63 31 3a 09 09 30 30 33 | 31 41 30 09 09 52 65 76 |c1:..003|1A0..Rev|
|00003ac0| 0d 09 09 53 75 62 52 65 | 63 32 3a 09 09 30 30 34 |...SubRe|c2:..004|
|00003ad0| 38 31 41 09 09 52 65 76 | 4e 61 6d 65 73 0d 09 30 |81A..Rev|Names..0|
|00003ae0| 30 32 38 33 45 09 09 46 | 69 6c 65 20 52 65 63 6f |0283E..F|ile Reco|
|00003af0| 72 64 0d 09 09 50 72 65 | 76 52 65 63 3a 09 09 30 |rd...Pre|vRec:..0|
|00003b00| 30 32 38 36 32 0d 09 09 | 4e 65 78 74 52 65 63 3a |02862...|NextRec:|
|00003b10| 09 09 30 30 32 38 31 41 | 0d 09 09 53 75 62 52 65 |..00281A|...SubRe|
|00003b20| 63 30 3a 09 09 30 30 30 | 30 30 30 09 09 43 6f 6d |c0:..000|000..Com|
|00003b30| 6d 65 6e 74 0d 09 09 53 | 75 62 52 65 63 31 3a 09 |ment...S|ubRec1:.|
|00003b40| 09 30 30 33 32 44 38 09 | 09 52 65 76 0d 09 09 53 |.0032D8.|.Rev...S|
|00003b50| 75 62 52 65 63 32 3a 09 | 09 30 30 34 41 30 45 09 |ubRec2:.|.004A0E.|
|00003b60| 09 52 65 76 4e 61 6d 65 | 73 0d 09 30 30 32 38 36 |.RevName|s..00286|
|00003b70| 32 09 09 46 69 6c 65 20 | 52 65 63 6f 72 64 0d 09 |2..File |Record..|
|00003b80| 09 50 72 65 76 52 65 63 | 3a 09 09 30 30 30 30 30 |.PrevRec|:..00000|
|00003b90| 30 0d 09 09 4e 65 78 74 | 52 65 63 3a 09 09 30 30 |0...Next|Rec:..00|
|00003ba0| 32 38 33 45 0d 09 09 53 | 75 62 52 65 63 30 3a 09 |283E...S|ubRec0:.|
|00003bb0| 09 30 30 30 30 30 30 09 | 09 43 6f 6d 6d 65 6e 74 |.000000.|.Comment|
|00003bc0| 0d 09 09 53 75 62 52 65 | 63 31 3a 09 09 30 30 33 |...SubRe|c1:..003|
|00003bd0| 32 38 41 09 09 52 65 76 | 0d 09 09 53 75 62 52 65 |28A..Rev|...SubRe|
|00003be0| 63 32 3a 09 09 30 30 34 | 43 30 32 09 09 52 65 76 |c2:..004|C02..Rev|
|00003bf0| 4e 61 6d 65 73 0d 44 75 | 6d 70 50 72 6f 6a 65 63 |Names.Du|mpProjec|
|00003c00| 74 0d 44 75 6d 70 50 72 | 6f 6a 65 63 74 20 69 73 |t.DumpPr|oject is|
|00003c10| 20 61 6e 20 75 6e 64 6f | 63 75 6d 65 6e 74 65 64 | an undo|cumented|
|00003c20| 20 62 75 69 6c 74 69 6e | 20 4d 50 57 20 63 6f 6d | builtin| MPW com|
|00003c30| 6d 61 6e 64 2e 20 20 0d | 53 79 6e 74 61 78 3a 20 |mand. .|Syntax: |
|00003c40| 20 44 75 6d 70 50 72 6f | 6a 65 63 74 20 20 5b 2d | DumpPro|ject [-|
|00003c50| 70 5d 20 5b 2d 74 5d 20 | 5b 2d 66 5d 20 5b 2d 63 |p] [-t] |[-f] [-c|
|00003c60| 5d 20 5b 2d 6e 5d 20 70 | 72 6f 6a 65 63 74 66 69 |] [-n] p|rojectfi|
|00003c70| 6c 65 20 20 28 66 75 6c | 6c 20 6f 72 20 70 61 72 |le (ful|l or par|
|00003c80| 74 69 61 6c 20 70 61 74 | 68 6e 61 6d 65 3b 20 6d |tial pat|hname; m|
|00003c90| 75 73 74 20 69 6e 63 6c | 75 64 65 20 66 69 6c 65 |ust incl|ude file|
|00003ca0| 6e 61 6d 65 2c 20 69 2e | 65 2e 20 22 50 72 6f 6a |name, i.|e. "Proj|
|00003cb0| 65 63 74 6f 72 44 42 22 | 29 0d 54 68 65 20 64 65 |ectorDB"|).The de|
|00003cc0| 66 61 75 6c 74 20 6f 75 | 74 70 75 74 20 6f 66 20 |fault ou|tput of |
|00003cd0| 64 75 6d 70 70 72 6f 6a | 65 63 74 20 69 73 20 61 |dumpproj|ect is a|
|00003ce0| 20 6c 69 73 74 69 6e 67 | 20 6f 66 20 74 68 65 20 | listing| of the |
|00003cf0| 66 6f 6c 6c 6f 77 69 6e | 67 20 69 6e 66 6f 72 6d |followin|g inform|
|00003d00| 61 74 69 6f 6e 20 0d a5 | 09 74 68 65 20 64 61 74 |ation ..|.the dat|
|00003d10| 61 20 69 6e 20 74 68 65 | 20 70 72 6f 6a 65 63 74 |a in the| project|
|00003d20| 20 72 65 63 6f 72 64 0d | a5 09 74 68 65 20 64 61 | record.|..the da|
|00003d30| 74 61 20 69 6e 20 65 61 | 63 68 20 66 69 6c 65 20 |ta in ea|ch file |
|00003d40| 72 65 63 6f 72 64 0d a5 | 09 74 68 65 20 64 61 74 |record..|.the dat|
|00003d50| 61 20 69 6e 20 65 61 63 | 68 20 72 65 76 69 73 69 |a in eac|h revisi|
|00003d60| 6f 6e 20 72 65 63 6f 72 | 64 20 66 6f 72 20 65 61 |on recor|d for ea|
|00003d70| 63 68 20 66 69 6c 65 20 | 72 65 63 6f 72 64 20 0d |ch file |record .|
|00003d80| 4f 70 74 69 6f 6e 73 20 | 74 6f 20 64 75 6d 70 70 |Options |to dumpp|
|00003d90| 72 6f 6a 65 63 74 20 61 | 72 65 20 61 73 20 66 6f |roject a|re as fo|
|00003da0| 6c 6c 6f 77 73 3a 0d 2d | 70 3a 20 6c 69 73 74 20 |llows:.-|p: list |
|00003db0| 70 72 6f 6a 65 63 74 20 | 69 6e 66 6f 20 6f 6e 6c |project |info onl|
|00003dc0| 79 0d 2d 74 3a 09 73 68 | 6f 77 20 70 72 6f 6a 65 |y.-t:.sh|ow proje|
|00003dd0| 63 74 20 74 72 65 65 20 | 28 73 68 6f 77 73 20 66 |ct tree |(shows f|
|00003de0| 69 6c 65 20 69 6e 66 6f | 20 61 62 6f 75 74 20 61 |ile info| about a|
|00003df0| 6c 6c 20 6d 6f 75 6e 74 | 65 64 20 70 72 6f 6a 65 |ll mount|ed proje|
|00003e00| 63 74 73 20 61 6e 64 20 | 74 68 65 69 72 20 63 68 |cts and |their ch|
|00003e10| 65 63 6b 6f 75 74 64 69 | 72 73 29 0d 2d 66 3a 09 |eckoutdi|rs).-f:.|
|00003e20| 73 68 6f 77 20 6f 6e 6c | 79 20 66 69 6c 65 20 69 |show onl|y file i|
|00003e30| 6e 66 6f 2c 20 6e 6f 74 | 20 72 65 76 69 73 69 6f |nfo, not| revisio|
|00003e40| 6e 20 69 6e 66 6f 0d 2d | 63 3a 20 6c 69 73 74 20 |n info.-|c: list |
|00003e50| 63 6f 6d 6d 65 6e 74 73 | 20 77 68 65 72 65 20 61 |comments| where a|
|00003e60| 70 70 6c 69 63 61 62 6c | 65 0d 2d 6e 3a 20 6c 69 |pplicabl|e.-n: li|
|00003e70| 73 74 20 6e 61 6d 65 20 | 74 61 62 6c 65 73 20 28 |st name |tables (|
|00003e80| 61 75 74 68 6f 72 2c 20 | 66 69 6c 65 6e 61 6d 65 |author, |filename|
|00003e90| 2c 20 72 65 76 6e 61 6d | 65 2c 20 6e 6f 74 20 73 |, revnam|e, not s|
|00003ea0| 79 6d 62 6f 6c 69 63 20 | 6e 61 6d 65 73 29 0d 50 |ymbolic |names).P|
|00003eb0| 72 6f 6a 56 65 72 69 66 | 79 0d 50 72 6f 6a 56 65 |rojVerif|y.ProjVe|
|00003ec0| 72 69 66 79 20 63 61 6e | 20 68 65 6c 70 20 64 65 |rify can| help de|
|00003ed0| 74 65 72 6d 69 6e 65 20 | 74 68 65 20 69 6e 74 65 |termine |the inte|
|00003ee0| 67 72 69 74 79 20 6f 66 | 20 61 20 50 72 6f 6a 65 |grity of| a Proje|
|00003ef0| 63 74 6f 72 20 64 61 74 | 61 62 61 73 65 2e 20 20 |ctor dat|abase. |
|00003f00| 49 74 20 77 69 6c 6c 20 | 66 69 6e 64 20 6d 61 6e |It will |find man|
|00003f10| 79 2c 20 62 75 74 20 6e | 6f 74 20 61 6c 6c 2c 20 |y, but n|ot all, |
|00003f20| 65 72 72 6f 72 73 2e 0d | 49 6e 20 22 2d 76 65 72 |errors..|In "-ver|
|00003f30| 62 6f 73 65 22 20 6d 6f | 64 65 2c 20 69 74 20 70 |bose" mo|de, it p|
|00003f40| 72 6f 76 69 64 65 73 20 | 64 69 61 67 6e 6f 73 74 |rovides |diagnost|
|00003f50| 69 63 20 69 6e 66 6f 72 | 6d 61 74 69 6f 6e 20 77 |ic infor|mation w|
|00003f60| 68 69 63 68 20 63 61 6e | 20 62 65 20 75 73 65 64 |hich can| be used|
|00003f70| 20 74 6f 20 74 72 61 63 | 6b 20 64 6f 77 6e 20 26 | to trac|k down &|
|00003f80| 20 66 69 78 20 70 72 6f | 62 6c 65 6d 73 2e 0d 49 | fix pro|blems..I|
|00003f90| 74 20 61 6c 73 6f 20 70 | 72 6f 76 69 64 65 73 20 |t also p|rovides |
|00003fa0| 61 6e 20 6f 70 74 69 6f | 6e 20 74 6f 20 22 63 6f |an optio|n to "co|
|00003fb0| 6d 70 61 63 74 22 20 50 | 72 6f 6a 65 63 74 6f 72 |mpact" P|rojector|
|00003fc0| 44 42 73 2e 20 20 54 68 | 69 73 20 63 61 6e 20 75 |DBs. Th|is can u|
|00003fd0| 73 65 66 75 6c 20 61 66 | 74 65 72 20 75 73 69 6e |seful af|ter usin|
|00003fe0| 67 20 74 68 65 20 22 64 | 65 6c 65 74 65 52 65 76 |g the "d|eleteRev|
|00003ff0| 69 73 69 6f 6e 73 22 20 | 63 6f 6d 6d 61 6e 64 2e |isions" |command.|
|00004000| 20 20 57 68 65 6e 20 70 | 61 67 65 73 20 61 72 65 | When p|ages are|
|00004010| 20 66 72 65 65 64 20 75 | 70 20 77 69 74 68 69 6e | freed u|p within|
|00004020| 20 61 20 50 72 6f 6a 65 | 63 74 6f 72 20 64 61 74 | a Proje|ctor dat|
|00004030| 61 62 61 73 65 2c 20 74 | 68 65 20 66 69 6c 65 20 |abase, t|he file |
|00004040| 64 6f 65 73 20 6e 6f 74 | 20 6e 6f 72 6d 61 6c 6c |does not| normall|
|00004050| 79 20 67 65 74 20 73 6d | 61 6c 6c 65 72 3b 20 74 |y get sm|aller; t|
|00004060| 68 65 72 65 20 69 73 20 | 73 69 6d 70 6c 79 20 73 |here is |simply s|
|00004070| 70 61 63 65 20 61 76 61 | 69 6c 61 62 6c 65 20 74 |pace ava|ilable t|
|00004080| 6f 20 62 65 20 75 73 65 | 64 20 69 6e 20 74 68 65 |o be use|d in the|
|00004090| 20 66 75 74 75 72 65 2e | 0d 57 68 61 74 20 74 68 | future.|.What th|
|000040a0| 65 20 70 72 6f 67 72 61 | 6d 20 63 68 65 63 6b 73 |e progra|m checks|
|000040b0| 0d a5 09 54 68 65 20 6d | 61 69 6e 20 74 68 69 6e |...The m|ain thin|
|000040c0| 67 20 74 68 61 74 20 50 | 72 6f 6a 56 65 72 69 66 |g that P|rojVerif|
|000040d0| 79 20 64 6f 65 73 20 69 | 73 20 74 6f 20 63 68 65 |y does i|s to che|
|000040e0| 63 6b 20 66 6f 72 20 74 | 68 65 20 63 6f 6e 73 69 |ck for t|he consi|
|000040f0| 73 74 65 6e 63 79 20 6f | 66 20 70 6f 69 6e 74 65 |stency o|f pointe|
|00004100| 72 73 2e 20 20 54 68 69 | 73 20 69 73 20 69 6d 70 |rs. Thi|s is imp|
|00004110| 6f 72 74 61 6e 74 2c 20 | 62 65 63 61 75 73 65 20 |ortant, |because |
|00004120| 69 66 20 61 6e 79 20 6f | 66 20 74 68 65 73 65 20 |if any o|f these |
|00004130| 61 72 65 20 77 72 6f 6e | 67 2c 20 63 6f 6e 63 65 |are wron|g, conce|
|00004140| 69 76 61 62 6c 79 20 74 | 68 65 20 65 6e 74 69 72 |ivably t|he entir|
|00004150| 65 20 64 61 74 61 62 61 | 73 65 20 63 6f 75 6c 64 |e databa|se could|
|00004160| 20 62 65 20 75 6e 75 73 | 61 62 6c 65 2e 20 20 52 | be unus|able. R|
|00004170| 65 63 6f 72 64 20 70 6f | 69 6e 74 65 72 73 20 61 |ecord po|inters a|
|00004180| 72 65 20 63 68 65 63 6b | 65 64 20 69 6e 20 68 69 |re check|ed in hi|
|00004190| 65 72 61 72 63 68 69 63 | 61 6c 20 6f 72 64 65 72 |erarchic|al order|
|000041a0| 2e 20 28 53 65 65 20 61 | 62 6f 76 65 20 66 6f 72 |. (See a|bove for|
|000041b0| 20 64 65 73 63 72 69 70 | 74 69 6f 6e 20 6f 66 20 | descrip|tion of |
|000041c0| 72 65 63 6f 72 64 20 68 | 69 65 72 61 72 63 68 79 |record h|ierarchy|
|000041d0| 29 2e 20 20 41 6c 6c 20 | 6f 66 20 74 68 65 20 70 |). All |of the p|
|000041e0| 6f 69 6e 74 65 72 73 20 | 61 72 65 20 63 68 65 63 |ointers |are chec|
|000041f0| 6b 65 64 20 74 6f 20 6d | 61 6b 65 20 73 75 72 65 |ked to m|ake sure|
|00004200| 20 74 68 65 20 72 65 63 | 6f 72 64 73 20 74 68 65 | the rec|ords the|
|00004210| 79 20 70 6f 69 6e 74 20 | 74 6f 20 61 72 65 20 69 |y point |to are i|
|00004220| 6e 64 65 65 64 20 74 68 | 65 72 65 2e 0d a5 09 56 |ndeed th|ere....V|
|00004230| 61 72 69 6f 75 73 20 66 | 69 65 6c 64 73 20 69 6e |arious f|ields in|
|00004240| 20 74 68 65 20 44 42 20 | 48 65 61 64 65 72 20 28 | the DB |Header (|
|00004250| 70 61 67 65 20 30 29 20 | 61 6e 64 20 62 69 74 6d |page 0) |and bitm|
|00004260| 61 70 20 70 61 67 65 20 | 28 70 61 67 65 20 31 29 |ap page |(page 1)|
|00004270| 20 61 72 65 20 63 68 65 | 63 6b 65 64 2e 0d a5 09 | are che|cked....|
|00004280| 54 68 6f 73 65 20 72 65 | 63 6f 72 64 20 74 79 70 |Those re|cord typ|
|00004290| 65 73 20 77 68 69 63 68 | 20 61 72 65 20 64 65 73 |es which| are des|
|000042a0| 69 67 6e 61 74 65 64 20 | 61 73 20 6e 61 6d 65 74 |ignated |as namet|
|000042b0| 61 62 6c 65 73 20 68 61 | 76 65 20 61 64 64 69 74 |ables ha|ve addit|
|000042c0| 69 6f 6e 61 6c 20 63 68 | 65 63 6b 69 6e 67 20 74 |ional ch|ecking t|
|000042d0| 6f 20 76 65 72 69 66 79 | 20 63 6f 6e 73 69 73 74 |o verify| consist|
|000042e0| 65 6e 63 79 20 6f 66 20 | 64 61 74 61 20 77 69 74 |ency of |data wit|
|000042f0| 68 69 6e 20 74 68 65 20 | 6e 61 6d 65 74 61 62 6c |hin the |nametabl|
|00004300| 65 73 2e 0d a5 09 54 68 | 65 20 64 61 74 61 62 61 |es....Th|e databa|
|00004310| 73 65 20 6b 65 65 70 73 | 20 74 72 61 63 6b 20 6f |se keeps| track o|
|00004320| 66 20 70 61 67 65 73 20 | 77 68 69 63 68 20 63 6f |f pages |which co|
|00004330| 6e 74 61 69 6e 20 66 72 | 65 65 20 73 6c 6f 74 73 |ntain fr|ee slots|
|00004340| 20 66 6f 72 20 65 61 63 | 68 20 74 79 70 65 20 6f | for eac|h type o|
|00004350| 66 20 72 65 63 6f 72 64 | 2c 20 62 79 20 6d 65 61 |f record|, by mea|
|00004360| 6e 73 20 6f 66 20 61 20 | 6c 69 6e 6b 65 64 20 6c |ns of a |linked l|
|00004370| 69 73 74 2e 20 20 54 68 | 65 20 70 6f 69 6e 74 65 |ist. Th|e pointe|
|00004380| 72 73 20 69 6e 20 74 68 | 69 73 20 6c 69 73 74 20 |rs in th|is list |
|00004390| 61 72 65 20 63 68 65 63 | 6b 65 64 20 66 6f 72 20 |are chec|ked for |
|000043a0| 63 6f 6e 73 69 73 74 65 | 6e 63 79 2e 0d 57 68 61 |consiste|ncy..Wha|
|000043b0| 74 20 74 68 65 20 70 72 | 6f 67 72 61 6d 20 64 6f |t the pr|ogram do|
|000043c0| 65 73 20 6e 6f 74 20 63 | 68 65 63 6b 0d a5 09 54 |es not c|heck...T|
|000043d0| 68 65 20 64 61 74 61 20 | 73 65 63 74 69 6f 6e 73 |he data |sections|
|000043e0| 20 6f 66 20 74 68 65 20 | 72 65 63 6f 72 64 73 20 | of the |records |
|000043f0| 74 68 65 6d 73 65 6c 76 | 65 73 20 61 72 65 20 6e |themselv|es are n|
|00004400| 6f 74 20 63 68 65 63 6b | 65 64 2e 20 20 54 68 65 |ot check|ed. The|
|00004410| 72 65 66 6f 72 65 2c 20 | 69 74 20 77 6f 75 6c 64 |refore, |it would|
|00004420| 20 62 65 20 70 6f 73 73 | 69 62 6c 65 20 74 6f 20 | be poss|ible to |
|00004430| 63 6f 72 72 75 70 74 20 | 61 20 64 61 74 61 62 61 |corrupt |a databa|
|00004440| 73 65 20 62 79 20 63 68 | 61 6e 67 69 6e 67 20 73 |se by ch|anging s|
|00004450| 6f 6d 65 20 62 79 74 65 | 73 20 77 69 74 68 69 6e |ome byte|s within|
|00004460| 20 61 20 44 61 74 61 20 | 52 65 63 6f 72 64 2c 20 | a Data |Record, |
|00004470| 6f 72 20 73 6f 6d 65 20 | 6f 74 68 65 72 20 74 79 |or some |other ty|
|00004480| 70 65 20 6f 66 20 72 65 | 63 6f 72 64 2c 20 61 6e |pe of re|cord, an|
|00004490| 64 20 74 68 69 73 20 77 | 6f 75 6c 64 20 6e 6f 74 |d this w|ould not|
|000044a0| 20 73 68 6f 77 20 75 70 | 20 69 6e 20 50 72 6f 6a | show up| in Proj|
|000044b0| 56 65 72 69 66 79 2e 20 | 20 55 73 75 61 6c 6c 79 |Verify. | Usually|
|000044c0| 20 69 6e 20 73 75 63 68 | 20 63 61 73 65 73 20 74 | in such| cases t|
|000044d0| 68 65 20 64 61 6d 61 67 | 65 64 20 77 69 6c 6c 20 |he damag|ed will |
|000044e0| 62 65 20 6c 6f 63 61 6c | 69 7a 65 64 20 74 6f 20 |be local|ized to |
|000044f0| 61 20 70 61 72 74 69 63 | 75 6c 61 72 20 72 65 76 |a partic|ular rev|
|00004500| 69 73 69 6f 6e 20 6f 72 | 20 66 69 6c 65 2e 0d 44 |ision or| file..D|
|00004510| 69 61 67 6e 6f 73 74 69 | 63 20 6d 65 73 73 61 67 |iagnosti|c messag|
|00004520| 65 73 0d a5 09 54 68 65 | 20 6e 75 6d 62 65 72 20 |es...The| number |
|00004530| 6f 66 20 62 79 74 65 73 | 20 74 68 61 74 20 77 69 |of bytes| that wi|
|00004540| 6c 6c 20 62 65 20 73 61 | 76 65 64 20 69 66 20 63 |ll be sa|ved if c|
|00004550| 6f 6d 70 61 63 74 69 6f | 6e 20 69 73 20 64 6f 6e |ompactio|n is don|
|00004560| 65 20 69 73 20 64 69 73 | 70 6c 61 79 65 64 2e 0d |e is dis|played..|
|00004570| a5 09 41 20 73 74 61 74 | 75 73 20 6f 66 20 32 20 |..A stat|us of 2 |
|00004580| 69 73 20 72 65 74 75 72 | 6e 65 64 20 69 66 20 74 |is retur|ned if t|
|00004590| 68 65 72 65 20 61 72 65 | 20 61 6e 79 20 65 72 72 |here are| any err|
|000045a0| 6f 72 73 20 69 6e 20 74 | 68 65 20 76 61 6c 69 64 |ors in t|he valid|
|000045b0| 61 74 69 6f 6e 2e 20 20 | 43 6f 6d 70 61 63 74 69 |ation. |Compacti|
|000045c0| 6f 6e 20 6e 65 76 65 72 | 20 20 70 72 6f 63 65 65 |on never| procee|
|000045d0| 64 73 20 69 66 20 74 68 | 65 72 65 20 68 61 76 65 |ds if th|ere have|
|000045e0| 20 62 65 65 6e 20 61 6e | 79 20 65 72 72 6f 72 73 | been an|y errors|
|000045f0| 2e 0d a5 09 49 6e 20 6e | 6f 6e 2d 76 65 72 62 6f |....In n|on-verbo|
|00004600| 73 65 20 6d 6f 64 65 2c | 20 74 68 65 20 65 72 72 |se mode,| the err|
|00004610| 6f 72 20 6d 65 73 73 61 | 67 65 73 20 61 72 65 20 |or messa|ges are |
|00004620| 6e 6f 74 20 74 65 72 72 | 69 62 6c 79 20 69 6e 66 |not terr|ibly inf|
|00004630| 6f 72 6d 61 74 69 76 65 | 2c 20 63 65 72 74 61 69 |ormative|, certai|
|00004640| 6e 6c 79 20 6e 6f 74 20 | 74 6f 20 74 68 65 20 75 |nly not |to the u|
|00004650| 73 65 72 2e 20 20 54 68 | 65 79 20 73 69 6d 70 6c |ser. Th|ey simpl|
|00004660| 79 20 69 6e 64 69 63 61 | 74 65 20 77 68 65 74 68 |y indica|te wheth|
|00004670| 65 72 20 6f 72 20 6e 6f | 74 20 74 68 65 72 65 20 |er or no|t there |
|00004680| 61 72 65 20 61 6e 79 20 | 70 72 6f 62 6c 65 6d 73 |are any |problems|
|00004690| 20 69 6e 20 74 68 65 20 | 64 61 74 61 62 61 73 65 | in the |database|
|000046a0| 2e 20 20 20 20 0d a5 09 | 49 6e 20 22 2d 76 65 72 |. ...|In "-ver|
|000046b0| 62 6f 73 65 22 20 6d 6f | 64 65 2c 20 74 68 65 20 |bose" mo|de, the |
|000046c0| 65 6e 74 69 72 65 20 72 | 65 63 6f 72 64 20 68 69 |entire r|ecord hi|
|000046d0| 65 72 61 72 63 68 79 20 | 69 73 20 64 69 73 70 6c |erarchy |is displ|
|000046e0| 61 79 65 64 20 28 69 2e | 65 2e 20 74 68 65 20 61 |ayed (i.|e. the a|
|000046f0| 64 64 72 65 73 73 20 6f | 66 20 65 61 63 68 20 72 |ddress o|f each r|
|00004700| 65 63 6f 72 64 20 77 69 | 74 68 20 69 74 73 20 73 |ecord wi|th its s|
|00004710| 75 62 2d 72 65 63 6f 72 | 64 73 29 2e 20 20 49 6e |ub-recor|ds). In|
|00004720| 66 6f 72 6d 61 74 69 6f | 6e 20 61 62 6f 75 74 20 |formatio|n about |
|00004730| 65 61 63 68 20 6e 61 6d | 65 20 74 61 62 6c 65 20 |each nam|e table |
|00004740| 69 73 20 61 6c 73 6f 20 | 64 69 73 70 6c 61 79 65 |is also |displaye|
|00004750| 64 2e 0d a5 09 54 68 65 | 72 65 20 61 72 65 20 63 |d....The|re are c|
|00004760| 65 72 74 61 69 6e 20 65 | 72 72 6f 72 73 20 77 68 |ertain e|rrors wh|
|00004770| 69 63 68 20 61 62 6f 72 | 74 20 74 68 65 20 63 68 |ich abor|t the ch|
|00004780| 65 63 6b 69 6e 67 20 2c | 20 62 65 63 61 75 73 65 |ecking ,| because|
|00004790| 20 74 68 65 20 72 65 6d | 61 69 6e 69 6e 67 20 64 | the rem|aining d|
|000047a0| 61 74 61 20 69 73 20 6e | 6f 74 20 6e 65 63 65 73 |ata is n|ot neces|
|000047b0| 73 61 72 69 6c 79 20 76 | 61 6c 69 64 2e 20 20 49 |sarily v|alid. I|
|000047c0| 6e 20 6f 74 68 65 72 20 | 63 61 73 65 73 2c 20 74 |n other |cases, t|
|000047d0| 68 65 20 63 68 65 63 6b | 69 6e 67 20 70 72 6f 63 |he check|ing proc|
|000047e0| 65 65 64 73 20 61 6c 6c | 20 74 68 65 20 77 61 79 |eeds all| the way|
|000047f0| 20 65 76 65 6e 20 74 68 | 6f 75 67 68 20 61 6e 20 | even th|ough an |
|00004800| 65 72 72 6f 72 20 68 61 | 73 20 62 65 65 6e 20 66 |error ha|s been f|
|00004810| 6f 75 6e 64 2e 0d 44 75 | 6d 70 46 69 6c 65 0d 41 |ound..Du|mpFile.A|
|00004820| 20 73 74 61 6e 64 61 72 | 64 20 4d 50 57 20 74 6f | standar|d MPW to|
|00004830| 6f 6c 2e 20 20 53 6f 6d | 65 74 69 6d 65 73 20 6e |ol. Som|etimes n|
|00004840| 65 65 64 65 64 20 74 6f | 20 64 75 6d 70 20 74 68 |eeded to| dump th|
|00004850| 65 20 65 78 61 63 74 20 | 63 6f 6e 74 65 6e 74 73 |e exact |contents|
|00004860| 20 6f 66 20 61 20 70 61 | 67 65 2c 20 6f 72 20 70 | of a pa|ge, or p|
|00004870| 61 72 74 20 74 68 65 72 | 65 6f 66 2c 20 6f 6e 63 |art ther|eof, onc|
|00004880| 65 20 74 68 65 20 61 64 | 64 72 65 73 73 65 73 20 |e the ad|dresses |
|00004890| 6f 66 20 74 68 65 20 6e | 65 65 64 65 64 20 64 61 |of the n|eeded da|
|000048a0| 74 61 20 68 61 76 65 20 | 62 65 65 6e 20 64 65 74 |ta have |been det|
|000048b0| 65 72 6d 69 6e 65 64 2e | 20 20 49 74 20 69 73 20 |ermined.| It is |
|000048c0| 75 73 65 66 75 6c 20 74 | 6f 20 75 73 65 20 74 68 |useful t|o use th|
|000048d0| 65 20 22 2d 72 22 20 6f | 70 74 69 6f 6e 20 77 68 |e "-r" o|ption wh|
|000048e0| 69 63 68 20 64 69 73 70 | 6c 61 79 73 20 61 20 72 |ich disp|lays a r|
|000048f0| 61 6e 67 65 20 6f 66 20 | 62 79 74 65 73 2c 20 65 |ange of |bytes, e|
|00004900| 2e 67 2e 0d 64 75 6d 70 | 66 69 6c 65 20 50 72 6f |.g..dump|file Pro|
|00004910| 6a 65 63 74 6f 72 44 42 | 20 2d 72 20 24 33 38 30 |jectorDB| -r $380|
|00004920| 30 2c 24 33 46 46 46 20 | 20 20 20 20 2d 2d 54 68 |0,$3FFF | --Th|
|00004930| 69 73 20 64 69 73 70 6c | 61 79 73 20 74 68 65 20 |is displ|ays the |
|00004940| 64 61 74 61 20 6f 6e 20 | 70 61 67 65 20 37 20 6f |data on |page 7 o|
|00004950| 66 20 74 68 65 20 70 72 | 6f 6a 65 63 74 2e 0d 50 |f the pr|oject..P|
|00004960| 72 6f 6a 65 63 74 49 6e | 66 6f 0d 54 68 65 20 62 |rojectIn|fo.The b|
|00004970| 75 69 6c 74 69 6e 20 50 | 72 6f 6a 65 63 74 6f 72 |uiltin P|rojector|
|00004980| 20 63 6f 6d 6d 61 6e 64 | 2c 20 77 69 74 68 20 76 | command|, with v|
|00004990| 61 72 69 6f 75 73 20 6f | 70 74 69 6f 6e 73 2e 20 |arious o|ptions. |
|000049a0| 20 43 61 6e 20 62 65 20 | 75 73 65 64 20 77 68 65 | Can be |used whe|
|000049b0| 6e 20 74 68 65 20 70 72 | 6f 6a 65 63 74 20 69 73 |n the pr|oject is|
|000049c0| 20 6d 6f 75 6e 74 65 64 | 2e 20 20 43 6f 72 72 65 | mounted|. Corre|
|000049d0| 73 70 6f 6e 64 73 20 73 | 6f 6d 65 77 68 61 74 20 |sponds s|omewhat |
|000049e0| 74 6f 20 74 68 65 20 64 | 61 74 61 20 69 6e 20 64 |to the d|ata in d|
|000049f0| 75 6d 70 50 72 6f 6a 65 | 63 74 2e 0d 41 20 64 69 |umpProje|ct..A di|
|00004a00| 73 6b 20 65 64 69 74 6f | 72 20 28 65 2e 67 2e 20 |sk edito|r (e.g. |
|00004a10| 53 55 4d 20 54 6f 6f 6c | 73 2c 20 4e 6f 72 74 6f |SUM Tool|s, Norto|
|00004a20| 6e 20 55 74 69 6c 69 74 | 69 65 73 29 0d 4e 65 65 |n Utilit|ies).Nee|
|00004a30| 64 65 64 20 66 6f 72 20 | 61 63 74 75 61 6c 6c 79 |ded for |actually|
|00004a40| 20 63 68 61 6e 67 69 6e | 67 20 64 61 74 61 20 69 | changin|g data i|
|00004a50| 6e 20 74 68 65 20 66 69 | 6c 65 73 2e 0d 43 61 75 |n the fi|les..Cau|
|00004a60| 73 65 73 20 6f 66 20 63 | 6f 72 72 75 70 74 69 6f |ses of c|orruptio|
|00004a70| 6e 0d 54 68 65 20 6d 61 | 69 6e 20 74 79 70 65 73 |n.The ma|in types|
|00004a80| 20 6f 66 20 63 6f 72 72 | 75 70 74 69 6f 6e 20 74 | of corr|uption t|
|00004a90| 68 61 74 20 68 61 76 65 | 20 62 65 65 6e 20 65 6e |hat have| been en|
|00004aa0| 63 6f 75 6e 74 65 72 65 | 64 20 61 72 65 20 61 73 |countere|d are as|
|00004ab0| 20 66 6f 6c 6c 6f 77 73 | 3a 0d a5 09 54 68 65 72 | follows|:...Ther|
|00004ac0| 65 20 68 61 76 65 20 62 | 65 65 6e 20 6b 6e 6f 77 |e have b|een know|
|00004ad0| 6e 20 62 75 67 73 2d 2d | 6e 6f 77 20 66 69 78 65 |n bugs--|now fixe|
|00004ae0| 64 2d 2d 77 68 65 72 65 | 20 61 20 64 61 74 61 62 |d--where| a datab|
|00004af0| 61 73 65 20 63 6f 75 6c | 64 20 62 65 20 63 6f 72 |ase coul|d be cor|
|00004b00| 72 75 70 74 65 64 20 77 | 68 65 6e 20 6f 70 65 72 |rupted w|hen oper|
|00004b10| 61 74 69 6e 67 20 75 6e | 64 65 72 20 6c 6f 77 2d |ating un|der low-|
|00004b20| 64 69 73 6b 2d 73 70 61 | 63 65 20 63 6f 6e 64 69 |disk-spa|ce condi|
|00004b30| 74 69 6f 6e 73 2e 20 0d | a5 09 49 6e 20 31 39 39 |tions. .|..In 199|
|00004b40| 30 20 73 6f 6d 65 20 65 | 78 70 65 72 69 6d 65 6e |0 some e|xperimen|
|00004b50| 74 61 6c 20 76 65 72 73 | 69 6f 6e 73 20 6f 66 20 |tal vers|ions of |
|00004b60| 74 68 65 20 4d 50 57 20 | 53 68 65 6c 6c 2c 20 63 |the MPW |Shell, c|
|00004b70| 6f 6e 74 61 69 6e 69 6e | 67 20 65 72 72 6f 6e 65 |ontainin|g errone|
|00004b80| 6f 75 73 6c 79 20 67 65 | 6e 65 72 61 74 65 64 20 |ously ge|nerated |
|00004b90| 63 6f 64 65 20 64 75 65 | 20 74 6f 20 62 75 67 73 |code due| to bugs|
|00004ba0| 20 69 6e 20 74 68 65 20 | 43 20 63 6f 6d 70 69 6c | in the |C compil|
|00004bb0| 65 72 2c 20 77 65 72 65 | 20 69 6e 61 64 76 65 72 |er, were| inadver|
|00004bc0| 74 65 6e 74 6c 79 20 72 | 65 6c 65 61 73 65 64 20 |tently r|eleased |
|00004bd0| 74 6f 20 6d 65 6d 62 65 | 72 73 20 6f 66 20 74 68 |to membe|rs of th|
|00004be0| 65 20 73 79 73 74 65 6d | 20 73 6f 66 74 77 61 72 |e system| softwar|
|00004bf0| 65 20 74 65 61 6d 2e 20 | 20 41 73 20 61 20 72 65 |e team. | As a re|
|00004c00| 73 75 6c 74 2c 20 73 6f | 6d 65 20 6f 66 20 74 68 |sult, so|me of th|
|00004c10| 65 69 72 20 64 61 74 61 | 62 61 73 65 73 20 62 65 |eir data|bases be|
|00004c20| 63 61 6d 65 20 63 6f 72 | 72 75 70 74 2e 0d a5 09 |came cor|rupt....|
|00004c30| 54 68 65 72 65 20 77 61 | 73 20 61 20 62 75 67 20 |There wa|s a bug |
|00004c40| 69 6e 20 74 68 65 20 22 | 72 65 63 6f 76 65 72 79 |in the "|recovery|
|00004c50| 22 20 63 6f 64 65 20 77 | 68 69 63 68 20 77 72 6f |" code w|hich wro|
|00004c60| 74 65 20 73 6f 6d 65 20 | 67 61 72 62 61 67 65 20 |te some |garbage |
|00004c70| 74 6f 20 74 68 65 20 32 | 6e 64 20 62 69 74 6d 61 |to the 2|nd bitma|
|00004c80| 70 20 70 61 67 65 20 69 | 6e 20 61 20 66 69 6c 65 |p page i|n a file|
|00004c90| 20 6f 76 65 72 20 33 32 | 20 4d 65 67 20 69 6e 20 | over 32| Meg in |
|00004ca0| 73 69 7a 65 2c 20 74 68 | 65 72 65 62 79 20 63 6f |size, th|ereby co|
|00004cb0| 72 72 75 70 74 69 6e 67 | 20 74 68 65 20 70 72 6f |rrupting| the pro|
|00004cc0| 6a 65 63 74 2e 20 20 54 | 68 69 73 20 68 61 73 20 |ject. T|his has |
|00004cd0| 62 65 65 6e 20 66 69 78 | 65 64 20 69 6e 20 74 68 |been fix|ed in th|
|00004ce0| 65 20 6c 61 74 65 73 74 | 20 50 72 6f 6a 65 63 74 |e latest| Project|
|00004cf0| 6f 72 20 73 6f 75 72 63 | 65 73 2c 20 62 75 74 20 |or sourc|es, but |
|00004d00| 68 61 73 20 6e 6f 74 20 | 62 65 65 6e 20 69 6e 63 |has not |been inc|
|00004d10| 6f 72 70 6f 72 61 74 65 | 64 20 69 6e 74 6f 20 61 |orporate|d into a|
|00004d20| 6e 20 6f 66 66 69 63 69 | 61 6c 20 72 65 6c 65 61 |n offici|al relea|
|00004d30| 73 65 20 79 65 74 2e 0d | a5 09 41 6e 79 20 6b 69 |se yet..|..Any ki|
|00004d40| 6e 64 20 6f 66 20 72 65 | 61 64 2f 77 72 69 74 65 |nd of re|ad/write|
|00004d50| 20 65 72 72 6f 72 2c 20 | 77 68 65 74 68 65 72 20 | error, |whether |
|00004d60| 61 73 20 61 20 72 65 73 | 75 6c 74 20 6f 66 20 6e |as a res|ult of n|
|00004d70| 65 74 77 6f 72 6b 20 70 | 72 6f 62 6c 65 6d 73 2c |etwork p|roblems,|
|00004d80| 20 53 43 53 49 20 70 72 | 6f 62 6c 65 6d 73 2c 20 | SCSI pr|oblems, |
|00004d90| 6f 72 20 6f 74 68 65 72 | 2c 20 63 61 6e 20 70 6f |or other|, can po|
|00004da0| 74 65 6e 74 69 61 6c 6c | 79 20 68 61 76 65 20 64 |tentiall|y have d|
|00004db0| 65 76 61 73 74 61 74 69 | 6e 67 20 63 6f 6e 73 65 |evastati|ng conse|
|00004dc0| 71 75 65 6e 63 65 73 2e | 20 20 41 74 20 62 65 73 |quences.| At bes|
|00004dd0| 74 2c 20 6f 6e 65 20 6f | 72 20 6d 6f 72 65 20 63 |t, one o|r more c|
|00004de0| 68 61 72 61 63 74 65 72 | 73 20 69 6e 20 61 20 66 |haracter|s in a f|
|00004df0| 69 6c 65 20 63 6f 75 6c | 64 20 62 65 20 77 72 6f |ile coul|d be wro|
|00004e00| 6e 67 2e 20 20 41 74 20 | 77 6f 72 73 74 2c 20 63 |ng. At |worst, c|
|00004e10| 68 61 6e 67 69 6e 67 20 | 61 20 70 6f 69 6e 74 65 |hanging |a pointe|
|00004e20| 72 20 6f 72 20 6f 74 68 | 65 72 20 76 61 6c 75 65 |r or oth|er value|
|00004e30| 20 69 6e 20 74 68 65 20 | 64 61 74 61 62 61 73 65 | in the |database|
|00004e40| 20 63 6f 75 6c 64 20 6d | 61 6b 65 20 69 74 20 69 | could m|ake it i|
|00004e50| 6d 70 6f 73 73 69 62 6c | 65 20 74 6f 20 63 68 65 |mpossibl|e to che|
|00004e60| 63 6b 20 6f 75 74 20 63 | 65 72 74 61 69 6e 20 66 |ck out c|ertain f|
|00004e70| 69 6c 65 73 20 6f 72 20 | 65 76 65 6e 20 75 73 65 |iles or |even use|
|00004e80| 20 74 68 65 20 70 72 6f | 6a 65 63 74 20 61 74 20 | the pro|ject at |
|00004e90| 61 6c 6c 2e 20 20 28 54 | 68 65 20 50 72 6f 6a 56 |all. (T|he ProjV|
|00004ea0| 65 72 69 66 79 20 74 6f | 6f 6c 20 69 73 20 64 65 |erify to|ol is de|
|00004eb0| 73 69 67 6e 65 64 20 74 | 6f 20 64 65 74 65 63 74 |signed t|o detect|
|00004ec0| 20 73 75 63 68 20 63 6f | 6e 64 69 74 69 6f 6e 73 | such co|nditions|
|00004ed0| 29 2e 20 0d 48 65 61 64 | 65 72 20 66 69 6c 65 73 |). .Head|er files|
|00004ee0| 0d 72 65 63 6d 67 72 2e | 68 0d 74 79 70 65 64 65 |.recmgr.|h.typede|
|00004ef0| 66 20 65 6e 75 6d 20 7b | 0d 09 50 72 6f 6a 65 63 |f enum {|..Projec|
|00004f00| 74 52 65 63 54 79 70 65 | 3d 30 2c 0d 09 46 69 6c |tRecType|=0,..Fil|
|00004f10| 65 52 65 63 54 79 70 65 | 2c 0d 09 52 65 76 52 65 |eRecType|,..RevRe|
|00004f20| 63 54 79 70 65 2c 0d 09 | 43 6f 6d 6d 65 6e 74 52 |cType,..|CommentR|
|00004f30| 65 63 54 79 70 65 2c 0d | 09 44 61 74 61 52 65 63 |ecType,.|.DataRec|
|00004f40| 54 79 70 65 2c 0d 09 53 | 79 6d 62 6f 6c 69 63 4e |Type,..S|ymbolicN|
|00004f50| 61 6d 65 73 52 65 63 54 | 79 70 65 2c 0d 09 46 69 |amesRecT|ype,..Fi|
|00004f60| 6c 65 4e 61 6d 65 73 52 | 65 63 54 79 70 65 2c 0d |leNamesR|ecType,.|
|00004f70| 09 52 65 76 4e 61 6d 65 | 73 52 65 63 54 79 70 65 |.RevName|sRecType|
|00004f80| 2c 0d 09 41 75 74 68 6f | 72 73 52 65 63 54 79 70 |,..Autho|rsRecTyp|
|00004f90| 65 2c 0d 09 52 65 73 6f | 75 72 63 65 52 65 63 54 |e,..Reso|urceRecT|
|00004fa0| 79 70 65 2c 0d 09 44 65 | 6c 74 61 52 65 63 54 79 |ype,..De|ltaRecTy|
|00004fb0| 70 65 2c 0d 09 4c 6f 67 | 52 65 63 54 79 70 65 0d |pe,..Log|RecType.|
|00004fc0| 09 7d 20 52 65 63 6f 72 | 64 54 79 70 65 3b 0d 23 |.} Recor|dType;.#|
|00004fd0| 64 65 66 69 6e 65 20 4d | 61 78 52 65 63 54 79 70 |define M|axRecTyp|
|00004fe0| 65 20 28 4c 6f 67 52 65 | 63 54 79 70 65 2b 31 29 |e (LogRe|cType+1)|
|00004ff0| 0d 2f 2a 2a 2a 2a 2a 2a | 2a 2d 2d 2d 2d 2d 2d 2d |./******|*-------|
|00005000| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00005010| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00005020| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00005030| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00005040| 2d 2d 0d 09 44 65 66 69 | 6e 65 20 74 68 65 20 64 |--..Defi|ne the d|
|00005050| 61 74 61 20 73 65 63 74 | 69 6f 6e 20 66 6f 72 20 |ata sect|ion for |
|00005060| 65 61 63 68 20 72 65 63 | 6f 72 64 20 74 79 70 65 |each rec|ord type|
|00005070| 0d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |.-------|--------|
|00005080| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00005090| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000050a0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000050b0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2a 2a 2a 2a 2a 2a |--------|--******|
|000050c0| 2a 2f 0d 74 79 70 65 64 | 65 66 20 73 74 72 75 63 |*/.typed|ef struc|
|000050d0| 74 20 50 72 6f 6a 65 63 | 74 52 65 63 6f 72 64 20 |t Projec|tRecord |
|000050e0| 7b 09 09 09 09 09 09 09 | 09 2f 2a 20 50 72 6f 6a |{.......|./* Proj|
|000050f0| 65 63 74 20 52 65 63 6f | 72 64 20 2a 2f 0d 09 73 |ect Reco|rd */..s|
|00005100| 68 6f 72 74 20 61 75 74 | 68 6f 72 49 44 3b 0d 09 |hort aut|horID;..|
|00005110| 73 74 72 75 63 74 20 50 | 72 6f 6a 65 63 74 49 44 |struct P|rojectID|
|00005120| 20 7b 0d 09 09 75 6e 73 | 69 67 6e 65 64 20 6c 6f | {...uns|igned lo|
|00005130| 6e 67 20 63 72 44 61 74 | 65 54 69 6d 65 3b 0d 09 |ng crDat|eTime;..|
|00005140| 09 75 6e 73 69 67 6e 65 | 64 20 6c 6f 6e 67 20 63 |.unsigne|d long c|
|00005150| 72 54 69 63 6b 43 6f 75 | 6e 74 3b 0d 09 09 7d 20 |rTickCou|nt;...} |
|00005160| 70 72 6f 6a 65 63 74 49 | 44 3b 0d 09 7d 20 50 72 |projectI|D;..} Pr|
|00005170| 6f 6a 65 63 74 52 65 63 | 6f 72 64 3b 0d 2f 2a 2d |ojectRec|ord;./*-|
|00005180| 2a 2d 2a 2d 2a 0d 20 45 | 78 74 72 61 20 44 65 73 |*-*-*. E|xtra Des|
|00005190| 63 72 69 70 74 69 6f 6e | 20 6f 66 20 74 68 65 20 |cription| of the |
|000051a0| 66 69 65 6c 64 73 20 6f | 66 20 74 68 65 20 46 69 |fields o|f the Fi|
|000051b0| 6c 65 52 65 63 6f 72 64 | 3a 0d 20 09 63 68 65 63 |leRecord|:. .chec|
|000051c0| 6b 4f 75 74 41 75 74 68 | 6f 72 49 44 3a 09 09 49 |kOutAuth|orID:..I|
|000051d0| 66 20 74 68 69 73 20 69 | 73 20 3e 20 30 20 74 68 |f this i|s > 0 th|
|000051e0| 65 6e 20 74 68 65 20 6c | 61 74 65 73 74 20 72 65 |en the l|atest re|
|000051f0| 76 69 73 69 6f 6e 20 6f | 6e 20 6d 61 69 6e 20 74 |vision o|n main t|
|00005200| 72 75 6e 6b 20 69 73 20 | 63 68 65 63 6b 65 64 0d |runk is |checked.|
|00005210| 09 09 09 09 09 09 09 09 | 6f 75 74 20 66 6f 72 20 |........|out for |
|00005220| 6d 6f 64 69 66 69 63 61 | 74 69 6f 6e 20 62 79 20 |modifica|tion by |
|00005230| 74 68 69 73 20 70 65 72 | 73 6f 6e 2e 20 20 4f 74 |this per|son. Ot|
|00005240| 68 65 72 77 69 73 65 20 | 28 66 69 6c 65 20 69 73 |herwise |(file is|
|00005250| 20 66 72 65 65 29 0d 09 | 09 09 09 09 09 09 09 74 | free)..|.......t|
|00005260| 68 65 20 76 61 6c 75 65 | 20 73 68 6f 75 6c 64 20 |he value| should |
|00005270| 62 65 20 3c 20 30 2e 20 | 20 49 6e 20 74 68 69 73 |be < 0. | In this|
|00005280| 20 63 61 73 65 20 74 68 | 65 20 6e 65 67 61 74 69 | case th|e negati|
|00005290| 76 65 20 69 73 20 74 68 | 65 0d 09 09 09 09 09 09 |ve is th|e.......|
|000052a0| 09 09 49 44 20 6f 66 20 | 74 68 65 20 61 75 74 68 |..ID of |the auth|
|000052b0| 6f 72 20 74 68 61 74 20 | 63 72 65 61 74 65 64 20 |or that |created |
|000052c0| 28 69 2e 65 2e 20 63 68 | 65 63 6b 65 64 20 69 6e |(i.e. ch|ecked in|
|000052d0| 29 20 74 68 65 20 6c 61 | 74 65 73 74 0d 09 09 09 |) the la|test....|
|000052e0| 09 09 09 09 09 72 65 76 | 69 73 69 6f 6e 2e 20 20 |.....rev|ision. |
|000052f0| 49 6e 20 6f 72 64 65 72 | 20 74 6f 20 6d 61 69 6e |In order| to main|
|00005300| 74 61 69 6e 20 70 72 6f | 6a 65 63 74 20 63 6f 6d |tain pro|ject com|
|00005310| 70 61 74 69 62 69 6c 69 | 74 79 20 77 69 74 68 0d |patibili|ty with.|
|00005320| 09 09 09 09 09 09 09 09 | 6f 6c 64 20 70 72 6f 6a |........|old proj|
|00005330| 65 63 74 20 74 68 65 20 | 76 61 6c 75 65 20 63 61 |ect the |value ca|
|00005340| 6e 20 62 65 20 3d 3d 20 | 30 2e 20 20 49 6e 20 74 |n be == |0. In t|
|00005350| 68 69 73 20 63 61 73 65 | 20 74 68 65 20 66 69 6c |his case| the fil|
|00005360| 65 20 69 73 0d 09 09 09 | 09 09 09 09 09 61 6c 73 |e is....|.....als|
|00005370| 6f 20 66 72 65 65 2c 20 | 62 75 74 20 49 20 63 61 |o free, |but I ca|
|00005380| 6e 27 74 20 74 65 6c 6c | 20 77 68 6f 20 6d 61 64 |n't tell| who mad|
|00005390| 65 20 74 68 65 20 6c 61 | 74 65 73 74 20 72 65 76 |e the la|test rev|
|000053a0| 69 73 69 6f 6e 20 6f 6e | 20 74 68 65 0d 09 09 09 |ision on| the....|
|000053b0| 09 09 09 09 09 6d 61 69 | 6e 20 74 72 75 6e 6b 2e |.....mai|n trunk.|
|000053c0| 0d 20 2a 2d 2a 2d 2a 2d | 2a 2f 0d 74 79 70 65 64 |. *-*-*-|*/.typed|
|000053d0| 65 66 20 73 74 72 75 63 | 74 20 46 69 6c 65 52 65 |ef struc|t FileRe|
|000053e0| 63 6f 72 64 20 7b 09 09 | 09 09 09 09 09 2f 2a 20 |cord {..|...../* |
|000053f0| 46 69 6c 65 20 52 65 63 | 6f 72 64 20 2a 2f 0d 09 |File Rec|ord */..|
|00005400| 73 68 6f 72 74 20 66 69 | 6c 65 49 44 3b 0d 09 73 |short fi|leID;..s|
|00005410| 68 6f 72 74 09 61 75 74 | 68 6f 72 49 44 3b 09 09 |hort.aut|horID;..|
|00005420| 09 09 09 09 09 09 09 2f | 2f 20 6f 66 20 70 65 72 |......./|/ of per|
|00005430| 73 6f 6e 20 77 68 6f 20 | 61 64 64 65 64 20 66 69 |son who |added fi|
|00005440| 6c 65 20 0d 09 09 09 09 | 09 09 09 09 09 09 09 09 |le .....|........|
|00005450| 09 09 2f 2f 20 74 6f 20 | 74 68 65 20 70 72 6f 6a |..// to |the proj|
|00005460| 65 63 74 0d 09 73 68 6f | 72 74 20 63 68 65 63 6b |ect..sho|rt check|
|00005470| 4f 75 74 41 75 74 68 6f | 72 49 44 3b 0d 09 73 68 |OutAutho|rID;..sh|
|00005480| 6f 72 74 20 6c 61 74 65 | 73 74 52 65 76 49 44 3b |ort late|stRevID;|
|00005490| 09 09 09 09 09 09 09 09 | 2f 2f 20 69 64 20 6f 66 |........|// id of|
|000054a0| 20 6c 61 74 65 73 74 20 | 72 65 76 20 28 65 78 63 | latest |rev (exc|
|000054b0| 6c 75 64 69 6e 67 20 64 | 75 6d 6d 79 20 72 65 76 |luding d|ummy rev|
|000054c0| 29 0d 09 75 6e 73 69 67 | 6e 65 64 20 6c 6f 6e 67 |)..unsig|ned long|
|000054d0| 20 6d 6f 64 44 61 74 65 | 3b 09 09 09 09 09 09 09 | modDate|;.......|
|000054e0| 2f 2f 20 6c 61 73 74 20 | 74 69 6d 65 20 61 6e 79 |// last |time any|
|000054f0| 20 72 65 76 69 73 69 6f | 6e 20 77 61 73 20 63 72 | revisio|n was cr|
|00005500| 65 61 74 65 64 0d 09 73 | 68 6f 72 74 09 63 6f 6d |eated..s|hort.com|
|00005510| 70 72 65 73 73 69 6f 6e | 46 6f 72 6d 61 74 3b 0d |pression|Format;.|
|00005520| 09 7d 20 46 69 6c 65 52 | 65 63 6f 72 64 3b 0d 2f |.} FileR|ecord;./|
|00005530| 2a 2d 2a 2d 2a 2d 2a 0d | 20 45 78 74 72 61 20 44 |*-*-*-*.| Extra D|
|00005540| 65 73 63 72 69 70 74 69 | 6f 6e 20 6f 66 20 74 68 |escripti|on of th|
|00005550| 65 20 66 69 65 6c 64 73 | 20 6f 66 20 74 68 65 20 |e fields| of the |
|00005560| 52 65 76 52 65 63 6f 72 | 64 3a 0d 20 09 63 68 65 |RevRecor|d:. .che|
|00005570| 63 6b 4f 75 74 46 6c 61 | 67 3a 09 09 09 49 66 20 |ckOutFla|g:...If |
|00005580| 74 68 69 73 20 69 73 20 | 3e 20 30 20 74 68 65 6e |this is |> 0 then|
|00005590| 20 74 68 69 73 20 72 65 | 76 69 73 69 6f 6e 20 69 | this re|vision i|
|000055a0| 73 20 63 68 65 63 6b 65 | 64 20 6f 75 74 20 d2 63 |s checke|d out .c|
|000055b0| 68 65 63 6b 4f 75 74 46 | 6c 61 67 d3 0d 09 09 09 |heckOutF|lag.....|
|000055c0| 09 09 09 09 09 6e 75 6d | 62 65 72 20 6f 66 20 74 |.....num|ber of t|
|000055d0| 69 6d 65 73 2e 20 20 49 | 66 20 69 74 20 69 73 20 |imes. I|f it is |
|000055e0| 3d 3d 20 30 20 74 68 65 | 6e 20 74 68 65 20 72 65 |== 0 the|n the re|
|000055f0| 76 69 73 69 6f 6e 20 69 | 73 20 66 72 65 65 2e 20 |vision i|s free. |
|00005600| 20 49 66 20 69 74 0d 09 | 09 09 09 09 09 09 09 69 | If it..|.......i|
|00005610| 73 20 3c 20 30 20 74 68 | 65 6e 20 74 68 69 73 20 |s < 0 th|en this |
|00005620| 69 73 20 61 20 64 75 6d | 6d 79 20 72 65 76 69 73 |is a dum|my revis|
|00005630| 69 6f 6e 20 61 6e 64 20 | 74 68 65 20 70 61 72 65 |ion and |the pare|
|00005640| 6e 74 20 72 65 76 69 73 | 69 6f 6e 20 69 64 0d 09 |nt revis|ion id..|
|00005650| 09 09 09 09 09 09 09 69 | 73 20 2d 63 68 65 63 6b |.......i|s -check|
|00005660| 4f 75 74 46 6c 61 67 2e | 0d 20 09 64 61 74 65 54 |OutFlag.|. .dateT|
|00005670| 69 6d 65 3a 09 09 09 09 | 49 66 20 74 68 69 73 20 |ime:....|If this |
|00005680| 69 73 20 61 20 64 75 6d | 6d 79 20 72 65 76 69 73 |is a dum|my revis|
|00005690| 69 6f 6e 20 74 68 65 6e | 20 64 61 74 65 54 69 6d |ion then| dateTim|
|000056a0| 65 20 69 73 20 74 68 65 | 20 74 69 6d 65 20 74 68 |e is the| time th|
|000056b0| 61 74 20 69 74 0d 09 09 | 09 09 09 09 09 09 77 61 |at it...|......wa|
|000056c0| 73 20 63 68 65 63 6b 65 | 64 20 6f 75 74 2e 20 20 |s checke|d out. |
|000056d0| 4f 74 68 65 72 77 69 73 | 65 20 74 68 69 73 20 69 |Otherwis|e this i|
|000056e0| 73 20 74 68 65 20 74 69 | 6d 65 20 74 68 61 74 20 |s the ti|me that |
|000056f0| 74 68 65 20 0d 09 09 09 | 09 09 09 09 09 72 65 76 |the ....|.....rev|
|00005700| 69 73 69 6f 6e 20 77 61 | 73 20 63 68 65 63 6b 65 |ision wa|s checke|
|00005710| 64 20 69 6e 2e 0d 20 2a | 2d 2a 2d 2a 2d 2a 2f 0d |d in.. *|-*-*-*/.|
|00005720| 74 79 70 65 64 65 66 20 | 73 74 72 75 63 74 20 52 |typedef |struct R|
|00005730| 65 76 52 65 63 6f 72 64 | 20 7b 09 09 09 09 09 09 |evRecord| {......|
|00005740| 09 09 2f 2a 20 52 65 76 | 69 73 69 6f 6e 20 52 65 |../* Rev|ision Re|
|00005750| 63 6f 72 64 20 2a 2f 0d | 09 73 68 6f 72 74 20 72 |cord */.|.short r|
|00005760| 65 76 49 44 3b 0d 09 73 | 68 6f 72 74 20 61 75 74 |evID;..s|hort aut|
|00005770| 68 6f 72 49 44 3b 09 09 | 09 09 09 09 09 09 09 09 |horID;..|........|
|00005780| 2f 2f 20 70 65 72 73 6f | 6e 20 77 68 6f 20 63 72 |// perso|n who cr|
|00005790| 65 61 74 65 64 20 74 68 | 69 73 20 72 65 76 69 73 |eated th|is revis|
|000057a0| 69 6f 6e 0d 09 73 68 6f | 72 74 20 63 68 65 63 6b |ion..sho|rt check|
|000057b0| 4f 75 74 46 6c 61 67 3b | 0d 09 75 6e 73 69 67 6e |OutFlag;|..unsign|
|000057c0| 65 64 20 6c 6f 6e 67 09 | 64 61 74 65 54 69 6d 65 |ed long.|dateTime|
|000057d0| 3b 0d 09 73 68 6f 72 74 | 09 63 6f 6d 70 72 65 73 |;..short|.compres|
|000057e0| 73 69 6f 6e 46 6f 72 6d | 61 74 3b 0d 09 63 68 61 |sionForm|at;..cha|
|000057f0| 72 09 74 61 73 6b 5b 34 | 30 5d 3b 0d 09 7d 20 52 |r.task[4|0];..} R|
|00005800| 65 76 52 65 63 6f 72 64 | 3b 0d 74 79 70 65 64 65 |evRecord|;.typede|
|00005810| 66 20 73 74 72 75 63 74 | 20 43 6f 6d 6d 65 6e 74 |f struct| Comment|
|00005820| 52 65 63 6f 72 64 20 7b | 09 09 09 09 09 09 09 09 |Record {|........|
|00005830| 2f 2a 20 43 6f 6d 6d 65 | 6e 74 20 52 65 63 6f 72 |/* Comme|nt Recor|
|00005840| 64 20 2a 2f 0d 09 63 68 | 61 72 09 64 61 74 61 5b |d */..ch|ar.data[|
|00005850| 31 31 34 5d 3b 0d 09 7d | 20 43 6f 6d 6d 65 6e 74 |114];..}| Comment|
|00005860| 52 65 63 6f 72 64 3b 0d | 74 79 70 65 64 65 66 20 |Record;.|typedef |
|00005870| 73 74 72 75 63 74 20 7b | 09 09 09 09 09 09 09 09 |struct {|........|
|00005880| 09 09 09 09 09 2f 2a 20 | 53 79 6d 4e 61 6d 65 73 |...../* |SymNames|
|00005890| 2c 20 46 69 6c 65 4e 61 | 6d 65 73 2c 2a 2f 0d 09 |, FileNa|mes,*/..|
|000058a0| 63 68 61 72 09 64 61 74 | 61 5b 34 39 30 5d 3b 09 |char.dat|a[490];.|
|000058b0| 09 09 09 09 09 09 09 09 | 09 09 2f 2a 20 41 75 74 |........|../* Aut|
|000058c0| 68 6f 72 73 2c 20 52 65 | 73 6f 75 72 63 65 2c 2e |hors, Re|source,.|
|000058d0| 2e 2e 2a 2f 0d 09 7d 20 | 09 53 79 6d 62 6f 6c 69 |..*/..} |.Symboli|
|000058e0| 63 4e 61 6d 65 73 52 65 | 63 6f 72 64 2c 09 09 09 |cNamesRe|cord,...|
|000058f0| 09 09 09 09 09 09 09 2f | 2a 20 20 72 65 63 6f 72 |......./|* recor|
|00005900| 64 73 09 09 09 2a 2f 0d | 09 09 46 69 6c 65 4e 61 |ds...*/.|..FileNa|
|00005910| 6d 65 73 52 65 63 6f 72 | 64 2c 0d 09 09 52 65 76 |mesRecor|d,...Rev|
|00005920| 4e 61 6d 65 73 52 65 63 | 6f 72 64 2c 0d 09 09 41 |NamesRec|ord,...A|
|00005930| 75 74 68 6f 72 73 52 65 | 63 6f 72 64 2c 0d 09 09 |uthorsRe|cord,...|
|00005940| 52 65 73 6f 75 72 63 65 | 52 65 63 6f 72 64 2c 0d |Resource|Record,.|
|00005950| 09 09 44 65 6c 74 61 52 | 65 63 6f 72 64 2c 0d 09 |..DeltaR|ecord,..|
|00005960| 09 4c 6f 67 52 65 63 6f | 72 64 3b 0d 74 79 70 65 |.LogReco|rd;.type|
|00005970| 64 65 66 20 73 74 72 75 | 63 74 20 7b 09 09 09 09 |def stru|ct {....|
|00005980| 09 09 09 09 09 09 09 09 | 09 2f 2a 20 44 61 74 61 |........|./* Data|
|00005990| 20 52 65 63 6f 72 64 20 | 09 09 2a 2f 0d 09 63 68 | Record |..*/..ch|
|000059a0| 61 72 09 64 61 74 61 5b | 39 38 30 5d 3b 0d 09 7d |ar.data[|980];..}|
|000059b0| 20 09 44 61 74 61 52 65 | 63 6f 72 64 3b 0d 72 65 | .DataRe|cord;.re|
|000059c0| 63 4d 67 72 50 72 69 76 | 2e 68 0d 74 79 70 65 64 |cMgrPriv|.h.typed|
|000059d0| 65 66 20 75 6e 73 69 67 | 6e 65 64 20 63 68 61 72 |ef unsig|ned char|
|000059e0| 09 75 63 68 61 72 3b 0d | 74 79 70 65 64 65 66 20 |.uchar;.|typedef |
|000059f0| 75 6e 73 69 67 6e 65 64 | 20 73 68 6f 72 74 09 75 |unsigned| short.u|
|00005a00| 73 68 6f 72 74 3b 0d 74 | 79 70 65 64 65 66 20 75 |short;.t|ypedef u|
|00005a10| 6e 73 69 67 6e 65 64 20 | 6c 6f 6e 67 09 75 6c 6f |nsigned |long.ulo|
|00005a20| 6e 67 3b 0d 2f 2a 2a 2a | 2a 2a 2a 2a 2d 2d 2d 2d |ng;./***|****----|
|00005a30| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00005a40| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00005a50| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00005a60| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00005a70| 2d 2d 2d 2d 2d 0d 09 44 | 65 66 69 6e 65 20 74 68 |-----..D|efine th|
|00005a80| 65 20 44 42 20 66 69 6c | 65 27 73 20 48 65 61 64 |e DB fil|e's Head|
|00005a90| 65 72 20 66 6f 72 6d 61 | 74 2e 20 20 54 68 69 73 |er forma|t. This|
|00005aa0| 20 64 61 74 61 20 73 74 | 72 75 63 74 75 72 65 20 | data st|ructure |
|00005ab0| 6c 69 76 65 73 0d 09 61 | 74 20 74 68 65 20 62 65 |lives..a|t the be|
|00005ac0| 67 69 6e 6e 69 6e 67 20 | 6f 66 20 70 61 67 65 20 |ginning |of page |
|00005ad0| 7a 65 72 6f 20 6f 66 20 | 74 68 65 20 44 42 20 66 |zero of |the DB f|
|00005ae0| 69 6c 65 2e 0d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |ile..---|--------|
|00005af0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00005b00| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00005b10| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00005b20| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2a 2a |--------|------**|
|00005b30| 2a 2a 2a 2a 2a 2f 0d 74 | 79 70 65 64 65 66 20 75 |*****/.t|ypedef u|
|00005b40| 6c 6f 6e 67 20 44 69 73 | 6b 41 64 72 3b 0d 74 79 |long Dis|kAdr;.ty|
|00005b50| 70 65 64 65 66 20 73 74 | 72 75 63 74 20 44 42 48 |pedef st|ruct DBH|
|00005b60| 65 61 64 65 72 20 7b 0d | 09 75 6c 6f 6e 67 09 09 |eader {.|.ulong..|
|00005b70| 63 68 65 63 6b 53 75 6d | 3b 09 09 09 09 2f 2a 20 |checkSum|;..../* |
|00005b80| 74 68 65 20 63 68 65 63 | 6b 73 75 6d 20 66 6f 72 |the chec|ksum for|
|00005b90| 20 74 68 65 20 70 61 67 | 65 20 2a 2f 0d 09 44 69 | the pag|e */..Di|
|00005ba0| 73 6b 41 64 72 09 70 61 | 67 65 44 69 73 6b 41 64 |skAdr.pa|geDiskAd|
|00005bb0| 72 3b 09 09 09 2f 2a 20 | 61 6c 77 61 79 73 20 73 |r;.../* |always s|
|00005bc0| 65 74 20 74 6f 20 30 20 | 2a 2f 0d 09 75 6c 6f 6e |et to 0 |*/..ulon|
|00005bd0| 67 09 09 73 74 61 6d 70 | 3b 09 09 09 09 09 2f 2a |g..stamp|;...../*|
|00005be0| 20 61 20 75 6e 69 71 75 | 65 20 73 74 72 69 6e 67 | a uniqu|e string|
|00005bf0| 20 69 64 65 6e 74 69 66 | 79 69 6e 67 20 74 68 65 | identif|ying the|
|00005c00| 20 66 69 6c 65 20 61 73 | 20 61 20 70 72 6f 6a 65 | file as| a proje|
|00005c10| 63 74 20 66 69 6c 65 20 | 2a 2f 0d 09 75 73 68 6f |ct file |*/..usho|
|00005c20| 72 74 20 09 76 65 72 73 | 69 6f 6e 3b 09 09 09 09 |rt .vers|ion;....|
|00005c30| 2f 2a 20 76 65 72 73 69 | 6f 6e 20 74 68 65 20 70 |/* versi|on the p|
|00005c40| 72 6f 6a 65 63 74 20 66 | 69 6c 65 20 66 6f 72 6d |roject f|ile form|
|00005c50| 61 74 20 2a 2f 0d 09 75 | 6c 6f 6e 67 20 09 6d 6f |at */..u|long .mo|
|00005c60| 64 43 6f 75 6e 74 3b 09 | 09 09 09 09 2f 2a 20 63 |dCount;.|..../* c|
|00005c70| 75 6d 6d 75 6c 61 74 69 | 76 65 20 63 6f 75 6e 74 |ummulati|ve count|
|00005c80| 20 6f 66 20 61 6c 6c 20 | 70 61 67 65 20 77 72 69 | of all |page wri|
|00005c90| 74 65 73 20 2a 2f 0d 09 | 75 73 68 6f 72 74 09 70 |tes */..|ushort.p|
|00005ca0| 61 67 65 53 69 7a 65 3b | 09 09 09 09 09 2f 2a 20 |ageSize;|...../* |
|00005cb0| 73 69 7a 65 20 69 6e 20 | 62 79 74 65 73 20 6f 66 |size in |bytes of|
|00005cc0| 20 65 61 63 68 20 70 61 | 67 65 20 2a 2f 0d 09 44 | each pa|ge */..D|
|00005cd0| 69 73 6b 41 64 72 09 66 | 69 72 73 74 52 65 63 6f |iskAdr.f|irstReco|
|00005ce0| 72 64 3b 09 09 09 2f 2a | 20 74 68 65 20 61 64 64 |rd;.../*| the add|
|00005cf0| 72 65 73 73 20 6f 66 20 | 74 68 65 20 50 72 6f 6a |ress of |the Proj|
|00005d00| 65 63 74 20 72 65 63 6f | 72 64 20 2a 2f 0d 09 75 |ect reco|rd */..u|
|00005d10| 6c 6f 6e 67 09 09 65 6f | 66 3b 09 09 09 09 09 2f |long..eo|f;...../|
|00005d20| 2a 20 74 68 65 20 6e 75 | 6d 62 65 72 20 6f 66 20 |* the nu|mber of |
|00005d30| 62 79 74 65 73 20 69 6e | 20 74 68 65 20 64 61 74 |bytes in| the dat|
|00005d40| 61 20 66 6f 72 6b 20 2a | 2f 0d 09 75 6c 6f 6e 67 |a fork *|/..ulong|
|00005d50| 09 09 66 72 65 65 50 61 | 67 65 73 3b 09 09 09 2f |..freePa|ges;.../|
|00005d60| 2a 20 6e 75 6d 62 65 72 | 20 6f 66 20 66 72 65 65 |* number| of free|
|00005d70| 20 70 61 67 65 73 20 69 | 6e 20 74 68 65 20 62 69 | pages i|n the bi|
|00005d80| 74 20 6d 61 70 20 2a 2f | 0d 09 75 73 68 6f 72 74 |t map */|..ushort|
|00005d90| 20 09 72 65 63 54 79 70 | 65 43 6f 75 6e 74 3b 09 | .recTyp|eCount;.|
|00005da0| 09 09 2f 2a 20 74 68 65 | 20 6e 75 6d 62 65 72 20 |../* the| number |
|00005db0| 6f 66 20 72 65 63 6f 72 | 64 20 74 79 70 65 73 20 |of recor|d types |
|00005dc0| 2a 2f 0d 09 44 69 73 6b | 41 64 72 09 66 72 65 65 |*/..Disk|Adr.free|
|00005dd0| 52 65 63 5b 4d 61 78 52 | 65 63 54 79 70 65 5d 3b |Rec[MaxR|ecType];|
|00005de0| 09 2f 2a 20 61 64 64 72 | 65 73 73 20 6f 66 20 61 |./* addr|ess of a|
|00005df0| 20 70 61 67 65 20 63 6f | 6e 74 61 69 6e 69 6e 67 | page co|ntaining|
|00005e00| 20 61 20 66 72 65 65 20 | 72 65 63 6f 72 64 20 73 | a free |record s|
|00005e10| 6c 6f 74 20 2a 2f 0d 09 | 6c 6f 6e 67 09 09 72 65 |lot */..|long..re|
|00005e20| 63 6f 76 65 72 79 49 44 | 3b 09 09 09 2f 2a 20 69 |coveryID|;.../* i|
|00005e30| 64 20 6f 66 20 61 6c 6c | 20 6e 6f 6e 20 7a 65 72 |d of all| non zer|
|00005e40| 6f 2f 62 69 74 6d 61 70 | 20 70 61 67 65 73 20 69 |o/bitmap| pages i|
|00005e50| 6e 20 74 68 65 20 72 65 | 73 6f 75 72 63 65 20 66 |n the re|source f|
|00005e60| 6f 72 6b 20 2a 2f 0d 09 | 7d 20 20 44 42 48 65 61 |ork */..|} DBHea|
|00005e70| 64 65 72 3b 0d 2f 2a 2a | 2a 2a 2a 2a 2a 2d 2d 2d |der;./**|*****---|
|00005e80| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00005e90| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00005ea0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00005eb0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00005ec0| 2d 2d 2d 2d 2d 2d 0d 09 | 44 65 66 69 6e 65 20 74 |------..|Define t|
|00005ed0| 68 65 20 44 42 20 66 69 | 6c 65 27 73 20 70 61 67 |he DB fi|le's pag|
|00005ee0| 65 20 68 65 61 64 65 72 | 20 66 6f 72 6d 61 74 2e |e header| format.|
|00005ef0| 20 20 54 68 65 20 66 69 | 72 73 74 20 68 65 61 64 | The fi|rst head|
|00005f00| 65 72 20 66 6f 72 6d 61 | 74 20 28 50 61 67 65 49 |er forma|t (PageI|
|00005f10| 44 29 20 69 73 0d 09 63 | 6f 6d 6d 6f 6e 20 74 6f |D) is..c|ommon to|
|00005f20| 20 61 6c 6c 20 70 61 67 | 65 73 20 65 78 63 65 70 | all pag|es excep|
|00005f30| 74 69 6e 67 20 70 61 67 | 65 20 7a 65 72 6f 2e 20 |ting pag|e zero. |
|00005f40| 20 54 68 65 20 73 65 63 | 6f 6e 64 20 68 65 61 64 | The sec|ond head|
|00005f50| 65 72 20 66 6f 72 6d 61 | 74 20 28 50 61 67 65 48 |er forma|t (PageH|
|00005f60| 65 61 64 65 72 29 0d 09 | 69 73 20 63 6f 6d 6d 6f |eader)..|is commo|
|00005f70| 6e 20 74 6f 20 61 6c 6c | 20 70 61 67 65 73 20 65 |n to all| pages e|
|00005f80| 78 63 65 70 74 69 6e 67 | 20 70 61 67 65 20 7a 65 |xcepting| page ze|
|00005f90| 72 6f 20 61 6e 64 20 74 | 68 65 20 62 69 74 20 6d |ro and t|he bit m|
|00005fa0| 61 70 20 70 61 67 65 73 | 2e 0d 09 41 6c 6c 20 70 |ap pages|...All p|
|00005fb0| 61 67 65 73 20 65 78 63 | 65 70 74 20 66 6f 72 20 |ages exc|ept for |
|00005fc0| 70 61 67 65 20 7a 65 72 | 6f 20 62 65 67 69 6e 20 |page zer|o begin |
|00005fd0| 77 69 74 68 20 61 20 70 | 61 67 65 20 68 65 61 64 |with a p|age head|
|00005fe0| 65 72 2c 20 66 6f 6c 6c | 6f 77 65 64 20 62 79 20 |er, foll|owed by |
|00005ff0| 6f 6e 65 20 6f 72 0d 09 | 6d 6f 72 65 20 66 69 78 |one or..|more fix|
|00006000| 65 64 20 73 69 7a 65 20 | 72 65 63 6f 72 64 20 73 |ed size |record s|
|00006010| 6c 6f 74 73 2e 20 20 52 | 65 63 6f 72 64 20 73 6c |lots. R|ecord sl|
|00006020| 6f 74 73 20 61 72 65 20 | 61 6e 20 65 76 65 6e 20 |ots are |an even |
|00006030| 6e 75 6d 62 65 72 20 6f | 66 20 62 79 74 65 73 0d |number o|f bytes.|
|00006040| 09 69 6e 20 6c 65 6e 67 | 74 68 2e 0d 2d 2d 2d 2d |.in leng|th..----|
|00006050| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00006060| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00006070| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00006080| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00006090| 2d 2d 2d 2d 2d 2a 2a 2a | 2a 2a 2a 2a 2f 0d 74 79 |-----***|****/.ty|
|000060a0| 70 65 64 65 66 20 73 74 | 72 75 63 74 20 50 61 67 |pedef st|ruct Pag|
|000060b0| 65 49 44 20 7b 0d 09 75 | 6c 6f 6e 67 09 09 09 63 |eID {..u|long...c|
|000060c0| 68 65 63 6b 53 75 6d 3b | 09 09 09 09 2f 2a 20 74 |heckSum;|..../* t|
|000060d0| 68 65 20 63 68 65 63 6b | 73 75 6d 20 66 6f 72 20 |he check|sum for |
|000060e0| 74 68 65 20 70 61 67 65 | 09 09 09 09 09 2a 2f 0d |the page|.....*/.|
|000060f0| 09 44 69 73 6b 41 64 72 | 09 09 70 61 67 65 44 69 |.DiskAdr|..pageDi|
|00006100| 73 6b 41 64 72 3b 09 09 | 09 2f 2a 20 74 68 65 20 |skAdr;..|./* the |
|00006110| 70 61 67 65 27 73 20 64 | 69 73 6b 20 61 64 64 72 |page's d|isk addr|
|00006120| 65 73 73 09 09 09 09 09 | 09 2a 2f 0d 09 75 73 68 |ess.....|.*/..ush|
|00006130| 6f 72 74 09 09 72 65 63 | 53 69 7a 65 3b 09 09 09 |ort..rec|Size;...|
|00006140| 09 09 2f 2a 20 72 65 63 | 6f 72 64 20 73 69 7a 65 |../* rec|ord size|
|00006150| 20 28 62 79 74 65 73 29 | 20 6f 66 20 72 65 63 6f | (bytes)| of reco|
|00006160| 72 64 73 20 6f 6e 20 74 | 68 65 20 70 61 67 65 20 |rds on t|he page |
|00006170| 20 2a 2f 0d 09 7d 20 50 | 61 67 65 49 44 3b 0d 09 | */..} P|ageID;..|
|00006180| 0d 74 79 70 65 64 65 66 | 20 73 74 72 75 63 74 20 |.typedef| struct |
|00006190| 50 61 67 65 48 65 61 64 | 65 72 20 7b 0d 09 75 6c |PageHead|er {..ul|
|000061a0| 6f 6e 67 09 09 09 63 68 | 65 63 6b 53 75 6d 3b 09 |ong...ch|eckSum;.|
|000061b0| 09 09 2f 2a 20 74 68 65 | 20 63 68 65 63 6b 73 75 |../* the| checksu|
|000061c0| 6d 20 66 6f 72 20 74 68 | 65 20 70 61 67 65 09 09 |m for th|e page..|
|000061d0| 09 09 09 2a 2f 0d 09 44 | 69 73 6b 41 64 72 09 09 |...*/..D|iskAdr..|
|000061e0| 70 61 67 65 44 69 73 6b | 41 64 72 3b 09 09 2f 2a |pageDisk|Adr;../*|
|000061f0| 20 74 68 65 20 70 61 67 | 65 27 73 20 64 69 73 6b | the pag|e's disk|
|00006200| 20 61 64 64 72 65 73 73 | 09 09 09 09 09 09 2a 2f | address|......*/|
|00006210| 0d 09 75 73 68 6f 72 74 | 09 09 72 65 63 53 69 7a |..ushort|..recSiz|
|00006220| 65 3b 09 09 09 09 2f 2a | 20 72 65 63 6f 72 64 20 |e;..../*| record |
|00006230| 73 69 7a 65 20 28 62 79 | 74 65 73 29 20 6f 66 20 |size (by|tes) of |
|00006240| 72 65 63 6f 72 64 73 20 | 6f 6e 20 74 68 65 20 70 |records |on the p|
|00006250| 61 67 65 20 20 2a 2f 0d | 09 75 73 68 6f 72 74 09 |age */.|.ushort.|
|00006260| 09 63 75 72 52 65 63 43 | 6f 75 6e 74 3b 09 09 09 |.curRecC|ount;...|
|00006270| 2f 2a 20 74 68 65 20 6e | 75 6d 62 65 72 20 6f 66 |/* the n|umber of|
|00006280| 20 72 65 63 6f 72 64 73 | 20 63 75 72 72 65 6e 74 | records| current|
|00006290| 6c 79 20 6f 6e 20 74 68 | 65 20 70 61 67 65 20 20 |ly on th|e page |
|000062a0| 20 20 20 2a 2f 0d 09 75 | 73 68 6f 72 74 09 09 6d | */..u|short..m|
|000062b0| 61 78 52 65 63 43 6f 75 | 6e 74 3b 09 09 09 2f 2a |axRecCou|nt;.../*|
|000062c0| 20 6d 61 78 69 6d 75 6d | 20 6e 75 6d 62 65 72 20 | maximum| number |
|000062d0| 6f 66 20 72 65 63 6f 72 | 64 73 20 6f 6e 20 74 68 |of recor|ds on th|
|000062e0| 69 73 20 70 61 67 65 09 | 09 20 20 20 20 2a 2f 0d |is page.|. */.|
|000062f0| 09 52 65 63 6f 72 64 54 | 79 70 65 09 72 65 63 54 |.RecordT|ype.recT|
|00006300| 79 70 65 3b 09 09 09 2f | 2a 20 72 65 63 6f 72 64 |ype;.../|* record|
|00006310| 20 74 79 70 65 20 6f 66 | 20 72 65 63 6f 72 64 73 | type of| records|
|00006320| 20 6f 6e 20 74 68 69 73 | 20 70 61 67 65 09 09 2a | on this| page..*|
|00006330| 2f 0d 09 75 63 68 61 72 | 09 09 09 66 69 6c 6c 65 |/..uchar|...fille|
|00006340| 72 3b 09 09 09 2f 2a 20 | 66 75 74 75 72 65 20 65 |r;.../* |future e|
|00006350| 78 70 61 6e 73 69 6f 6e | 09 09 09 09 09 09 09 2a |xpansion|.......*|
|00006360| 2f 0d 09 75 73 68 6f 72 | 74 09 09 66 69 6c 6c 65 |/..ushor|t..fille|
|00006370| 72 31 3b 09 09 09 09 2f | 2a 20 66 75 74 75 72 65 |r1;..../|* future|
|00006380| 20 65 78 70 61 6e 73 69 | 6f 6e 09 09 09 09 09 09 | expansi|on......|
|00006390| 09 09 2a 2f 0d 09 6c 6f | 6e 67 09 09 09 72 65 63 |..*/..lo|ng...rec|
|000063a0| 6f 76 65 72 79 49 44 3b | 09 09 2f 2a 20 69 64 20 |overyID;|../* id |
|000063b0| 6f 66 20 61 6c 6c 20 6e | 6f 6e 20 7a 2f 62 70 61 |of all n|on z/bpa|
|000063c0| 67 65 73 20 69 6e 20 74 | 68 65 20 72 65 73 6f 75 |ges in t|he resou|
|000063d0| 72 63 65 20 66 6f 72 6b | 20 2a 2f 0d 09 44 69 73 |rce fork| */..Dis|
|000063e0| 6b 41 64 72 09 09 6e 65 | 78 74 46 72 65 65 50 61 |kAdr..ne|xtFreePa|
|000063f0| 67 65 3b 09 09 2f 2a 20 | 61 64 72 20 6f 66 20 6e |ge;../* |adr of n|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.