diff options
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/m_alias.cpp | 14 | ||||
-rw-r--r-- | src/modules/transport.h | 30 |
2 files changed, 35 insertions, 9 deletions
diff --git a/src/modules/m_alias.cpp b/src/modules/m_alias.cpp index 88e07e2d0..7b1b5bee0 100644 --- a/src/modules/m_alias.cpp +++ b/src/modules/m_alias.cpp @@ -1,15 +1,15 @@ -/* +------------------------------------+ - * | Inspire Internet Relay Chat Daemon | - * +------------------------------------+ +/* +------------------------------------+ + * | Inspire Internet Relay Chat Daemon | + * +------------------------------------+ * * InspIRCd is copyright (C) 2002-2006 ChatSpike-Dev. - * E-mail: - * <brain@chatspike.net> - * <Craig@chatspike.net> + * E-mail: + * <brain@chatspike.net> + * <Craig@chatspike.net> * * Written by Craig Edwards, Craig McLure, and others. * This program is free but copyrighted software; see - *the file COPYING for details. + * the file COPYING for details. * * --------------------------------------------------- */ diff --git a/src/modules/transport.h b/src/modules/transport.h index 4d303502e..460f1f1fc 100644 --- a/src/modules/transport.h +++ b/src/modules/transport.h @@ -1,5 +1,21 @@ -#ifndef __SSL_CERT_H__ -#define __SSL_CERT_H__ +/* +------------------------------------+ + * | Inspire Internet Relay Chat Daemon | + * +------------------------------------+ + * + * InspIRCd is copyright (C) 2002-2006 ChatSpike-Dev. + * E-mail: + * <brain@chatspike.net> + * <Craig@chatspike.net> + * + * Written by Craig Edwards, Craig McLure, and others. + * This program is free but copyrighted software; see + * the file COPYING for details. + * + * --------------------------------------------------- + */ + +#ifndef __TRANSPORT_H__ +#define __TRANSPORT_H__ #include <map> #include <string> @@ -149,6 +165,8 @@ class ssl_cert } }; +/** Used to represent a request to a transport provider module + */ class ISHRequest : public Request { public: @@ -159,6 +177,8 @@ class ISHRequest : public Request } }; +/** Used to represent a request to attach a cert to an InspSocket + */ class InspSocketAttachCertRequest : public ISHRequest { public: @@ -168,6 +188,8 @@ class InspSocketAttachCertRequest : public ISHRequest } }; +/** Used to check if a handshake is complete on an InspSocket yet + */ class InspSocketHSCompleteRequest : public ISHRequest { public: @@ -177,6 +199,8 @@ class InspSocketHSCompleteRequest : public ISHRequest } }; +/** Used to hook a transport provider to an InspSocket + */ class InspSocketHookRequest : public ISHRequest { public: @@ -186,6 +210,8 @@ class InspSocketHookRequest : public ISHRequest } }; +/** Used to unhook a transport provider from an InspSocket + */ class InspSocketUnhookRequest : public ISHRequest { public: |