]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Initial support for NSS plugin skeleton
authorMichal Privoznik <mprivozn@redhat.com>
Sat, 13 Feb 2016 08:27:50 +0000 (09:27 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Fri, 18 Mar 2016 16:29:53 +0000 (17:29 +0100)
commit859cb18d5401ceaf678dc4b283b24b9af7f8f827
tree2e858938c33d824756d05e0fd665b636d4a14fa3
parent1ca59d89c6b7503fe065fb75d717e1487aea5b84
Initial support for NSS plugin skeleton

Name Service Switch is a glibc feature responsible for many
things. Translating domain names into IP addresses and vice versa
is just one of them. However, currently it's the only
functionality that this commit is tickling. Well, in this commit
the plugin skeleton is introduced. Implementation to come in next
patches.
Because of the future testing, where the implementation is to be
linked with a test, this needs to go into static library. Linking
a program with an .so statically is not portable. Therefore a
dummy libnss_libvirt_impl library is being introduced too.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
configure.ac
m4/virt-nss.m4 [new file with mode: 0644]
tools/Makefile.am
tools/nss/libvirt_nss.c [new file with mode: 0644]
tools/nss/libvirt_nss.h [new file with mode: 0644]
tools/nss/libvirt_nss.syms [new file with mode: 0644]