summaryrefslogtreecommitdiff
path: root/channels/console_video.h
diff options
context:
space:
mode:
authorLuigi Rizzo <rizzo@icir.org>2008-01-09 16:44:20 +0000
committerLuigi Rizzo <rizzo@icir.org>2008-01-09 16:44:20 +0000
commitaaddb77f424a9a29099992f65c5d9cbbf84d1fa3 (patch)
tree7c5a36fe738b9e8543d192c6eccebc3cb1285a92 /channels/console_video.h
parent2ad2f9240581cb2bb0195bfcf815f8f440131723 (diff)
Implement keyboard handling, and use it to enter
a number to dial in the 'message' area under the keypad. Now you can make calls using the keypad as a regular phone (or the keyboard for chars not present on the keypad) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@97488 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels/console_video.h')
-rw-r--r--channels/console_video.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/channels/console_video.h b/channels/console_video.h
index 3d3975a67..8314da3a8 100644
--- a/channels/console_video.h
+++ b/channels/console_video.h
@@ -86,5 +86,16 @@ int console_video_config(struct video_desc **penv, const char *var, const char *
void console_video_uninit(struct video_desc *env);
void console_video_start(struct video_desc *env, struct ast_channel *owner);
+/* console_board.c */
+struct board;
+/* !\brief print a message on a board */
+int print_message(struct board *b, const char *s);
+
+/*! \brief return the whole text from a board */
+const char *read_message(const struct board *b);
+
+/*! \brief reset the board to blank */
+int reset_board(struct board *b);
+
#endif /* CONSOLE_VIDEO_H */
/* end of file */