Public Member Functions | Data Fields | Static Private Member Functions | Private Attributes

SSLModule Class Reference

Inherits Module.

Collaboration diagram for SSLModule:
Collaboration graph
[legend]

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

Detailed Description

Definition at line 83 of file m_ssl.cpp.


Constructor & Destructor Documentation

SSLModule::SSLModule ( const Anope::string modname,
const Anope::string creator 
) [inline]
SSLModule::~SSLModule (  )  [inline]

Definition at line 164 of file m_ssl.cpp.

References client_ctx, Socket::io, server_ctx, and SocketEngine::Sockets.


Member Function Documentation

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().


Field Documentation

Definition at line 90 of file m_ssl.cpp.

Definition at line 90 of file m_ssl.cpp.

Definition at line 93 of file m_ssl.cpp.


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