]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/configreader.h
XHTML 1.1 spec validation and charset
[user/henk/code/inspircd.git] / include / configreader.h
index 773f1c63724ebe5c1069362742a214db0c5c1519..598fbef816802f1de7e287128820739e15d85b49 100644 (file)
@@ -32,9 +32,8 @@ typedef bool (*MultiNotify)(const char*);
 
 enum ConfigDataType { DT_NOTHING, DT_INTEGER, DT_CHARPTR, DT_BOOLEAN };
 
-class InitialConfig : public classbase
+struct InitialConfig
 {
- public:
        char* tag;
        char* value;
        void* val;
@@ -42,9 +41,8 @@ class InitialConfig : public classbase
        Validator validation_function;
 };
 
-class MultiConfig : public classbase
+struct MultiConfig
 {
- public:
        const char* tag;
        char* items[12];
        int datatype[12];
@@ -303,6 +301,10 @@ class ServerConfig : public Extensible
         */
        int ports[255];
 
+       /** A list of the file descriptors for the listening client ports
+        */
+       int openSockfd[MAX_DESCRIPTORS];
+
        /** Boolean sets of which modules implement which functions
         */
        char implement_lists[255][255];