1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-22 10:19:57 +01:00
Werner Koch 8bccbf4778
dirmngr: Implement a getaddrinfo wrapper.
* dirmngr/dns-stuff.h: Include some header files.
(dns_addinfo_t, dns_addrinfo_s): New.
* dirmngr/dns-stuff.c: Always include DNS related headers.
(free_dns_addrinfo): New.
(resolve_name_standard): New.
(resolve_dns_name): New.

* dirmngr/t-dns-stuff.c: Include netdb.h.
(main): Keep old default mode with no args but else print outout of
resolve_dns_name.  Revamp option parser.
--

This wrapper allows us to switch to ADNS and thus Tor for standard
name resultion.

Signed-off-by: Werner Koch <wk@gnupg.org>
2015-10-21 17:56:56 +02:00
..
2010-12-14 19:17:58 +00:00
2010-07-23 16:16:14 +00:00
2014-03-07 19:00:31 +01:00
2010-06-09 16:53:51 +00:00
2015-10-21 10:29:02 +02:00
2015-03-23 19:58:27 +01:00
2010-06-09 16:53:51 +00:00
2011-02-04 12:57:53 +01:00
2015-10-21 10:29:02 +02:00
2015-03-23 19:58:26 +01:00
2010-06-09 16:53:51 +00:00