diff options
author | Nick Mathewson <nickm@torproject.org> | 2006-09-29 18:13:33 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2006-09-29 18:13:33 +0000 |
commit | b21e656eaf8acff1e68a8b13cdbe6e06f463eff5 (patch) | |
tree | a8f6c2c8dcceece5fe81ae6944bfd7e75d88bae7 /src/or/eventdns.h | |
parent | 05604c60d42afc8dd006c67fad592275b24929a7 (diff) | |
download | tor-b21e656eaf8acff1e68a8b13cdbe6e06f463eff5.tar.gz tor-b21e656eaf8acff1e68a8b13cdbe6e06f463eff5.zip |
r9007@Kushana: nickm | 2006-09-29 13:17:32 -0400
Make eventdns give strings for DNS errors, not just error numbers.
svn:r8535
Diffstat (limited to 'src/or/eventdns.h')
-rw-r--r-- | src/or/eventdns.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/eventdns.h b/src/or/eventdns.h index 2aca5ef988..17cf762159 100644 --- a/src/or/eventdns.h +++ b/src/or/eventdns.h @@ -53,6 +53,7 @@ typedef void (*evdns_callback_type) (int result, char type, int count, int ttl, int evdns_init(void); void evdns_shutdown(int fail_requests); +const char * evdns_err_to_string(int err); int evdns_nameserver_add(unsigned long int address); int evdns_count_nameservers(void); int evdns_clear_nameservers_and_suspend(void); |