summaryrefslogtreecommitdiff
path: root/include/configreader.h
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-11-11 17:53:57 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-11-11 17:53:57 +0000
commit05e88fcd544e3cc22cfdd080a829cf835531d6ee (patch)
treec1dc9339cab48008e4fe9290c303357bbba7c765 /include/configreader.h
parent5e1f2c1728b200951c0f192f2e2c6b83d53c879c (diff)
Begin rethink on this. Warning, this WILL break your ircd if youre using trunk!
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8566 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/configreader.h')
-rw-r--r--include/configreader.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/include/configreader.h b/include/configreader.h
index 394d7f0f6..c06bd7fb5 100644
--- a/include/configreader.h
+++ b/include/configreader.h
@@ -241,6 +241,8 @@ class CoreExport ServerConfig : public Extensible
/** Check that there is only one of each configuration item
*/
bool CheckOnce(char* tag);
+
+ std::map<std::string, std::stringstream*> IncludedFiles;
public:
@@ -251,6 +253,10 @@ class CoreExport ServerConfig : public Extensible
Validator DNSServerValidator;
InspIRCd* GetInstance();
+
+ bool Downloading();
+
+ void StartDownloads();
/** This holds all the information in the config file,
* it's indexed by tag name to a vector of key/values.
@@ -626,7 +632,7 @@ class CoreExport ServerConfig : public Extensible
* and initialize this class. All other methods
* should be used only by the core.
*/
- void Read(bool bail, User* user);
+ void Read(bool bail, User* user, int pass);
/** Read a file into a file_cache object
*/