summaryrefslogtreecommitdiff
path: root/apps/plugins/text_viewer/tv_text_reader.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/text_viewer/tv_text_reader.h')
-rw-r--r--apps/plugins/text_viewer/tv_text_reader.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/apps/plugins/text_viewer/tv_text_reader.h b/apps/plugins/text_viewer/tv_text_reader.h
index 50059c8b3c..5162892f4b 100644
--- a/apps/plugins/text_viewer/tv_text_reader.h
+++ b/apps/plugins/text_viewer/tv_text_reader.h
@@ -26,11 +26,17 @@
/*
* initialize the text reader module
*
+ * [In/Out] buf
+ * the start pointer of the buffer
+ *
+ * [In/Out] size
+ * enabled buffer size
+ *
* return
* true initialize success
* false initialize failure
*/
-bool tv_init_text_reader(void);
+bool tv_init_text_reader(unsigned char **buf, size_t *bufsize);
/* finalize the text reader module */
void tv_finalize_text_reader(void);