summaryrefslogtreecommitdiff
path: root/ares.h
diff options
context:
space:
mode:
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)