]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virsh: Split cmds to manage secret from virsh.c
authorOsier Yang <jyang@redhat.com>
Mon, 23 Jul 2012 06:18:51 +0000 (14:18 +0800)
committerOsier Yang <jyang@redhat.com>
Thu, 26 Jul 2012 04:00:43 +0000 (12:00 +0800)
commitd7acdcf0931ab1f28177a82b25526fc6b4d276c8
treeec2d1be134e932fa552ee3d8d4081843b686de26
parente9d10055dfb98fdc035bb5ba34189a8d97b2eb4e
virsh: Split cmds to manage secret from virsh.c

Commands to manage secret are moved from virsh.c to virsh-secret.c,
with a few helpers for secret command use.

* virsh.c: Remove secret commands and a few helpers.
           (vshCommandOptSecret, and vshCommandOptSecretBy)
* virsh-secret.c: New file, filled with secret commands and its helpers.
* po/POTFILES.in: Add virsh-secret.c
* cfg.mk: Skip to check config.h including for virsh-secret.c
cfg.mk
po/POTFILES.in
tools/virsh-secret.c [new file with mode: 0644]
tools/virsh.c