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
[legend]
Collaboration diagram for DNS::ResourceRecord:
Collaboration graph
[legend]

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

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

Definition at line 99 of file dns.h.

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

Definition at line 100 of file dns.h.

Field Documentation

time_t DNS::ResourceRecord::created

Definition at line 97 of file dns.h.

Referenced by MyManager::Tick().

Anope::string DNS::ResourceRecord::rdata
unsigned int DNS::ResourceRecord::ttl

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