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." |
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
#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." |
Typedef Documentation
typedef enum getdns_return_t getdns_return_t |
Enumeration Type Documentation
enum getdns_return_t |