Inherits Module.

Public Member Functions | |
| SSLModule (const Anope::string &modname, const Anope::string &creator) | |
| ~SSLModule () | |
| void | OnReload () anope_override |
| void | OnPreServerConnect () anope_override |
Data Fields | |
| MySSLService | service |
Static Private Member Functions | |
| static int | AlwaysAccept (int, X509_STORE_CTX *) |
Private Attributes | |
| Anope::string | certfile |
| Anope::string | keyfile |
Definition at line 83 of file m_ssl.cpp.
| SSLModule::SSLModule | ( | const Anope::string & | modname, | |
| const Anope::string & | creator | |||
| ) | [inline] |
Definition at line 95 of file m_ssl.cpp.
References AlwaysAccept(), ModuleManager::Attach(), Anope::string::c_str(), client_ctx, I_OnPreServerConnect, I_OnReload, Anope::IsFile(), Anope::string::length(), LOG_DEBUG, and server_ctx.
| SSLModule::~SSLModule | ( | ) | [inline] |
Definition at line 164 of file m_ssl.cpp.
References client_ctx, Socket::io, server_ctx, and SocketEngine::Sockets.
| static int SSLModule::AlwaysAccept | ( | int | , | |
| X509_STORE_CTX * | ||||
| ) | [inline, static, private] |
Definition at line 85 of file m_ssl.cpp.
Referenced by SSLModule().
| void SSLModule::OnPreServerConnect | ( | ) | [inline, virtual] |
Called before Anope connecs to its uplink
Reimplemented from Module.
Definition at line 187 of file m_ssl.cpp.
References Anope::CurrentUplink, MySSLService::Init(), ConfigReader::ReadFlag(), and UplinkSock.
| void SSLModule::OnReload | ( | ) | [inline, virtual] |
Called when Services' configuration has been loaded.
Reimplemented from Module.
Definition at line 179 of file m_ssl.cpp.
References ConfigReader::ReadValue().
Anope::string SSLModule::certfile [private] |
Anope::string SSLModule::keyfile [private] |
1.7.1