s3: libsmb: Add dns_lookup_list_async() - not yet used.
authorJeremy Allison <jra@samba.org>
Tue, 21 Jul 2020 19:34:02 +0000 (12:34 -0700)
committerAndreas Schneider <asn@cryptomilk.org>
Fri, 7 Aug 2020 06:34:37 +0000 (06:34 +0000)
commit5ffcd883ddd4aef9ded18bee65562a8423e2f6c6
treefa907c0c26b41762ae8e1e48c4ef171db9be3e88
parent8a140391d6d2bba65275bdc7a85a33cc502dbfb7
s3: libsmb: Add dns_lookup_list_async() - not yet used.

Take a list of hostnames and does async A and AAAA (if
supported) lookups on them. Interface compatible with
dns_lookup_list() (with the addition of one extra
parameter returning the query name list, for use inside
dsgetdcname() internals later) and we'll replace it in the next
commit. Waits for lp_get_async_dns_timeout() seconds to complete.

Commented out as not yet used.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
source3/libsmb/namequery.c