Functions

Modules

 Creating, destroying, configuring and reading configuration from getdns_contexts
 
 Creating, destroying, reading from and manipulating getdns_dicts
 
 Creating, destroying, reading from and manipulating getdns_lists
 
 Scheduling asynchronous requests
 
 Performing synchronous requests
 
 Event loop extension functions
 
 Version functions
 
 DNSSEC functions
 
 Utility functions
 
 Converting between getdns DNS dicts, DNS wire format and DNS presentation format
 
 Converting strings to getdns data structures
 
 Creating simple DNS servers
 
 Deptricated utility functions
 

Functions

getdns_return_t getdns_dict_remove_name (getdns_dict *dict, const char *name)
 
getdns_dictgetdns_context_get_api_information (const getdns_context *context)
 

Detailed Description

Function Documentation

◆ getdns_dict_remove_name()

getdns_return_t getdns_dict_remove_name ( getdns_dict dict,
const char *  name 
)

◆ getdns_context_get_api_information()

getdns_dict* getdns_context_get_api_information ( const getdns_context context)

Retrieve information about the API itself and inspect the current context. The returned dictionary can be used with getdns_context_config() directly to configure another context with precisely these settings.

Parameters
contextThe context from which to get the information
Returns
A getdns_dict containing the following name/value pairs:
  • version_string (a bindata) represents the version string for this version of the DNS API.
  • implementation_string (a bindata) is a string showing which implementation of the getdns API this is. In our implementation this will always be set to "https://getdnsapi.net"
  • resolution_type (an int) is the type of resolver that the API is acting as in this context: GETDNS_RESOLUTION_RECURSING or GETDNS_RESOLUTION_STUB.
  • all_context (a dict) with names for all the other settings in context. The application is responsible for cleaning up the returned dictionary object with getdns_dict_destroy.