diff options
author | Nick Mathewson <nickm@torproject.org> | 2006-06-13 21:49:56 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2006-06-13 21:49:56 +0000 |
commit | 66db3afb748edc786a21095f4a6d7df043130cd2 (patch) | |
tree | c1ea799d0ff653e6f6e9966e1f90eb572975ba1c /src/or/eventdns.h | |
parent | 977574e48d3ef99445a88f1b4e0dcfbf851c7f84 (diff) | |
download | tor-66db3afb748edc786a21095f4a6d7df043130cd2.tar.gz tor-66db3afb748edc786a21095f4a6d7df043130cd2.zip |
eventdns: Apply a couple of patches from AGL; start working on windows compat; note some TODOs.
svn:r6621
Diffstat (limited to 'src/or/eventdns.h')
-rw-r--r-- | src/or/eventdns.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/or/eventdns.h b/src/or/eventdns.h index 43f474e3f7..c2dab163a8 100644 --- a/src/or/eventdns.h +++ b/src/or/eventdns.h @@ -16,14 +16,25 @@ #ifndef EVENTDNS_H #define EVENTDNS_H +/* Error codes 0-5 are as described in RFC 1035. */ #define DNS_ERR_NONE 0 +/* The name server was unable to interpret the query */ #define DNS_ERR_FORMAT 1 +/* The name server was unable to process this query due to a problem with the + * name server */ #define DNS_ERR_SERVERFAILED 2 +/* The domain name does not exist */ #define DNS_ERR_NOTEXIST 3 +/* The name server does not support the requested kind of query */ #define DNS_ERR_NOTIMPL 4 +/* The name server refuses to reform the specified operation for policy + * reasons */ #define DNS_ERR_REFUSED 5 +/* The reply was truncated or ill-formated */ #define DNS_ERR_TRUNCATED 65 +/* An unknown error occurred */ #define DNS_ERR_UNKNOWN 66 +/* Communication with the server timed out */ #define DNS_ERR_TIMEOUT 67 #define DNS_IPv4_A 1 |