commit | 20ffa978af9772ddaffa37b877326adb590e8f3a | [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 | f33f94ac2a8cd4c2b06ae95b0f3fc6cb17e4878c [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>