diff options
Diffstat (limited to 'dirmngr/dns-stuff.h')
-rw-r--r-- | dirmngr/dns-stuff.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/dirmngr/dns-stuff.h b/dirmngr/dns-stuff.h index 2be972a53..075aeafab 100644 --- a/dirmngr/dns-stuff.h +++ b/dirmngr/dns-stuff.h @@ -92,6 +92,9 @@ struct srventry }; +/* Set verbosity and debug mode for this module. */ +void set_dns_verbose (int verbose, int debug); + /* Calling this function with YES set to True forces the use of the * standard resolver even if dirmngr has been built with support for * an alternative resolver. */ @@ -145,8 +148,9 @@ gpg_error_t get_dns_cert (const char *name, int want_certtype, unsigned char **r_fpr, size_t *r_fprlen, char **r_url); - -int getsrv (const char *name,struct srventry **list); +/* Return an array of SRV records. */ +gpg_error_t get_dns_srv (const char *name, + struct srventry **list, unsigned int *r_count); #endif /*GNUPG_DIRMNGR_DNS_STUFF_H*/ |