Return values and texts
Macros | |
#define | GETDNS_RETURN_GOOD_TEXT "Good" |
#define | GETDNS_RETURN_GENERIC_ERROR_TEXT "Generic error" |
#define | GETDNS_RETURN_BAD_DOMAIN_NAME_TEXT "Badly-formed domain name in first argument" |
#define | GETDNS_RETURN_BAD_CONTEXT_TEXT "The context has internal deficiencies" |
#define | GETDNS_RETURN_CONTEXT_UPDATE_FAIL_TEXT "Did not update the context" |
#define | GETDNS_RETURN_UNKNOWN_TRANSACTION_TEXT "An attempt was made to cancel a callback with a transaction_id that is not recognized" |
#define | GETDNS_RETURN_NO_SUCH_LIST_ITEM_TEXT "A helper function for lists had an index argument that was too high." |
#define | GETDNS_RETURN_NO_SUCH_DICT_NAME_TEXT "A helper function for dicts had a name argument that for a name that is not in the dict." |
#define | GETDNS_RETURN_WRONG_TYPE_REQUESTED_TEXT "A helper function was supposed to return a certain type for an item, but the wrong type was given." |
#define | GETDNS_RETURN_NO_SUCH_EXTENSION_TEXT "A name in the extensions dict is not a valid extension." |
#define | GETDNS_RETURN_EXTENSION_MISFORMAT_TEXT "One or more of the extensions have a bad format." |
#define | GETDNS_RETURN_DNSSEC_WITH_STUB_DISALLOWED_TEXT "A query was made with a context that is using stub resolution and a DNSSEC extension specified." |
#define | GETDNS_RETURN_MEMORY_ERROR_TEXT "Unable to allocate the memory required." |
#define | GETDNS_RETURN_INVALID_PARAMETER_TEXT "A required parameter had an invalid value." |
#define | GETDNS_RETURN_NOT_IMPLEMENTED_TEXT "The library did not have the requested API feature implemented." |
#define | GETDNS_RETURN_IO_ERROR ((getdns_return_t) 397 ) |
#define | GETDNS_RETURN_IO_ERROR_TEXT "An input/output error occurred. Inspect errno for details." |
#define | GETDNS_RETURN_NO_UPSTREAM_AVAILABLE ((getdns_return_t) 398 ) |
#define | GETDNS_RETURN_NO_UPSTREAM_AVAILABLE_TEXT "None of the configured upstreams could be used to send queries on the specified transports" |
#define | GETDNS_RETURN_NEED_MORE_SPACE ((getdns_return_t) 399 ) |
#define | GETDNS_RETURN_NEED_MORE_SPACE_TEXT "The buffer was too small" |
Typedefs | |
typedef enum getdns_return_t | getdns_return_t |
Enumerations | |
enum | getdns_return_t { GETDNS_RETURN_GOOD = 0 , GETDNS_RETURN_GENERIC_ERROR = 1 , GETDNS_RETURN_BAD_DOMAIN_NAME = 300 , GETDNS_RETURN_BAD_CONTEXT = 301 , GETDNS_RETURN_CONTEXT_UPDATE_FAIL = 302 , GETDNS_RETURN_UNKNOWN_TRANSACTION = 303 , GETDNS_RETURN_NO_SUCH_LIST_ITEM = 304 , GETDNS_RETURN_NO_SUCH_DICT_NAME = 305 , GETDNS_RETURN_WRONG_TYPE_REQUESTED = 306 , GETDNS_RETURN_NO_SUCH_EXTENSION = 307 , GETDNS_RETURN_EXTENSION_MISFORMAT = 308 , GETDNS_RETURN_DNSSEC_WITH_STUB_DISALLOWED = 309 , GETDNS_RETURN_MEMORY_ERROR = 310 , GETDNS_RETURN_INVALID_PARAMETER = 311 , GETDNS_RETURN_NOT_IMPLEMENTED = 312 } |
Detailed Description
Macro Definition Documentation
◆ GETDNS_RETURN_GOOD_TEXT
◆ GETDNS_RETURN_GENERIC_ERROR_TEXT
◆ GETDNS_RETURN_BAD_DOMAIN_NAME_TEXT
#define GETDNS_RETURN_BAD_DOMAIN_NAME_TEXT "Badly-formed domain name in first argument" |
◆ GETDNS_RETURN_BAD_CONTEXT_TEXT
#define GETDNS_RETURN_BAD_CONTEXT_TEXT "The context has internal deficiencies" |
◆ GETDNS_RETURN_CONTEXT_UPDATE_FAIL_TEXT
#define GETDNS_RETURN_CONTEXT_UPDATE_FAIL_TEXT "Did not update the context" |
◆ GETDNS_RETURN_UNKNOWN_TRANSACTION_TEXT
#define GETDNS_RETURN_UNKNOWN_TRANSACTION_TEXT "An attempt was made to cancel a callback with a transaction_id that is not recognized" |
◆ GETDNS_RETURN_NO_SUCH_LIST_ITEM_TEXT
#define GETDNS_RETURN_NO_SUCH_LIST_ITEM_TEXT "A helper function for lists had an index argument that was too high." |
◆ GETDNS_RETURN_NO_SUCH_DICT_NAME_TEXT
#define GETDNS_RETURN_NO_SUCH_DICT_NAME_TEXT "A helper function for dicts had a name argument that for a name that is not in the dict." |
◆ GETDNS_RETURN_WRONG_TYPE_REQUESTED_TEXT
#define GETDNS_RETURN_WRONG_TYPE_REQUESTED_TEXT "A helper function was supposed to return a certain type for an item, but the wrong type was given." |
◆ GETDNS_RETURN_NO_SUCH_EXTENSION_TEXT
#define GETDNS_RETURN_NO_SUCH_EXTENSION_TEXT "A name in the extensions dict is not a valid extension." |
◆ GETDNS_RETURN_EXTENSION_MISFORMAT_TEXT
#define GETDNS_RETURN_EXTENSION_MISFORMAT_TEXT "One or more of the extensions have a bad format." |
◆ GETDNS_RETURN_DNSSEC_WITH_STUB_DISALLOWED_TEXT
#define GETDNS_RETURN_DNSSEC_WITH_STUB_DISALLOWED_TEXT "A query was made with a context that is using stub resolution and a DNSSEC extension specified." |
◆ GETDNS_RETURN_MEMORY_ERROR_TEXT
#define GETDNS_RETURN_MEMORY_ERROR_TEXT "Unable to allocate the memory required." |
◆ GETDNS_RETURN_INVALID_PARAMETER_TEXT
#define GETDNS_RETURN_INVALID_PARAMETER_TEXT "A required parameter had an invalid value." |
◆ GETDNS_RETURN_NOT_IMPLEMENTED_TEXT
#define GETDNS_RETURN_NOT_IMPLEMENTED_TEXT "The library did not have the requested API feature implemented." |
◆ GETDNS_RETURN_IO_ERROR
#define GETDNS_RETURN_IO_ERROR ((getdns_return_t) 397 ) |
Definition at line 60 of file getdns_extra.h.
◆ GETDNS_RETURN_IO_ERROR_TEXT
#define GETDNS_RETURN_IO_ERROR_TEXT "An input/output error occurred. Inspect errno for details." |
Definition at line 61 of file getdns_extra.h.
◆ GETDNS_RETURN_NO_UPSTREAM_AVAILABLE
#define GETDNS_RETURN_NO_UPSTREAM_AVAILABLE ((getdns_return_t) 398 ) |
Definition at line 62 of file getdns_extra.h.
◆ GETDNS_RETURN_NO_UPSTREAM_AVAILABLE_TEXT
#define GETDNS_RETURN_NO_UPSTREAM_AVAILABLE_TEXT "None of the configured upstreams could be used to send queries on the specified transports" |
Definition at line 63 of file getdns_extra.h.
◆ GETDNS_RETURN_NEED_MORE_SPACE
#define GETDNS_RETURN_NEED_MORE_SPACE ((getdns_return_t) 399 ) |
Definition at line 64 of file getdns_extra.h.
◆ GETDNS_RETURN_NEED_MORE_SPACE_TEXT
#define GETDNS_RETURN_NEED_MORE_SPACE_TEXT "The buffer was too small" |
Definition at line 65 of file getdns_extra.h.
Typedef Documentation
◆ getdns_return_t
typedef enum getdns_return_t getdns_return_t |
Enumeration Type Documentation
◆ getdns_return_t
enum getdns_return_t |