|
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 [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 |
Represents the current book read.
| int32_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.
| char* current_book_t::chapter_prettified_content |
The prettified content of the current chapter file.
| size_t current_book_t::chapter_prettified_content_size |
The size of the prettified content of the current chapter file.
| char* current_book_t::chapter_raw_content |
The raw content of the current chapter file.
| size_t current_book_t::chapter_raw_content_size |
The size of the raw content of the current chapter file.
| char* current_book_t::content_dir |
The current book's content root directory path.
| chapter_list_t* current_book_t::current_chapter |
A pointer to the currently active chapter.
| uint16_t current_book_t::num_chapters |
The number of the book's chapters.
| char current_book_t::page[1500] |
The currently read raw page chunk.
| int32_t current_book_t::page |
The page within a chapter.
| 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.