diff options
author | Yang Tse <yangsita@gmail.com> | 2009-10-23 15:49:05 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2009-10-23 15:49:05 +0000 |
commit | b53526b1a90e39051498285f3fbf468a7cd8a414 (patch) | |
tree | d217117523b1e397a78b91f1eccfa0170fc023bb /ares.h | |
parent | e199ec677f849d3afad1001346e2d49779b11274 (diff) | |
download | c-ares-b53526b1a90e39051498285f3fbf468a7cd8a414.tar.gz c-ares-b53526b1a90e39051498285f3fbf468a7cd8a414.tar.bz2 c-ares-b53526b1a90e39051498285f3fbf468a7cd8a414.zip |
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.h | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -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) |