18 #define OPF_META_MAX_TAGS 256
MOBI_RET
Error codes returned by functions.
Definition: mobi.h:59
Libmobi main header file.
MOBI_RET mobi_build_opf(MOBIRawml *rawml, const MOBIData *m)
Recreate OPF structure.
Definition: opf.c:1900
MOBI_RET mobi_build_ncx(MOBIRawml *rawml, const OPF *opf)
Parse ncx index, recreate ncx document and append it to rawml.
Definition: opf.c:553
Main structure holding all metadata and unparsed records data.
Definition: mobi.h:381
Main structure containing reconstructed source parts and indices.
Definition: mobi.h:464
NCX index entry structure.
Definition: opf.h:149
size_t level
Definition: opf.h:153
char * text
Definition: opf.h:151
char * target
Definition: opf.h:152
size_t id
Definition: opf.h:150
size_t parent
Definition: opf.h:154
size_t last_child
Definition: opf.h:156
size_t first_child
Definition: opf.h:155
OPF <package> element structure.
Definition: opf.h:140
OPFspine * spine
Definition: opf.h:144
OPFguide * guide
Definition: opf.h:145
OPFmetadata * metadata
Definition: opf.h:142
OPFmanifest * manifest
Definition: opf.h:143
OPF <dc:creator/> element structure.
Definition: opf.h:40
char * value
Definition: opf.h:41
char * role
Definition: opf.h:43
char * file_as
Definition: opf.h:42
OPF <dc:date/> element structure.
Definition: opf.h:56
char * event
Definition: opf.h:58
char * value
Definition: opf.h:57
OPF <guide> element structure.
Definition: opf.h:135
OPFreference ** reference
Definition: opf.h:136
OPF <dc:identifier/> element structure.
Definition: opf.h:30
char * scheme
Definition: opf.h:33
char * id
Definition: opf.h:32
char * value
Definition: opf.h:31
OPF element structure.
Definition: opf.h:110
char * media_type
Definition: opf.h:113
char * id
Definition: opf.h:111
char * href
Definition: opf.h:112
OPF <manifest> element structure.
Definition: opf.h:117
OPFitem ** item
Definition: opf.h:118
OPF <reference> tag structure.
Definition: opf.h:128
char * type
Definition: opf.h:129
char * href
Definition: opf.h:131
char * title
Definition: opf.h:130
OPF <spine> element structure.
Definition: opf.h:122
char ** itemref
Definition: opf.h:124
char * toc
Definition: opf.h:123
OPF <srp> element structure.
Definition: opf.h:78
char * value
Definition: opf.h:79
char * currency
Definition: opf.h:80
OPF <dc:subject/> element structure.
Definition: opf.h:47
char * value
Definition: opf.h:48
char * basic_code
Definition: opf.h:49