From c4b6c244b0cc0380451c6f087e8d009f3f490926 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Mon, 7 Mar 2011 17:42:06 +0000 Subject: [prompt] Replace shell_banner() with a generic prompt() function Signed-off-by: Michael Brown --- src/include/usr/prompt.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 src/include/usr/prompt.h (limited to 'src/include/usr') diff --git a/src/include/usr/prompt.h b/src/include/usr/prompt.h new file mode 100644 index 000000000..fc1946c7a --- /dev/null +++ b/src/include/usr/prompt.h @@ -0,0 +1,14 @@ +#ifndef _USR_PROMPT_H +#define _USR_PROMPT_H + +/** @file + * + * Prompt for keypress + * + */ + +FILE_LICENCE ( GPL2_OR_LATER ); + +extern int prompt ( const char *text, unsigned int wait_ms, int key ); + +#endif /* _USR_PROMPT_H */ -- cgit v1.2.3-55-g7522