commit | 6636b62a6efc7f14e6e788788631ae7a7fca4537 | [log] [tgz] |
---|---|---|
author | James Yang <James.Yang@freescale.com> | Wed Jan 09 11:17:49 2008 -0600 |
committer | Wolfgang Denk <wd@denx.de> | Wed Jan 09 22:53:20 2008 +0100 |
tree | b06d73e6a8e7f7339a3a309f39ec93dc7c25d000 | |
parent | 7ca90513486abd4ae50bd1b7403f47cc58c5ad25 [diff] |
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>