]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/configreader.h
Tons more docs
[user/henk/code/inspircd.git] / include / configreader.h
index 5bf26e69523ff024678d894d461f6b722ade2f02..a63e31d71eedb4b0d969a9b64c0ead2fd44b0c5d 100644 (file)
@@ -84,6 +84,8 @@ class ServerConfig : public Extensible
        bool CheckOnce(char* tag, bool bail, userrec* user);
   
   public:
+
+       InspIRCd* GetInstance();
          
        /** This holds all the information in the config file,
         * it's indexed by tag name to a vector of key/values.
@@ -405,6 +407,12 @@ class ServerConfig : public Extensible
        Module* GetIOHook(int port);
        bool AddIOHook(int port, Module* iomod);
        bool DelIOHook(int port);
+
+       static std::string GetFullProgDir(char** argv, int argc);
+       static bool DirValid(const char* dirandfile);
+       static char* CleanFilename(char* name);
+       static bool FileExists(const char* file);
+       
 };
 
 bool InitializeDisabledCommands(const char* data, InspIRCd* ServerInstance);