summaryrefslogtreecommitdiff
path: root/apps/plugins/text_viewer/tv_reader.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/text_viewer/tv_reader.h')
-rw-r--r--apps/plugins/text_viewer/tv_reader.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/apps/plugins/text_viewer/tv_reader.h b/apps/plugins/text_viewer/tv_reader.h
index 2ee0b828ab..0b079edddb 100644
--- a/apps/plugins/text_viewer/tv_reader.h
+++ b/apps/plugins/text_viewer/tv_reader.h
@@ -28,11 +28,17 @@
/*
* initialize the 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_reader(void);
+bool tv_init_reader(unsigned char **buf, size_t *bufsize);
/* finalize the reader module */
void tv_finalize_reader(void);