libmobi
C library for handling MOBI format ebook documents
Data Fields
MOBIFragment Struct Reference

Structure for links reconstruction. More...

#include <structure.h>

Data Fields

size_t raw_offset
 
unsigned char * fragment
 
size_t size
 
bool is_malloc
 
struct MOBIFragmentnext
 

Detailed Description

Structure for links reconstruction.

Linked list of Fragment structures forms whole document part

Field Documentation

◆ fragment

unsigned char* MOBIFragment::fragment

Fragment data

◆ is_malloc

bool MOBIFragment::is_malloc

Is it needed to free this fragment or is it just an alias to part data

◆ next

struct MOBIFragment* MOBIFragment::next

Link to next fragment

◆ raw_offset

size_t MOBIFragment::raw_offset

fragment offset in raw markup, SIZE_MAX if not present in original markup

◆ size

size_t MOBIFragment::size

Fragment size


The documentation for this struct was generated from the following file: