API Reference | developer.brewmp.com API Reference | developer.brewmp.com

Developer

API Reference

AEEDNSITEM

Brew Release
Brew MP 1.0.2
See Also
None
Description
Each AEEDNSItem structure describes either a DNS Question or a DNS Resource Record (RR).
Members
  • pbyDomain: The NAME field of the RR/Question record.  This is given as a
                  pointer into the response data, and is in the DNS format for domain
                  names (possibly using header compression).  Use IDNS_ParseDomain()
                  to obtain a zero-terminated string in dotted notation.
  • nType    : The TYPE field of the RR/Question record.
  • nClass   : The CLASS field of the RR/Question record.
  • nTTL     : R
  • pbyData  : R
  • cbData   : R
Definition
  •    typedef struct AEEDNSItem {
          const byte *       pbyDomain;
          AEEDNSType         nType;
          AEEDNSClass        nClass;
          int32              nTTL;
          const byte *       pbyData;
          int32              cbData;
       } AEEDNSItem;
    
Comments
None