]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/socketengine.h
More docs. Tons more docs. I need coffee and we're out of coffee :<
[user/henk/code/inspircd.git] / include / socketengine.h
index a788618a27a47ceb6a5d6f6c2018c40396ccb26d..5ccfa801e7b390f6e89a76ef3f8466ad1e4b9e82 100644 (file)
@@ -46,6 +46,8 @@ const char X_ESTAB_DNS          = 4;
  */
 const char X_READBIT            = 0x80;
 
+class InspIRCd;
+
 /**
  * The actual socketengine class presents the
  * same interface on all operating systems, but
@@ -67,6 +69,7 @@ const char X_READBIT            = 0x80;
 class SocketEngine : public Extensible
 {
 protected:
+       InspIRCd* ServerInstance;
        int EngineHandle;                       /* Handle to the socket engine if needed */
        int CurrentSetSize;                     /* Current number of descriptors in the engine */
        char ref[MAX_DESCRIPTORS];              /* Reference table */
@@ -80,7 +83,7 @@ public:
         * epoll on a 2.4 linux kernel) then this
         * function may bail back to the shell.
         */
-       SocketEngine();
+       SocketEngine(InspIRCd* Instance);
 
        /** Destructor
         * The destructor transparently tidies up