]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/configreader.h
Fix for Jason's bug.. this needs more thought, though. I'll probably whip up somethin...
[user/henk/code/inspircd.git] / include / configreader.h
index 009b8a0ea5fb2bc4066577da925b495d873fd2d2..86191fa6d208327ff71601e19b7c91d06e155413 100644 (file)
@@ -178,6 +178,13 @@ struct InitialConfig
        Validator validation_function;
 };
 
+struct Deprecated
+{
+       const char* tag;
+       const char* value;
+       const char* reason;
+};
+
 /** Holds a core configuration item and its callbacks
  * where there may be more than one item
  */
@@ -674,6 +681,10 @@ class CoreExport ServerConfig : public Extensible
         */
        bool ReadFile(file_cache &F, const char* fname);
 
+       /* Returns true if the given string starts with a windows drive letter
+        */
+       bool StartsWithWindowsDriveLetter(const std::string &path);
+
        /** Report a configuration error given in errormessage.
         * @param bail If this is set to true, the error is sent to the console, and the program exits
         * @param user If this is set to a non-null value, and bail is false, the errors are spooled to