]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/configparser.h
m_dnsbl updates
[user/henk/code/inspircd.git] / include / configparser.h
index 3240ff5f9360874afffff7d2ae79f18d66693460..1054b1f7f8a0086ae058ccd67e1120108835ace5 100644 (file)
@@ -22,10 +22,11 @@ struct ParseStack
        std::vector<std::string> reading;
        std::map<std::string, std::string> vars;
        ConfigDataHash& output;
+       ConfigFileCache& FilesOutput;
        std::stringstream& errstr;
 
        ParseStack(ServerConfig* conf)
-               : output(conf->config_data), errstr(conf->errstr)
+               : output(conf->config_data), FilesOutput(conf->Files), errstr(conf->errstr)
        {
                vars["amp"] = "&";
                vars["quot"] = "\"";
@@ -34,6 +35,7 @@ struct ParseStack
        bool ParseFile(const std::string& name, int flags);
        bool ParseExec(const std::string& name, int flags);
        void DoInclude(ConfigTag* includeTag, int flags);
+       void DoReadFile(const std::string& key, const std::string& file, int flags, bool exec);
 };
 
 /** RAII wrapper on FILE* to close files on exceptions */