]> git.ipfire.org Git - thirdparty/libvirt.git/commit
list: Add helper to convert strings separated by ', ' to array
authorOsier Yang <jyang@redhat.com>
Tue, 4 Sep 2012 15:16:29 +0000 (23:16 +0800)
committerOsier Yang <jyang@redhat.com>
Thu, 6 Sep 2012 14:04:43 +0000 (22:04 +0800)
commitf7eac4f722854df381916cb2e035559d9b92cb71
treea127627036bef3d036a6fdcc1e35a15b3d27d276
parentcf458628176780edaf649a5cbc1ca1ad0cf73cc5
list: Add helper to convert strings separated by ', ' to array

tools/virsh.c: New helper function vshStringToArray.
tools/virsh.h: Declare vshStringToArray.
tools/virsh-domain.c: use the helper in cmdUndefine.
tools/virsh-domain.c
tools/virsh.c
tools/virsh.h