libmobi
C library for handling MOBI format ebook documents
|
Go to the source code of this file.
Macros | |
#define | MOBI_EXTH_MAXCNT 1024 |
Functions | |
MOBI_RET | mobi_parse_fdst (const MOBIData *m, MOBIRawml *rawml) |
Parse FDST record into MOBIRawml structure (MOBIFdst member) More... | |
MOBI_RET | mobi_parse_huffdic (const MOBIData *m, MOBIHuffCdic *cdic) |
Parse a set of HUFF and CDIC records into MOBIHuffCdic structure. More... | |
MOBI_RET | mobi_load_pdbheader (MOBIData *m, FILE *file) |
Read palm database header from file into MOBIData structure (MOBIPdbHeader) More... | |
MOBI_RET | mobi_load_reclist (MOBIData *m, FILE *file) |
Read list of database records from file into MOBIData structure (MOBIPdbRecord) More... | |
MOBI_RET | mobi_load_rec (MOBIData *m, FILE *file) |
Read record data and size from file into MOBIData structure (MOBIPdbRecord) More... | |
MOBI_RET | mobi_load_recdata (MOBIPdbRecord *rec, FILE *file) |
Read record data from file into MOBIPdbRecord structure. More... | |
Copyright (c) 2014 Bartek Fabiszewski http://www.fabiszewski.net
This file is part of libmobi. Licensed under LGPL, either version 3, or any later. See http://www.gnu.org/licenses/
Read palm database header from file into MOBIData structure (MOBIPdbHeader)
[in,out] | m | MOBIData structure to be filled with read data |
[in] | file | Filedescriptor to read from |
Read record data and size from file into MOBIData structure (MOBIPdbRecord)
[in,out] | m | MOBIData structure to be filled with read data |
[in] | file | Filedescriptor to read from |
MOBI_RET mobi_load_recdata | ( | MOBIPdbRecord * | rec, |
FILE * | file | ||
) |
Read record data from file into MOBIPdbRecord structure.
[in,out] | rec | MOBIPdbRecord structure to be filled with read data |
[in] | file | Filedescriptor to read from |
Read list of database records from file into MOBIData structure (MOBIPdbRecord)
[in,out] | m | MOBIData structure to be filled with read data |
[in] | file | Filedescriptor to read from |
MOBI_RET mobi_parse_huffdic | ( | const MOBIData * | m, |
MOBIHuffCdic * | huffcdic | ||
) |
Parse a set of HUFF and CDIC records into MOBIHuffCdic structure.
[in] | m | MOBIData structure with loaded MOBI document |
[in,out] | huffcdic | MOBIHuffCdic structure to be filled with parsed data |