Class KomodiaDNS::CDNSAnswer Base ClassesData ItemsConstructorsDestructorsFunctionsCustom CodeGo to hierarchy chart    Prev page: SetAnswerTypeNext page: Custom Code in Header Public Section    Show member index
Custom Code in Header After Includes Declared in:
DNSAnswer.h

'Custom Code' icon -- Shortcut to top of page. Custom Code

// Header of the DNS RR
typedef struct _DnsRRHeader
{
    std::string         sName;              // Variable
    unsigned short      usType;             // Too many fields
    unsigned short      usClass;
    unsigned long       ulTTL;
    unsigned short      usRdlLength;
    std::string         sData;              // Variable

    //Default initializing ctor
    _DnsRRHeader() : usType(0),
                     usClass(0),
                     ulTTL(0),
                     usRdlLength(0)
    {
    }
} DnsRRHeader;
typedef DnsRRHeader FAR * LPDnsRRHeader;

//SOA record
typedef struct _DNSSOARecord
{
    std::string     sPrimaryNameServer;
    std::string     sAuthorativeMailbox;
    unsigned long   ulVersionNumber;
    unsigned long   ulRefreshInterval;
    unsigned long   ulRetryInterval;
    unsigned long   ulExpirationLimit;
    unsigned long   ulMinimumTTL;

    //Default initializing ctor
    _DNSSOARecord() : ulVersionNumber(0),
                      ulRefreshInterval(0),
                      ulRetryInterval(0),
                      ulExpirationLimit(0),
                      ulMinimumTTL(0)
    {
    }
} DNSSOARecord;
#define DNSSOARecordCopySize (sizeof(unsigned long)*5)

'See Also' icon -- Shortcut to top of page. See Also

Class Overview Class Overview  |  Public base class CErrorHandler  |  Hierarchy Chart Hierarchy Chart


Get Surveyor!This web site was generated using Surveyor V4.50.811.1.  Click here for more information. Site content copyright © 2003 Komodia LTD.. See the About page for additional notices. This page last updated: 24 Feb 2003.