]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/socketengines/socketengine_iocp.h
Update all wiki links to point to the new wiki. This was done automatically with...
[user/henk/code/inspircd.git] / include / socketengines / socketengine_iocp.h
index b024828f1170654f878138f20af332b6704dba93..302fdbd2ce24e0c85e8c073d9614e8f79a7a46d5 100644 (file)
@@ -2,8 +2,8 @@
  *       | Inspire Internet Relay Chat Daemon |
  *       +------------------------------------+
  *
- *  InspIRCd: (C) 2002-2007 InspIRCd Development Team
- * See: http://www.inspircd.org/wiki/index.php/Credits
+ *  InspIRCd: (C) 2002-2009 InspIRCd Development Team
+ * See: http://wiki.inspircd.org/Credits
  *
  * This program is free but copyrighted software; see
  *         the file COPYING for details.
@@ -19,7 +19,6 @@
 
 #include "inspircd_config.h"
 #include "inspircd_win32wrapper.h"
-#include "globals.h"
 #include "inspircd.h"
 #include "socketengine.h"
 
@@ -104,14 +103,14 @@ class IOCPEngine : public SocketEngine
                }
                return -1;
        }
-       
+
        /** Global I/O completion port that sockets attach to.
         */
        HANDLE m_completionPort;
 
-       /** This is kinda shitty... :/ for getting an address from a real fd. 
+       /** This is kinda shitty... :/ for getting an address from a real fd.
         */
-       map<int, EventHandler*> m_binding;
+       std::map<int, EventHandler*> m_binding;
 
 public:
        /** Holds the preallocated buffer passed to WSARecvFrom
@@ -145,7 +144,7 @@ public:
        __inline int GetRemainingFds()
        {
                register int count = 0;
-               register int i = 0;                     
+               register int i = 0;
                for(; i < MAX_DESCRIPTORS; ++i)
                        if(ref[i] == 0)
                                ++count;
@@ -239,4 +238,3 @@ public:
 };
 
 #endif
-