summaryrefslogtreecommitdiff
path: root/include/inspircd.h
diff options
context:
space:
mode:
authordanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-10-24 20:03:53 +0000
committerdanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-10-24 20:03:53 +0000
commit6b2ea833674bb3bfedb0f2e2af06efa25655e5f5 (patch)
treeeed4cba6bd5b019ffd33f2e46ddb8b129d2d732d /include/inspircd.h
parent68e8a75daf6933d7ec4a3bd21cf12ed1ac880739 (diff)
Move forward declarations to typedefs.h
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11967 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/inspircd.h')
-rw-r--r--include/inspircd.h16
1 files changed, 3 insertions, 13 deletions
diff --git a/include/inspircd.h b/include/inspircd.h
index 292fbd488..a183e1ded 100644
--- a/include/inspircd.h
+++ b/include/inspircd.h
@@ -53,15 +53,12 @@
#include <map>
#include <bitset>
#include <set>
+#include "inspircd_config.h"
+#include "inspircd_version.h"
+#include "typedefs.h"
-/** A list of failed port bindings, used for informational purposes on startup */
-typedef std::vector<std::pair<std::string, std::string> > FailedPortList;
-
-class InspIRCd;
CoreExport extern InspIRCd* ServerInstance;
-#include "inspircd_config.h"
-#include "inspircd_version.h"
#include "caller.h"
#include "cull_list.h"
#include "extensible.h"
@@ -71,7 +68,6 @@ CoreExport extern InspIRCd* ServerInstance;
#include "channels.h"
#include "timer.h"
#include "hashcomp.h"
-#include "typedefs.h"
#include "logger.h"
#include "usermanager.h"
#include "socket.h"
@@ -237,8 +233,6 @@ class serverstats
}
};
-class InspIRCd;
-
DEFINE_HANDLER2(IsNickHandler, bool, const char*, size_t);
DEFINE_HANDLER1(IsIdentHandler, bool, const char*);
DEFINE_HANDLER1(FloodQuitUserHandler, void, User*);
@@ -246,10 +240,6 @@ DEFINE_HANDLER2(IsChannelHandler, bool, const char*, size_t);
DEFINE_HANDLER1(IsSIDHandler, bool, const std::string&);
DEFINE_HANDLER1(RehashHandler, void, const std::string&);
-/* Forward declaration - required */
-class XLineManager;
-class BanCacheManager;
-
/** The background thread for config reading, so that reading from executable includes
* does not block.
*/