ZEReader 0.1.0
A Zephyr-based E-Book-Reader
Loading...
Searching...
No Matches
current_book_t Struct Reference

Represents the current book read. More...

#include <epub.h>

Data Fields

uint16_t num_chapters
chapter_list_tchapter_list
chapter_list_tcurrent_chapter
char page [1500]
char * chapter_filename
char * chapter_raw_content
size_t chapter_raw_content_size
char * chapter_prettified_content
size_t chapter_prettified_content_size
char * content_dir
struct { 
   char *   title 
   int32_t   chapter 
   int32_t   page 
state

Detailed Description

Represents the current book read.

Field Documentation

◆ chapter

int32_t current_book_t::chapter

The currently read chapter.

◆ chapter_filename

char* current_book_t::chapter_filename

The current chapter's filename.

◆ chapter_list

chapter_list_t* current_book_t::chapter_list

A pointer to the book's chapter list.

◆ chapter_prettified_content

char* current_book_t::chapter_prettified_content

The prettified content of the current chapter file.

◆ chapter_prettified_content_size

size_t current_book_t::chapter_prettified_content_size

The size of the prettified content of the current chapter file.

◆ chapter_raw_content

char* current_book_t::chapter_raw_content

The raw content of the current chapter file.

◆ chapter_raw_content_size

size_t current_book_t::chapter_raw_content_size

The size of the raw content of the current chapter file.

◆ content_dir

char* current_book_t::content_dir

The current book's content root directory path.

◆ current_chapter

chapter_list_t* current_book_t::current_chapter

A pointer to the currently active chapter.

◆ num_chapters

uint16_t current_book_t::num_chapters

The number of the book's chapters.

◆ page [1/2]

char current_book_t::page[1500]

The currently read raw page chunk.

◆ page [2/2]

int32_t current_book_t::page

The page within a chapter.

◆ [struct]

struct { ... } current_book_t::state

The current book's state.

◆ title

char* current_book_t::title

The currently read book's title.

Use to find and open the right book at rebooting the Reader.


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