11 #ifndef libmobi_read_h
12 #define libmobi_read_h
19 #define MOBI_EXTH_MAXCNT 1024
MOBI_RET
Error codes returned by functions.
Definition: mobi.h:59
Libmobi main header file.
MOBI_RET mobi_load_pdbheader(MOBIData *m, FILE *file)
Read palm database header from file into MOBIData structure (MOBIPdbHeader)
Definition: read.c:28
MOBI_RET mobi_load_recdata(MOBIPdbRecord *rec, FILE *file)
Read record data from file into MOBIPdbRecord structure.
Definition: read.c:174
MOBI_RET mobi_load_reclist(MOBIData *m, FILE *file)
Read list of database records from file into MOBIData structure (MOBIPdbRecord)
Definition: read.c:78
MOBI_RET mobi_parse_fdst(const MOBIData *m, MOBIRawml *rawml)
Parse FDST record into MOBIRawml structure (MOBIFdst member)
Definition: read.c:769
MOBI_RET mobi_load_rec(MOBIData *m, FILE *file)
Read record data and size from file into MOBIData structure (MOBIPdbRecord)
Definition: read.c:131
MOBI_RET mobi_parse_huffdic(const MOBIData *m, MOBIHuffCdic *cdic)
Parse a set of HUFF and CDIC records into MOBIHuffCdic structure.
Definition: read.c:707
Main structure holding all metadata and unparsed records data.
Definition: mobi.h:381
Parsed data from HUFF and CDIC records needed to unpack huffman compressed text.
Definition: compression.h:29
Metadata and data of a record. All records form a linked list.
Definition: mobi.h:251
Main structure containing reconstructed source parts and indices.
Definition: mobi.h:464