console: Remove deprecated function console_register_line_input
console_register_line_input has been deprecated for at least 2 releases so we can now remove it. Remove native_stdin_register_input that is associated with console_register_line_input. Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
parent
127a245fb0
commit
140a8d0c8a
5 changed files with 0 additions and 72 deletions
|
@ -105,26 +105,6 @@ void console_getline_init(void);
|
|||
*/
|
||||
char *console_getline(void);
|
||||
|
||||
/** @brief Initialize legacy fifo-based line input
|
||||
*
|
||||
* Input processing is started when string is typed in the console.
|
||||
* Carriage return is translated to NULL making string always NULL
|
||||
* terminated. Application before calling register function need to
|
||||
* initialize two fifo queues mentioned below.
|
||||
*
|
||||
* This is a special-purpose function, it's recommended to use
|
||||
* console_getchar() or console_getline() functions instead.
|
||||
*
|
||||
* @param avail_queue k_fifo queue keeping available line buffers
|
||||
* @param out_queue k_fifo queue of entered lines which to be processed
|
||||
* in the application code.
|
||||
* @param completion callback for tab completion of entered commands
|
||||
*/
|
||||
__deprecated void console_register_line_input(struct k_fifo *avail_queue,
|
||||
struct k_fifo *out_queue,
|
||||
u8_t (*completion)(char *str, u8_t len));
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue