1
0
Fork 0
forked from len0rd/rockbox

Commit FS#11799 by Alexander Meshcheryakov. Improves the text viewer plugin to write to the disk less often, and correct several minor bugs.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28833 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Michael Giacomelli 2010-12-14 21:33:45 +00:00
parent ee4ea4266b
commit 990cbf302e
9 changed files with 131 additions and 64 deletions

View file

@ -29,6 +29,7 @@
/* Maximum amount of register possible bookmarks */
#define TV_MAX_BOOKMARKS 16
#define SERIALIZE_BOOKMARK_SIZE 8
/*
* initialize the bookmark module
@ -83,7 +84,7 @@ void tv_create_system_bookmark(void);
* Return
* the size of the result
*/
int tv_serialize_bookmarks(int fd);
int tv_serialize_bookmarks(unsigned char *buf);
/*
* deserialize the bookmark array