[libvirt] [PATCH 4/8] virsh: add vrshCommandParser abstraction

2010-10-12 Thread Lai Jiangshan
add vrshCommandParser and make vshCommandParse() accepts different parsers. the current code for parse command string is integrated as vshCommandStringParse(). Signed-off-by: Lai Jiangshan la...@cn.fujitsu.com --- virsh.c | 91 +++-

Re: [libvirt] [PATCH 4/8] virsh: add vrshCommandParser abstraction

2010-10-12 Thread Eric Blake
On 10/12/2010 01:13 AM, Lai Jiangshan wrote: add vrshCommandParser and make vshCommandParse() accepts different s/vrsh/vsh/; s/accepts/accept/ parsers. the current code for parse command string is integrated as vshCommandStringParse(). Signed-off-by: Lai Jiangshanla...@cn.fujitsu.com ---