]> git.karo-electronics.de Git - karo-tx-uboot.git/commit
Expose parse_line() globally.
authorJames Yang <James.Yang@freescale.com>
Wed, 9 Jan 2008 17:17:49 +0000 (11:17 -0600)
committerWolfgang Denk <wd@denx.de>
Wed, 9 Jan 2008 21:53:20 +0000 (22:53 +0100)
commit6636b62a6efc7f14e6e788788631ae7a7fca4537
treeb06d73e6a8e7f7339a3a309f39ec93dc7c25d000
parent7ca90513486abd4ae50bd1b7403f47cc58c5ad25
Expose parse_line() globally.

Add new function readline_into_buffer() that allows the
output of readline to be put into a pointer to char buffer.

This refactoring allows other functions besides the
main command loop to also use the same input mechanism.

Signed-off-by: James Yang <James.Yang@freescale.com>
Acked-by: Jon Loeliger <jdl@freescale.com>
common/main.c
include/common.h