summaryrefslogtreecommitdiff
path: root/ares.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2009-08-03 11:51:06 +0000
committerDaniel Stenberg <daniel@haxx.se>2009-08-03 11:51:06 +0000
commit408df8efcdc7d724e3c94c2ae14b9b35372f95c4 (patch)
tree4e897543572f1c3b15cb29cdd1dc6881413952f1 /ares.h
parentd0a8c3b68bcea7c790bcb7c338aea0411def3fba (diff)
downloadc-ares-408df8efcdc7d724e3c94c2ae14b9b35372f95c4.tar.gz
c-ares-408df8efcdc7d724e3c94c2ae14b9b35372f95c4.tar.bz2
c-ares-408df8efcdc7d724e3c94c2ae14b9b35372f95c4.zip
- Timo Teras changed the reason code used in the resolve callback done when
ares_cancel() is used, to be ARES_ECANCELLED instead of ARES_ETIMEOUT to better allow the callback to know what's happening.
Diffstat (limited to 'ares.h')
-rw-r--r--ares.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ares.h b/ares.h
index 386c0ca..f64e862 100644
--- a/ares.h
+++ b/ares.h
@@ -86,6 +86,7 @@ extern "C" {
#define ARES_ENOMEM 15
#define ARES_EDESTRUCTION 16
#define ARES_EBADSTR 17
+#define ARES_ECANCELLED 21
/* ares_getnameinfo error codes */
#define ARES_EBADFLAGS 18