]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virsh: add vshCommandParser abstraction
authorLai Jiangshan <laijs@cn.fujitsu.com>
Tue, 12 Oct 2010 07:13:50 +0000 (15:13 +0800)
committerEric Blake <eblake@redhat.com>
Wed, 13 Oct 2010 13:52:32 +0000 (07:52 -0600)
commita93f514f5f7025526aee5f3a72e997b7d258be4e
tree92533fdbfcf3434e9e25e0003a58dadf6df95ad7
parent4417f08de46e166f94b5db148b6ff4e3d65922e5
virsh: add vshCommandParser abstraction

add vshCommandParser and make vshCommandParse() accept different
parsers.

the current code for parse command string is integrated as
vshCommandStringParse().

Signed-off-by: Lai Jiangshan <laijs@cn.fujitsu.com>
tools/virsh.c