diff options
author | Justus Winter <justus@g10code.com> | 2016-12-12 16:48:41 +0100 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2016-12-14 15:56:58 +0100 |
commit | f8ab2c4c70ad15c4b2e45492606fb94ddaccdac7 (patch) | |
tree | 919a2c1f3ce94ece716328b269b060e5e97184a1 /dirmngr/dns.h | |
parent | dirmngr: Add basic libdns support (diff) | |
download | gnupg2-f8ab2c4c70ad15c4b2e45492606fb94ddaccdac7.tar.xz gnupg2-f8ab2c4c70ad15c4b2e45492606fb94ddaccdac7.zip |
dirmngr: New libdns snapshot
Diffstat (limited to 'dirmngr/dns.h')
-rw-r--r-- | dirmngr/dns.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/dirmngr/dns.h b/dirmngr/dns.h index 65911bc83..30d0b45af 100644 --- a/dirmngr/dns.h +++ b/dirmngr/dns.h @@ -533,7 +533,7 @@ struct dns_rr_i { int follow; - int (*sort)(); + int (*sort)(struct dns_rr *, struct dns_rr *, struct dns_rr_i *, struct dns_packet *); unsigned args[2]; struct { @@ -1076,7 +1076,11 @@ struct dns_options { } events; /* Use this SOCKS server. */ - struct sockaddr_storage *socks_host; + const struct sockaddr_storage *socks_host; + + /* Credentials for the SOCKS server (optional). */ + const char *socks_user; + const char *socks_password; }; /* struct dns_options */ |