libmobi
C library for handling MOBI format ebook documents
Macros
Predefined tag arrays: {tagid, tagindex} for mobi_get_indxentry_tagvalue()

Macros

#define INDX_TAG_GUIDE_TITLE_CNCX   (unsigned[]) {1, 0}
 
#define INDX_TAG_NCX_FILEPOS   (unsigned[]) {1, 0}
 
#define INDX_TAG_NCX_TEXT_CNCX   (unsigned[]) {3, 0}
 
#define INDX_TAG_NCX_LEVEL   (unsigned[]) {4, 0}
 
#define INDX_TAG_NCX_KIND_CNCX   (unsigned[]) {5, 0}
 
#define INDX_TAG_NCX_POSFID   (unsigned[]) {6, 0}
 
#define INDX_TAG_NCX_POSOFF   (unsigned[]) {6, 1}
 
#define INDX_TAG_NCX_PARENT   (unsigned[]) {21, 0}
 
#define INDX_TAG_NCX_CHILD_START   (unsigned[]) {22, 0}
 
#define INDX_TAG_NCX_CHILD_END   (unsigned[]) {23, 0}
 
#define INDX_TAG_SKEL_COUNT   (unsigned[]) {1, 0}
 
#define INDX_TAG_SKEL_POSITION   (unsigned[]) {6, 0}
 
#define INDX_TAG_SKEL_LENGTH   (unsigned[]) {6, 1}
 
#define INDX_TAG_FRAG_AID_CNCX   (unsigned[]) {2, 0}
 
#define INDX_TAG_FRAG_FILE_NR   (unsigned[]) {3, 0}
 
#define INDX_TAG_FRAG_SEQUENCE_NR   (unsigned[]) {4, 0}
 
#define INDX_TAG_FRAG_POSITION   (unsigned[]) {6, 0}
 
#define INDX_TAG_FRAG_LENGTH   (unsigned[]) {6, 1}
 
#define INDX_TAG_ORTH_POSITION   (unsigned[]) {1, 0}
 
#define INDX_TAG_ORTH_LENGTH   (unsigned[]) {2, 0}
 
#define INDX_TAGARR_ORTH_INFL   42
 
#define INDX_TAGARR_INFL_GROUPS   5
 
#define INDX_TAGARR_INFL_PARTS_V2   26
 
#define INDX_TAGARR_INFL_PARTS_V1   7
 

Detailed Description

Macro Definition Documentation

◆ INDX_TAG_FRAG_AID_CNCX

#define INDX_TAG_FRAG_AID_CNCX   (unsigned[]) {2, 0}

Frag aid CNCX offset

◆ INDX_TAG_FRAG_FILE_NR

#define INDX_TAG_FRAG_FILE_NR   (unsigned[]) {3, 0}

Frag file number

◆ INDX_TAG_FRAG_LENGTH

#define INDX_TAG_FRAG_LENGTH   (unsigned[]) {6, 1}

Frag length

◆ INDX_TAG_FRAG_POSITION

#define INDX_TAG_FRAG_POSITION   (unsigned[]) {6, 0}

Frag position

◆ INDX_TAG_FRAG_SEQUENCE_NR

#define INDX_TAG_FRAG_SEQUENCE_NR   (unsigned[]) {4, 0}

Frag sequence number

◆ INDX_TAG_GUIDE_TITLE_CNCX

#define INDX_TAG_GUIDE_TITLE_CNCX   (unsigned[]) {1, 0}

Guide title CNCX offset

◆ INDX_TAG_NCX_CHILD_END

#define INDX_TAG_NCX_CHILD_END   (unsigned[]) {23, 0}

NCX last child

◆ INDX_TAG_NCX_CHILD_START

#define INDX_TAG_NCX_CHILD_START   (unsigned[]) {22, 0}

NCX start child

◆ INDX_TAG_NCX_FILEPOS

#define INDX_TAG_NCX_FILEPOS   (unsigned[]) {1, 0}

NCX filepos offset

◆ INDX_TAG_NCX_KIND_CNCX

#define INDX_TAG_NCX_KIND_CNCX   (unsigned[]) {5, 0}

NCX kind CNCX offset

◆ INDX_TAG_NCX_LEVEL

#define INDX_TAG_NCX_LEVEL   (unsigned[]) {4, 0}

NCX level

◆ INDX_TAG_NCX_PARENT

#define INDX_TAG_NCX_PARENT   (unsigned[]) {21, 0}

NCX parent

◆ INDX_TAG_NCX_POSFID

#define INDX_TAG_NCX_POSFID   (unsigned[]) {6, 0}

NCX pos:fid

◆ INDX_TAG_NCX_POSOFF

#define INDX_TAG_NCX_POSOFF   (unsigned[]) {6, 1}

NCX pos:off

◆ INDX_TAG_NCX_TEXT_CNCX

#define INDX_TAG_NCX_TEXT_CNCX   (unsigned[]) {3, 0}

NCX text CNCX offset

◆ INDX_TAG_ORTH_LENGTH

#define INDX_TAG_ORTH_LENGTH   (unsigned[]) {2, 0}

Orth entry end position

◆ INDX_TAG_ORTH_POSITION

#define INDX_TAG_ORTH_POSITION   (unsigned[]) {1, 0}

Orth entry start position

◆ INDX_TAG_SKEL_COUNT

#define INDX_TAG_SKEL_COUNT   (unsigned[]) {1, 0}

Skel fragments count

◆ INDX_TAG_SKEL_LENGTH

#define INDX_TAG_SKEL_LENGTH   (unsigned[]) {6, 1}

Skel length

◆ INDX_TAG_SKEL_POSITION

#define INDX_TAG_SKEL_POSITION   (unsigned[]) {6, 0}

Skel position

◆ INDX_TAGARR_INFL_GROUPS

#define INDX_TAGARR_INFL_GROUPS   5

Inflection groups in infl index

◆ INDX_TAGARR_INFL_PARTS_V1

#define INDX_TAGARR_INFL_PARTS_V1   7

Inflection particles in old type infl index

◆ INDX_TAGARR_INFL_PARTS_V2

#define INDX_TAGARR_INFL_PARTS_V2   26

Inflection particles in infl index

◆ INDX_TAGARR_ORTH_INFL

#define INDX_TAGARR_ORTH_INFL   42

Inflection groups for orth entry