|
|||
|
|||
|
Inheritance diagram for CGIResolver:


Public Member Functions | |
| CGIResolver (Module *me, InspIRCd *Instance, bool NotifyOpers, const std::string &source, bool forward, User *u, int userfd, const std::string &type, bool &cached) | |
| virtual void | OnLookupComplete (const std::string &result, unsigned int ttl, bool cached, int resultnum=0) |
| When your lookup completes, this method will be called. | |
| virtual void | OnError (ResolverError e, const std::string &errormessage) |
| If an error occurs (such as NXDOMAIN, no domain name found) then this method will be called. | |
| virtual | ~CGIResolver () |
Private Attributes | |
| std::string | typ |
| int | theirfd |
| User * | them |
| bool | notify |
Definition at line 92 of file m_cgiirc.cpp.
|
||||||||||||||||||||||||||||||||||||||||
|
Definition at line 99 of file m_cgiirc.cpp. |
|
|
Definition at line 130 of file m_cgiirc.cpp. |
|
||||||||||||
|
If an error occurs (such as NXDOMAIN, no domain name found) then this method will be called.
Reimplemented from Resolver. Definition at line 121 of file m_cgiirc.cpp. References SocketEngine::GetRef(), connection::host, User::nick, notify, InspIRCd::SE, Resolver::ServerInstance, InspIRCd::SNO, theirfd, them, typ, and SnomaskManager::WriteToSnoMask(). |
|
||||||||||||||||||||
|
When your lookup completes, this method will be called.
Implements Resolver. Definition at line 102 of file m_cgiirc.cpp. References User::CheckLines(), User::dhost, SocketEngine::GetRef(), connection::host, User::ident, User::InvalidateCache(), User::nick, notify, InspIRCd::SE, Resolver::ServerInstance, InspIRCd::SNO, theirfd, them, typ, and SnomaskManager::WriteToSnoMask(). |
|
|
Definition at line 97 of file m_cgiirc.cpp. Referenced by OnError(), and OnLookupComplete(). |
|
|
Definition at line 95 of file m_cgiirc.cpp. Referenced by OnError(), and OnLookupComplete(). |
|
|
Definition at line 96 of file m_cgiirc.cpp. Referenced by OnError(), and OnLookupComplete(). |
|
|
Definition at line 94 of file m_cgiirc.cpp. Referenced by OnError(), and OnLookupComplete(). |