PDB (Palm OS)

PDB (Palm OS)

PDB is a container format for record databases in Palm OS, Garnet OS and Access Linux Platform. Its structure is similar to PRC resource databases[1]. The PalmDOC eBook format is a special version of the PDB format[2].

Contents

Structure of PDB file

A PDB file contains a PDB header, PDB record headers and records[3][4].

PDB Header
PDB Record Header
PDB Records

PDB Header

The PDB header is located at the beginning of the file and contains meta-information on the file [3]:

Offset Name Type Size
0x00 name char 32 Bytes
0x20 file attributes integer 2 Bytes
0x22 version integer 2 Bytes
0x24 creation time Macintosh time 4 Bytes
0x28 modification time Macintosh time 4 Bytes
0x2c backup time Macintosh time 4 Bytes
0x30 modification number integer 4 Bytes
0x34 app_info integer 4 Bytes
0x38 sort_info integer 4 Bytes
0x3c type integer 4 Bytes
0x40 creator integer 4 Bytes
0x44 unique_id_seed integer 4 Bytes
0x48 next_record_list integer 4 Bytes
0x4c num_records integer 2 Bytes

PDB Record Header

For every record, there is an eight byte record header, containing[3]:

name type size notes
offset integer 4 bytes Byte number in the PDB file (counting from zero), where the record is located
attributes byte 1 byte Attributes of the record (delete/dirty/busy/secret/category)
UniqueID integer 3 bytes Always 0

PDB Records

Now the records themselves follow. The usual order is AppInfoArea, SortInfoArea and records, sequentially[4].

See also

  • PRC format

References

  1. ^ N. Rhodes, J. McKeehan. Palm OS Programming, Second Edition, O'Reilly, 2001, ISBN 1-56592-856-3
  2. ^ MobileRead Wiki: Specification of the PalmDOC format
  3. ^ a b c Paul J. Lucas (1998) PDB (Pilot Database) file format. Accessed on 20090308
  4. ^ a b Microfirst Software. The Pilot Record Database Format Accessed on 20090308

Wikimedia Foundation. 2010.

Игры ⚽ Поможем решить контрольную работу

Look at other dictionaries:

  • PDB — may refer to: Protein Data Bank Chess Problem Database Server (PDB Server) Partei der deutschsprachigen Belgier, the Party of German speaking Belgians President s Daily Brief Promised Day Brigades 1,4 Dichlorobenzene (paradichlorobenzene) Pee Dee …   Wikipedia

  • PDB — puede referirse a: Pak Data Base Base de datos académica de Pakistán. [1] Protein Data Bank Chess Problem Database Server (PDB Server), un servidor de 140.000 problemas de ajedrez. Partei der deutschsprachigen Belgier, partido de los germanófilos …   Wikipedia Español

  • Palm OS — Bildschirmfoto …   Deutsch Wikipedia

  • Palm Bible Plus — Infobox Software name = Palm Bible Plus caption = On the top half of the screen, in the King James Version is shown; the same verse is also shown in the Textus Receptus (Greek) at the bottom. John 3:16 is highlighted in yellow because it is… …   Wikipedia

  • PDB — Die Abkürzung PDB steht für: Partei der deutschsprachigen Belgier Protein Data Bank Pee Dee Belemnite Problemdatenbank – eine Datenbank für Schachkompositionen Python Debugger – ein Werkzeug zur Fehlersuche in Python Programmen… …   Deutsch Wikipedia

  • .pdb — comp. abbr. Palm Database (file name extension) …   United dictionary of abbreviations and acronyms

  • Gerhard Palm — Gerhard Palm, né le 1er décembre 1946 à Murrange est un homme politique belge germanophone, membre du PJU PDB. Il est licencié et agrégé en philologie classique (Liège). Enseigne le latin et le grec depuis 68. Il fut cofondateur du PDB …   Wikipédia en Français

  • List of file formats — This is an incomplete list, which may never be able to satisfy particular standards for completeness. You can help by expanding it with reliably sourced entries. See also: List of file formats (alphabetical) This is a list of file formats… …   Wikipedia

  • Libro electrónico — Un lector de libros electrónicos marca Sony. Un lector de libros electrónicos …   Wikipedia Español

  • Ringtone — For the Weird Al Yankovic song, see Ringtone (song). For the film, see Ringtone (film). A ringtone or ring tone is the sound made by a telephone to indicate an incoming call or text message. Not literally a tone, the term is most often used today …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”