libmobi
C library for handling MOBI format ebook documents
Data Fields

Metadata and data of a record. All records form a linked list. More...

#include <mobi.h>

Data Fields

uint32_t offset
 
size_t size
 
uint8_t attributes
 
uint32_t uid
 
unsigned char * data
 
struct MOBIPdbRecordnext
 

Detailed Description

Metadata and data of a record. All records form a linked list.

Examples
mobitool.c.

Field Documentation

◆ attributes

uint8_t MOBIPdbRecord::attributes

Record attributes

Examples
mobitool.c.

◆ data

unsigned char* MOBIPdbRecord::data

Record data

Examples
mobitool.c.

◆ next

struct MOBIPdbRecord* MOBIPdbRecord::next

Pointer to the next record or NULL

Examples
mobitool.c.

◆ offset

uint32_t MOBIPdbRecord::offset

Offset of the record data from the start of the database

Examples
mobitool.c.

◆ size

size_t MOBIPdbRecord::size

Calculated size of the record data

Examples
mobitool.c.

◆ uid

uint32_t MOBIPdbRecord::uid

Record unique id, usually sequential even numbers

Examples
mobitool.c.

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