The InspIRCd Project
Home | Developers | Wiki | Forums | Bug Tracker | SVN | Download
Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

DNSBLConfEntry Class Reference

Inheritance diagram for DNSBLConfEntry:

Inheritance graph
[legend]
Collaboration diagram for DNSBLConfEntry:

Collaboration graph
[legend]
List of all members.

Public Types

enum  EnumBanaction {
  I_UNKNOWN, I_KILL, I_ZLINE, I_KLINE,
  I_GLINE
}
enum  EnumType { A_RECORD, A_BITMASK }

Public Member Functions

 DNSBLConfEntry ()
 ~DNSBLConfEntry ()

Public Attributes

std::string name
std::string domain
std::string reason
EnumBanaction banaction
EnumType type
long duration
int bitmask
unsigned char records [256]
unsigned long stats_hits
unsigned long stats_misses

Detailed Description

Definition at line 27 of file m_dnsbl.cpp.


Member Enumeration Documentation

enum DNSBLConfEntry::EnumBanaction
 

Enumerator:
I_UNKNOWN 
I_KILL 
I_ZLINE 
I_KLINE 
I_GLINE 

Definition at line 30 of file m_dnsbl.cpp.

enum DNSBLConfEntry::EnumType
 

Enumerator:
A_RECORD 
A_BITMASK 

Definition at line 31 of file m_dnsbl.cpp.


Constructor & Destructor Documentation

DNSBLConfEntry::DNSBLConfEntry  )  [inline]
 

Definition at line 39 of file m_dnsbl.cpp.

DNSBLConfEntry::~DNSBLConfEntry  )  [inline]
 

Definition at line 40 of file m_dnsbl.cpp.


Member Data Documentation

EnumBanaction DNSBLConfEntry::banaction
 

Definition at line 33 of file m_dnsbl.cpp.

Referenced by DNSBLResolver::OnLookupComplete(), and ModuleDNSBL::ReadConf().

int DNSBLConfEntry::bitmask
 

Definition at line 36 of file m_dnsbl.cpp.

Referenced by DNSBLResolver::OnLookupComplete(), and ModuleDNSBL::ReadConf().

std::string DNSBLConfEntry::domain
 

Definition at line 32 of file m_dnsbl.cpp.

Referenced by ModuleDNSBL::ReadConf().

long DNSBLConfEntry::duration
 

Definition at line 35 of file m_dnsbl.cpp.

Referenced by DNSBLResolver::OnLookupComplete(), and ModuleDNSBL::ReadConf().

std::string DNSBLConfEntry::name
 

Definition at line 32 of file m_dnsbl.cpp.

Referenced by DNSBLResolver::OnLookupComplete(), and ModuleDNSBL::ReadConf().

std::string DNSBLConfEntry::reason
 

Definition at line 32 of file m_dnsbl.cpp.

Referenced by DNSBLResolver::OnLookupComplete(), and ModuleDNSBL::ReadConf().

unsigned char DNSBLConfEntry::records[256]
 

Definition at line 37 of file m_dnsbl.cpp.

Referenced by DNSBLResolver::OnLookupComplete(), and ModuleDNSBL::ReadConf().

unsigned long DNSBLConfEntry::stats_hits
 

Definition at line 38 of file m_dnsbl.cpp.

Referenced by DNSBLResolver::OnLookupComplete().

unsigned long DNSBLConfEntry::stats_misses
 

Definition at line 38 of file m_dnsbl.cpp.

Referenced by DNSBLResolver::OnLookupComplete().

EnumType DNSBLConfEntry::type
 

Definition at line 34 of file m_dnsbl.cpp.

Referenced by DNSBLResolver::OnLookupComplete(), and ModuleDNSBL::ReadConf().


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