virsh: split out virsh-secret.c

One of the simpler splits.

* tools/virsh-secret.h: New file.
* tools/Makefile.am (virsh_SOURCES): Build it.
* tools/virsh.c: Use new header.
* tools/virsh-secret.c: Likewise.
This commit is contained in:
Eric Blake
2012-08-20 17:14:37 -06:00
parent ef8d35830c
commit 9cbb0eda92
4 changed files with 51 additions and 3 deletions

View File

@@ -114,8 +114,8 @@ virsh_SOURCES = \
virsh-nodedev.c virsh-nodedev.h \
virsh-nwfilter.c virsh-nwfilter.h \
virsh-pool.c virsh-pool.h \
virsh-secret.c virsh-secret.h \
$(NULL)
# virsh-secret.c virsh-secret.h \
# virsh-snapshot.c virsh-snapshot.h \
# virsh-volume.c virsh-volume.h \
#