libmobi
C library for handling MOBI format ebook documents
|
Go to the source code of this file.
Functions | |
void | mobi_free_mh (MOBIMobiHeader *mh) |
Free MOBIMobiHeader structure. More... | |
void | mobi_free_rec (MOBIData *m) |
Free all MOBIPdbRecord structures and its respective data attached to MOBIData structure. More... | |
void | mobi_free_eh (MOBIData *m) |
Free all MOBIExthHeader structures and its respective data attached to MOBIData structure. More... | |
void | mobi_free_next (MOBIData *m) |
Free MOBIData structure for currenly unused hybrid part and all its children. More... | |
MOBIHuffCdic * | mobi_init_huffcdic (void) |
Initialize and return MOBIHuffCdic structure. More... | |
void | mobi_free_huffcdic (MOBIHuffCdic *huffcdic) |
Free MOBIHuffCdic structure and all its children. More... | |
MOBIIndx * | mobi_init_indx (void) |
Initialize and return MOBIIndx structure. More... | |
void | mobi_free_indx (MOBIIndx *indx) |
Free MOBIIndx structure and all its children. More... | |
void | mobi_free_tagx (MOBITagx *tagx) |
Free MOBITagx structure and all its children. More... | |
void | mobi_free_ordt (MOBIOrdt *ordt) |
Free MOBIOrdt structure and all its children. More... | |
void | mobi_free_index_entries (MOBIIndx *indx) |
Free index entries data and all its children. 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/
void mobi_free_eh | ( | MOBIData * | m | ) |
Free all MOBIExthHeader structures and its respective data attached to MOBIData structure.
Each MOBIExthHeader structure holds metadata and data for each EXTH record
[in,out] | m | MOBIData structure |
void mobi_free_huffcdic | ( | MOBIHuffCdic * | huffcdic | ) |
Free MOBIHuffCdic structure and all its children.
[in] | huffcdic | MOBIData structure |
void mobi_free_index_entries | ( | MOBIIndx * | indx | ) |
Free index entries data and all its children.
[in] | indx | MOBIIndx structure that holds indx->entries |
void mobi_free_indx | ( | MOBIIndx * | indx | ) |
void mobi_free_mh | ( | MOBIMobiHeader * | mh | ) |
Free MOBIMobiHeader structure.
[in] | mh | MOBIMobiHeader structure |
void mobi_free_next | ( | MOBIData * | m | ) |
void mobi_free_ordt | ( | MOBIOrdt * | ordt | ) |
void mobi_free_rec | ( | MOBIData * | m | ) |
Free all MOBIPdbRecord structures and its respective data attached to MOBIData structure.
Each MOBIPdbRecord structure holds metadata and data for each pdb record
[in,out] | m | MOBIData structure |
void mobi_free_tagx | ( | MOBITagx * | tagx | ) |
MOBIHuffCdic* mobi_init_huffcdic | ( | void | ) |
Initialize and return MOBIHuffCdic structure.
MOBIHuffCdic structure holds parsed data from HUFF, CDIC records. It is used for huffman decompression. Initialized structure is a child of MOBIData structure. It must be freed with mobi_free_huffcdic().
MOBIIndx* mobi_init_indx | ( | void | ) |
Initialize and return MOBIIndx structure.
MOBIIndx structure holds INDX index record entries. Must be freed with mobi_free_indx()