From 66db3afb748edc786a21095f4a6d7df043130cd2 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Tue, 13 Jun 2006 21:49:56 +0000 Subject: eventdns: Apply a couple of patches from AGL; start working on windows compat; note some TODOs. svn:r6621 --- src/or/eventdns.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'src/or/eventdns.h') 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 -- cgit v1.2.3-54-g00ecf