diff options
author | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2009-10-24 20:03:53 +0000 |
---|---|---|
committer | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2009-10-24 20:03:53 +0000 |
commit | 6b2ea833674bb3bfedb0f2e2af06efa25655e5f5 (patch) | |
tree | eed4cba6bd5b019ffd33f2e46ddb8b129d2d732d /include/configreader.h | |
parent | 68e8a75daf6933d7ec4a3bd21cf12ed1ac880739 (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/configreader.h')
-rw-r--r-- | include/configreader.h | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/include/configreader.h b/include/configreader.h index 70e09e6c3..4b42bcd43 100644 --- a/include/configreader.h +++ b/include/configreader.h @@ -23,20 +23,6 @@ #include "socketengine.h" #include "socket.h" -/* Required forward definitions */ -class ServerConfig; -class ServerLimits; -class InspIRCd; -class BufferedSocket; - -/** A cached text file stored with its contents as lines - */ -typedef std::vector<std::string> file_cache; - -/** A configuration key and value pair - */ -typedef std::pair<std::string, std::string> KeyVal; - /** Structure representing a single <tag> in config */ class CoreExport ConfigTag : public refcountbase { @@ -74,10 +60,6 @@ class CoreExport ConfigTag : public refcountbase ConfigTag(const std::string& Tag, const std::string& file, int line); }; -/** An entire config file, built up of KeyValLists - */ -typedef std::multimap<std::string, reference<ConfigTag> > ConfigDataHash; - /** Defines the server's length limits on various length-limited * items such as topics, nicknames, channel names etc. */ @@ -201,11 +183,6 @@ class CoreExport OperInfo : public refcountbase } }; -typedef std::map<std::string, reference<ConfigTag> > TagIndex; -typedef std::map<std::string, reference<OperInfo> > OperIndex; -typedef ConfigDataHash::iterator ConfigIter; -typedef std::pair<ConfigDataHash::iterator, ConfigDataHash::iterator> ConfigTagList; - /** This class holds the bulk of the runtime configuration for the ircd. * It allows for reading new config values, accessing configuration files, * and storage of the configuration data needed to run the ircd, such as |