|
libmobi
C library for handling MOBI format ebook documents
|
Header of palmdoc database file. More...
#include <mobi.h>
Data Fields | |
| char | name [33] |
| uint16_t | attributes |
| uint16_t | version |
| uint32_t | ctime |
| uint32_t | mtime |
| uint32_t | btime |
| uint32_t | mod_num |
| uint32_t | appinfo_offset |
| uint32_t | sortinfo_offset |
| char | type [5] |
| char | creator [5] |
| uint32_t | uid |
| uint32_t | next_rec |
| uint16_t | rec_count |
Header of palmdoc database file.
| uint32_t MOBIPdbHeader::appinfo_offset |
52: Offset to application info (if present) or zero, PALMDB_APPINFO_DEFAULT
| uint16_t MOBIPdbHeader::attributes |
32: Attributes bitfield, PALMDB_ATTRIBUTE_DEFAULT
| uint32_t MOBIPdbHeader::btime |
44: Backup time
| char MOBIPdbHeader::creator[5] |
64: Creator type, zero terminated, PALMDB_CREATOR_DEFAULT
| uint32_t MOBIPdbHeader::ctime |
36: Creation time
| uint32_t MOBIPdbHeader::mod_num |
48: Modification number, PALMDB_MODNUM_DEFAULT
| uint32_t MOBIPdbHeader::mtime |
40: Modification time
| char MOBIPdbHeader::name[33] |
0: Database name, zero terminated, trimmed title (+author)
| uint32_t MOBIPdbHeader::next_rec |
72: Used only when database is loaded into memory, PALMDB_NEXTREC_DEFAULT
| uint16_t MOBIPdbHeader::rec_count |
76: Number of records in the file
| uint32_t MOBIPdbHeader::sortinfo_offset |
56: Offset to sort info (if present) or zero, PALMDB_SORTINFO_DEFAULT
| char MOBIPdbHeader::type[5] |
60: Database type, zero terminated, PALMDB_TYPE_DEFAULT
| uint32_t MOBIPdbHeader::uid |
68: Used internally to identify record
| uint16_t MOBIPdbHeader::version |
34: File version, PALMDB_VERSION_DEFAULT