]> git.ipfire.org Git - thirdparty/libvirt.git/commit
secret: Introduce virSecretGetSecretString
authorJohn Ferlan <jferlan@redhat.com>
Mon, 4 Apr 2016 17:31:29 +0000 (13:31 -0400)
committerJohn Ferlan <jferlan@redhat.com>
Thu, 7 Apr 2016 00:31:21 +0000 (20:31 -0400)
commit2844de6f4060dde5afa02b9c21d14b54b249f961
treea38a321b7d4bf9882f058833b728ef3e7d2ce04d
parentd8a8cae342f1d3ceb99d451d87cab177302d247c
secret: Introduce virSecretGetSecretString

Commit id 'fb2bd208' essentially copied the qemuGetSecretString
creating an libxlGetSecretString.  Rather than have multiple copies
of the same code, create src/secret/secret_util.{c,h} files and
place the common function in there.

Modify the the build in order to build the module as a library
which is then pulled in by both the qemu and libxl drivers for
usage from both qemu_command.c and libxl_conf.c
po/POTFILES.in
src/Makefile.am
src/libvirt_private.syms
src/libxl/libxl_conf.c
src/qemu/qemu_command.c
src/secret/secret_util.c [new file with mode: 0644]
src/secret/secret_util.h [new file with mode: 0644]