Anope IRC Services  Version 2.0
Public Member Functions | Data Fields
DNS::ResourceRecord Struct Reference

#include <dns.h>

Inheritance diagram for DNS::ResourceRecord:
Inheritance graph
Collaboration diagram for DNS::ResourceRecord:
Collaboration graph

Public Member Functions

 ResourceRecord (const Anope::string &n, QueryType t, unsigned short c=1)
 ResourceRecord (const Question &q)
- Public Member Functions inherited from DNS::Question
 Question ()
 Question (const Anope::string &n, QueryType t, unsigned short c=1)
bool operator== (const Question &other) const

Data Fields

unsigned int ttl
Anope::string rdata
time_t created
- Data Fields inherited from DNS::Question
Anope::string name
QueryType type
unsigned short qclass

Detailed Description

Definition at line 93 of file dns.h.

Constructor & Destructor Documentation

◆ ResourceRecord() [1/2]

DNS::ResourceRecord::ResourceRecord ( const Anope::string n,
QueryType  t,
unsigned short  c = 1 

Definition at line 99 of file dns.h.

◆ ResourceRecord() [2/2]

DNS::ResourceRecord::ResourceRecord ( const Question q)

Definition at line 100 of file dns.h.

Field Documentation

◆ created

time_t DNS::ResourceRecord::created

Definition at line 97 of file dns.h.

Referenced by MyManager::Tick().

◆ rdata

Anope::string DNS::ResourceRecord::rdata

◆ ttl

unsigned int DNS::ResourceRecord::ttl

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