libmobi
C library for handling MOBI format ebook documents
Data Fields

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
 

Detailed Description

Header of palmdoc database file.

Field Documentation

◆ appinfo_offset

uint32_t MOBIPdbHeader::appinfo_offset

52: Offset to application info (if present) or zero, PALMDB_APPINFO_DEFAULT

Examples
mobitool.c.

◆ attributes

uint16_t MOBIPdbHeader::attributes

32: Attributes bitfield, PALMDB_ATTRIBUTE_DEFAULT

Examples
mobitool.c.

◆ btime

uint32_t MOBIPdbHeader::btime

44: Backup time

Examples
mobitool.c.

◆ creator

char MOBIPdbHeader::creator[5]

64: Creator type, zero terminated, PALMDB_CREATOR_DEFAULT

Examples
common.c, and mobitool.c.

◆ ctime

uint32_t MOBIPdbHeader::ctime

36: Creation time

Examples
mobitool.c.

◆ mod_num

uint32_t MOBIPdbHeader::mod_num

48: Modification number, PALMDB_MODNUM_DEFAULT

Examples
mobitool.c.

◆ mtime

uint32_t MOBIPdbHeader::mtime

40: Modification time

Examples
mobitool.c.

◆ name

char MOBIPdbHeader::name[33]

0: Database name, zero terminated, trimmed title (+author)

Examples
mobitool.c.

◆ next_rec

uint32_t MOBIPdbHeader::next_rec

72: Used only when database is loaded into memory, PALMDB_NEXTREC_DEFAULT

Examples
mobitool.c.

◆ rec_count

uint16_t MOBIPdbHeader::rec_count

76: Number of records in the file

Examples
mobitool.c.

◆ sortinfo_offset

uint32_t MOBIPdbHeader::sortinfo_offset

56: Offset to sort info (if present) or zero, PALMDB_SORTINFO_DEFAULT

Examples
mobitool.c.

◆ type

char MOBIPdbHeader::type[5]

60: Database type, zero terminated, PALMDB_TYPE_DEFAULT

Examples
common.c, and mobitool.c.

◆ uid

uint32_t MOBIPdbHeader::uid

68: Used internally to identify record

Examples
mobitool.c.

◆ version

uint16_t MOBIPdbHeader::version

34: File version, PALMDB_VERSION_DEFAULT

Examples
mobitool.c.

The documentation for this struct was generated from the following file: