From 169ce29b39e1f7414f1500963b5d1b46585e9d55 Mon Sep 17 00:00:00 2001 From: brain Date: Sun, 10 Dec 2006 17:35:00 +0000 Subject: Comment tidyups git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5917 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_alias.cpp | 14 +++++++------- src/modules/transport.h | 30 ++++++++++++++++++++++++++++-- 2 files changed, 35 insertions(+), 9 deletions(-) (limited to 'src/modules') 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: - * - * + * E-mail: + * + * * * 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: + * + * + * + * 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 #include @@ -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: -- cgit v1.2.3