dns_result Struct Reference
dns: DNS Resolver Library

`#include <dns.h>`

## Data Fields

int | count
int | type
union dns_result_rrs | rr
void * | __buffer

## Detailed Description

DNS query results.

## Field Documentation

## __buffer

void* dns_result::__buffer

Internal use buffer pointer.

## count

int dns_result::count

The number of results present.

Referenced by dns_ip4_packet(), dns_ip6_packet(), dns_qualify_rules(), resolve_calldns(), resolve_ipv4name_n(), and resolve_qualdns().

## rr

union dns_result_rrs dns_result::rr

The individual record arrays.

Referenced by dns_ip4_packet(), dns_ip4_r(), dns_ip6_packet(), dns_ip6_r(), resolve_ipv4addr(), and resolve_ipv4name_n().

## type

int dns_result::type

The record type of the results.

The documentation for this struct was generated from the following file:

- dns.h