summaryrefslogtreecommitdiff
path: root/apps/plugins/text_viewer/tv_bookmark.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/text_viewer/tv_bookmark.h')
-rw-r--r--apps/plugins/text_viewer/tv_bookmark.h19
1 files changed, 17 insertions, 2 deletions
diff --git a/apps/plugins/text_viewer/tv_bookmark.h b/apps/plugins/text_viewer/tv_bookmark.h
index d61af41620..b0b91077d4 100644
--- a/apps/plugins/text_viewer/tv_bookmark.h
+++ b/apps/plugins/text_viewer/tv_bookmark.h
@@ -30,8 +30,23 @@
30/* Maximum amount of register possible bookmarks */ 30/* Maximum amount of register possible bookmarks */
31#define TV_MAX_BOOKMARKS 16 31#define TV_MAX_BOOKMARKS 16
32 32
33/* initialize the bookmark module */ 33/*
34void tv_init_bookmark(void); 34 * initialize the bookmark module
35 *
36 * [In/Out] buf
37 * the start pointer of the buffer
38 *
39 * [In/Out] size
40 * buffer size
41 *
42 * return
43 * true initialize success
44 * false initialize failure
45 */
46bool tv_init_bookmark(unsigned char **buf, size_t *size);
47
48/* finalize the bookmark module */
49void tv_finalize_bookmark(void);
35 50
36/* 51/*
37 * get the positions which registered bookmarks 52 * get the positions which registered bookmarks