]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/configreader.h
Document ListenSocket class
[user/henk/code/inspircd.git] / include / configreader.h
index b95cdede5a27e1204323186fcc04da386160608b..467b5bde3483eca442ea9a7a5012d6b62d166e1f 100644 (file)
@@ -25,6 +25,8 @@
 #include "inspircd.h"
 #include "globals.h"
 #include "modules.h"
+#include "socketengine.h"
+#include "socket.h"
 
 class ServerConfig;
 class InspIRCd;
@@ -84,6 +86,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.
@@ -308,7 +312,7 @@ class ServerConfig : public Extensible
 
        /** A list of the file descriptors for the listening client ports
         */
-       int openSockfd[MAX_DESCRIPTORS];
+       ListenSocket* openSockfd[255];
 
        /** Boolean sets of which modules implement which functions
         */