libmobi
C library for handling MOBI format ebook documents
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
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

uint32_t MOBIPdbHeader::appinfo_offset

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

Examples:
mobitool.c.
uint16_t MOBIPdbHeader::attributes

32: Attributes bitfield, PALMDB_ATTRIBUTE_DEFAULT

Examples:
mobitool.c.
uint32_t MOBIPdbHeader::btime

44: Backup time

Examples:
mobitool.c.
char MOBIPdbHeader::creator[5]

64: Creator type, zero terminated, PALMDB_CREATOR_DEFAULT

Examples:
common.c, and mobitool.c.
uint32_t MOBIPdbHeader::ctime

36: Creation time

Examples:
mobitool.c.
uint32_t MOBIPdbHeader::mod_num

48: Modification number, PALMDB_MODNUM_DEFAULT

Examples:
mobitool.c.
uint32_t MOBIPdbHeader::mtime

40: Modification time

Examples:
mobitool.c.
char MOBIPdbHeader::name[33]

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

Examples:
mobitool.c.
uint32_t MOBIPdbHeader::next_rec

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

Examples:
mobitool.c.
uint16_t MOBIPdbHeader::rec_count

76: Number of records in the file

Examples:
mobitool.c.
uint32_t MOBIPdbHeader::sortinfo_offset

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

Examples:
mobitool.c.
char MOBIPdbHeader::type[5]

60: Database type, zero terminated, PALMDB_TYPE_DEFAULT

Examples:
common.c, and mobitool.c.
uint32_t MOBIPdbHeader::uid

68: Used internally to identify record

Examples:
mobitool.c.
uint16_t MOBIPdbHeader::version

34: File version, PALMDB_VERSION_DEFAULT

Examples:
mobitool.c.

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