Modules

 Return values and texts
 
 DNSSEC values and texts
 
 Namespace types and texts
 
 Resolution types and texts
 
 Redirect policies and texts
 
 Transport arrangements and texts
 
 Transport list values and tests
 
 Suffix appending values and texts
 
 Context code values and texts
 
 Callback types and texts
 
 Types of name services and texts
 
 Status Codes for responses and texts
 
 Values associated with extensions and texts
 
 Values associated with DNS errors found by the API and texts
 
 RR Types
 
 RR Classes
 
 Opcodes
 
 Rcodes
 
 Version values
 
 Authentication values and texts
 

Data Structures

struct  getdns_bindata
 

Macros

#define GETDNS_AUTHENTICATION_HOSTNAME   GETDNS_AUTHENTICATION_REQUIRED
 

Typedefs

typedef struct getdns_context getdns_context
 
typedef uint64_t getdns_transaction_t
 
typedef enum getdns_data_type getdns_data_type
 
typedef struct getdns_bindata getdns_bindata
 
typedef struct getdns_dict getdns_dict
 
typedef struct getdns_list getdns_list
 

Enumerations

enum  getdns_data_type { t_dict , t_list , t_int , t_bindata }
 

Detailed Description

Macro Definition Documentation

◆ GETDNS_AUTHENTICATION_HOSTNAME

#define GETDNS_AUTHENTICATION_HOSTNAME   GETDNS_AUTHENTICATION_REQUIRED

Definition at line 136 of file getdns_extra.h.

Typedef Documentation

◆ getdns_context

Many calls in the DNS API require a DNS context. A DNS context contains the information that the API needs in order to process DNS calls, such as the locations of upstream DNS servers, DNSSEC trust anchors, and so on. The internal structure of the DNS context is opaque, and might be different on each OS. When a context is passed to any function, it must be an allocated context; the context must not be NULL.

Use getdns_context_set_* functions to configure a context.

Definition at line 1 of file getdns.h.

◆ getdns_transaction_t

typedef uint64_t getdns_transaction_t

When scheduling asynchronous requests, transaction identifiers associated with the request are returned. These identifiers are of the type: getdns_transaction_t. These identifiers can be used to associate answers with requests, and also to cancel outstanding requests.

Definition at line 520 of file getdns.h.

◆ getdns_data_type

getdns_list_get_data_type() and getdns_dict_get_data_type() return the type of data on an index in a getdns_list, or on a name in a getdns_dict.

◆ getdns_bindata

A struct to hold binary data.

◆ getdns_dict

typedef struct getdns_dict getdns_dict

getdns dictionary data type Use helper functions getdns_dict_* to manipulate and iterate dictionaries

Definition at line 520 of file getdns.h.

◆ getdns_list

typedef struct getdns_list getdns_list

getdns list data type Use helper functions getdns_list_* to manipulate and iterate lists Indexes are 0 based.

Definition at line 520 of file getdns.h.

Enumeration Type Documentation

◆ getdns_data_type

getdns_list_get_data_type() and getdns_dict_get_data_type() return the type of data on an index in a getdns_list, or on a name in a getdns_dict.

Enumerator
t_dict 
t_list 
t_int 
t_bindata 

Definition at line 527 of file getdns.h.