nwrap: Use nwrap vectors as memory backend for getaddrinfo() and gethostbyname()
authorRobin Hack <hack.robin@gmail.com>
Thu, 16 Jul 2015 14:10:20 +0000 (16:10 +0200)
committerMichael Adam <obnox@samba.org>
Wed, 7 Oct 2015 13:58:32 +0000 (15:58 +0200)
commit4c956bf0c1e79862263ef848e15e0bd70bf72a9f
tree7e9bcbf07df5efe0c2792bc7df243f9389922713
parentf067a6e867db3752592f21bba567fb14bfbc174d
nwrap: Use nwrap vectors as memory backend for getaddrinfo() and gethostbyname()

Previous patches introduced nwrap vectors and hash functions.
This patch will join all together.

Main purpose of this patch is:
- support more records per hostname.
  For example: hostname now can have associated IPv4 and IPv6 address.
- better handling of big number of hostname records

Signed-off-by: Robin Hack <hack.robin@gmail.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
src/nss_wrapper.c