ZEReader 0.1.0
A Zephyr-based E-Book-Reader
|
Represents the current book read. More...
#include <epub.h>
Data Fields | |
uint16_t | num_chapters |
chapter_list_t * | chapter_list |
chapter_list_t * | current_chapter |
char | page [1400] |
char | pretty_page [1400] |
char * | chapter_filename |
char * | root_dir |
struct { | |
char * title | |
size_t chapter | |
size_t file_offset | |
} | state |
Represents the current book read.
size_t current_book_t::chapter |
The currently read chapter.
char* current_book_t::chapter_filename |
The current chapter's filename.
chapter_list_t* current_book_t::chapter_list |
A pointer to the book's chapter list.
chapter_list_t* current_book_t::current_chapter |
A pointer to the currently active chapter.
size_t current_book_t::file_offset |
The current file offset within the chapter file.
uint16_t current_book_t::num_chapters |
The number of the book's chapters.
char current_book_t::page[1400] |
The currently read raw page chunk.
char current_book_t::pretty_page[1400] |
The parsed and prettified page chunk.
char* current_book_t::root_dir |
The current book's root directory path.
struct { ... } current_book_t::state |
The current book's state.
char* current_book_t::title |
The currently read book's title.
Use to find and open the right book at rebooting the Reader.