summaryrefslogtreecommitdiff
path: root/ares.h
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2009-10-23 15:49:05 (GMT)
committerYang Tse <yangsita@gmail.com>2009-10-23 15:49:05 (GMT)
commitb53526b1a90e39051498285f3fbf468a7cd8a414 (patch)
treed217117523b1e397a78b91f1eccfa0170fc023bb /ares.h
parente199ec677f849d3afad1001346e2d49779b11274 (diff)
downloadc-ares-b53526b1a90e39051498285f3fbf468a7cd8a414.zip
c-ares-b53526b1a90e39051498285f3fbf468a7cd8a414.tar.gz
c-ares-b53526b1a90e39051498285f3fbf468a7cd8a414.tar.bz2
John Engelhart noticed an unreleased problem relative to a duplicate
ARES_ECANCELLED error code value and missing error code description.
Diffstat (limited to 'ares.h')
-rw-r--r--ares.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/ares.h b/ares.h
index ad7c4d5..d7c0ad2 100644
--- a/ares.h
+++ b/ares.h
@@ -86,7 +86,6 @@ 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
@@ -96,11 +95,14 @@ extern "C" {
#define ARES_EBADHINTS 20
/* Uninitialized library error code */
-#define ARES_ENOTINITIALIZED 21
+#define ARES_ENOTINITIALIZED 21 /* introduced in 1.6.1 */
/* ares_library_init error codes */
-#define ARES_ELOADIPHLPAPI 22
-#define ARES_EADDRGETNETWORKPARAMS 23
+#define ARES_ELOADIPHLPAPI 22 /* introduced in 1.6.1 */
+#define ARES_EADDRGETNETWORKPARAMS 23 /* introduced in 1.6.1 */
+
+/* More error codes */
+#define ARES_ECANCELLED 24 /* introduced in 1.6.1 */
/* Flag values */
#define ARES_FLAG_USEVC (1 << 0)