BLOG | DOCUMENTATION | TRAC

Home --> Documentations --> PJLIB-UTIL Reference

Data Fields

pj_str_t name
 
pj_str_t alias
 
unsigned addr_count
 
pj_in_addr addr [PJ_DNS_MAX_IP_IN_A_REC]
 
char buf_ [128]
 

Detailed Description

This structure represents DNS A record, as the result of parsing DNS response packet using pj_dns_parse_a_response().

Field Documentation

pj_in_addr pj_dns_a_record::addr[PJ_DNS_MAX_IP_IN_A_REC]

IP addresses of the host found in the response

unsigned pj_dns_a_record::addr_count

Number of IP addresses.

pj_str_t pj_dns_a_record::alias

If target name corresponds to a CNAME entry, the alias contains the value of the CNAME entry, otherwise it will be empty.

char pj_dns_a_record::buf_[128]

Internal buffer for hostname and alias.

pj_str_t pj_dns_a_record::name

The target name being queried.


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

 


PJLIB-UTIL Open Source, small footprint, and portable asynchronous/caching DNS resolver, text scanner, STUN client, and XML library
Copyright (C) 2006-2009 Teluu Inc.