diff options
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 */ |