summaryrefslogtreecommitdiff
path: root/apps/plugins/text_viewer/tv_text_processor.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/text_viewer/tv_text_processor.h')
-rw-r--r--apps/plugins/text_viewer/tv_text_processor.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/apps/plugins/text_viewer/tv_text_processor.h b/apps/plugins/text_viewer/tv_text_processor.h
index 8a9de90..33e6a02 100644
--- a/apps/plugins/text_viewer/tv_text_processor.h
+++ b/apps/plugins/text_viewer/tv_text_processor.h
@@ -26,8 +26,17 @@
/*
* initialize the text processor module
*
+ * [In/Out] buf
+ * the start pointer of the buffer
+ *
+ * [In/Out] size
+ * enabled buffer size
+ *
+ * return
+ * true initialize success
+ * false initialize failure
*/
-void tv_init_text_processor(void);
+bool tv_init_text_processor(unsigned char **buf, size_t *bufsize);
/*
* set the processing conditions