On Thu, Feb 18, 2016 at 03:21:03PM +0100, Michal Privoznik wrote: > 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@xxxxxxxxxx> > --- > configure.ac | 2 ++ > m4/virt-nss.m4 | 51 ++++++++++++++++++++++++++++++++++++++++++++++ > tools/Makefile.am | 39 +++++++++++++++++++++++++++++++++++ > tools/nss/libvirt_nss.c | 36 ++++++++++++++++++++++++++++++++ > tools/nss/libvirt_nss.h | 36 ++++++++++++++++++++++++++++++++ > tools/nss/libvirt_nss.syms | 9 ++++++++ > 6 files changed, 173 insertions(+) > create mode 100644 m4/virt-nss.m4 > create mode 100644 tools/nss/libvirt_nss.c > create mode 100644 tools/nss/libvirt_nss.h > create mode 100644 tools/nss/libvirt_nss.syms ACK Regards, Daniel -- |: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :| |: http://libvirt.org -o- http://virt-manager.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :| -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list