]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/configreader.h
Begin rethink on this. Warning, this WILL break your ircd if youre using trunk!
[user/henk/code/inspircd.git] / include / configreader.h
index 394d7f0f677050b8492d9394c7b12ba3514a8c6b..c06bd7fb577f0c4affaac418cbd54a8382344c7f 100644 (file)
@@ -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
         */