21 Aug
2012
21 Aug
'12
1:47 p.m.
On 08/20/2012 05:37 PM, Eric Blake wrote:
Another relatively easy split, since helper functions were fixed in the previous patch.
* tools/virsh-interface.h: New file. * tools/Makefile.am (virsh_SOURCES): Build it. * tools/virsh.c: Use new header. * tools/virsh-interface.c: Likewise. (vshCommandOptInterfaceBy): Check flags. --- tools/Makefile.am | 2 +- tools/virsh-interface.c | 28 +++++++++++++++++++--------- tools/virsh-interface.h | 42 ++++++++++++++++++++++++++++++++++++++++++ tools/virsh.c | 2 +- 4 files changed, 63 insertions(+), 11 deletions(-) create mode 100644 tools/virsh-interface.h
No surprises there. ACK.