Anope IRC Services  Version 2.0
Public Member Functions | Private Attributes
DNSBLResolver Class Reference
Inheritance diagram for DNSBLResolver:
Inheritance graph
Collaboration diagram for DNSBLResolver:
Collaboration graph

Public Member Functions

 DNSBLResolver (Module *c, User *u, const Blacklist &b, const Anope::string &host, bool add_akill)
void OnLookupComplete (const Query *record) anope_override
- Public Member Functions inherited from DNS::Request
 Request (Manager *mgr, Module *c, const Anope::string &addr, QueryType qt, bool cache=false)
virtual ~Request ()
virtual void OnError (const Query *r)
void Tick (time_t) anope_override
- Public Member Functions inherited from Timer
 Timer (long time_from_now, time_t now=Anope::CurTime, bool repeating=false)
 Timer (Module *creator, long time_from_now, time_t now=Anope::CurTime, bool repeating=false)
virtual ~Timer ()
void SetTimer (time_t t)
time_t GetTimer () const
bool GetRepeat () const
void SetSecs (time_t t)
long GetSecs () const
time_t GetSetTime () const
ModuleGetOwner () const
- 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

Private Attributes

Reference< Useruser
Blacklist blacklist
bool add_to_akill

Additional Inherited Members

- Data Fields inherited from DNS::Request
bool use_cache
unsigned short id
- Data Fields inherited from DNS::Question
Anope::string name
QueryType type
unsigned short qclass

Detailed Description

Definition at line 26 of file m_dnsbl.cpp.

Constructor & Destructor Documentation

◆ DNSBLResolver()

DNSBLResolver::DNSBLResolver ( Module c,
User u,
const Blacklist b,
const Anope::string host,
bool  add_akill 

Definition at line 33 of file m_dnsbl.cpp.

Member Function Documentation

◆ OnLookupComplete()

void DNSBLResolver::OnLookupComplete ( const Query r)

Field Documentation

◆ add_to_akill

bool DNSBLResolver::add_to_akill

Definition at line 30 of file m_dnsbl.cpp.

◆ blacklist

Blacklist DNSBLResolver::blacklist

Definition at line 29 of file m_dnsbl.cpp.

◆ user

Reference<User> DNSBLResolver::user

Definition at line 28 of file m_dnsbl.cpp.

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