X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?a=blobdiff_plain;f=dirmngr%2Fdns-stuff.h;h=eb7fe7246b074386ca277c45a7571ff3fce337f3;hb=e8c37e998ef31abe2ea7f0f6e643676d596f813a;hp=0a4a4de2f4a75ff2ef7c9e01c0b89439dfdf76b5;hpb=ec7411146b283f9271f7d087bb7a58e2dba45fea;p=gnupg2.git diff --git a/dirmngr/dns-stuff.h b/dirmngr/dns-stuff.h index 0a4a4de..eb7fe72 100644 --- a/dirmngr/dns-stuff.h +++ b/dirmngr/dns-stuff.h @@ -113,9 +113,9 @@ void enable_recursive_resolver (int yes); /* Return true iff the recursive resolver is used. */ int recursive_resolver_p (void); -/* Calling this function switches the DNS code into Tor mode if - possibe. Return 0 on success. */ -gpg_error_t enable_dns_tormode (int new_circuit); +/* Put this module eternally into Tor mode. When called agained with + * NEW_CIRCUIT request a new TOR circuit for the next DNS query. */ +void enable_dns_tormode (int new_circuit); /* Change the default IP address of the nameserver to IPADDR. The address needs to be a numerical IP address and will be used for the