]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
Add #include <sys/select.h> to select engine, we probably need it
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>
Wed, 19 Jul 2006 13:29:06 +0000 (13:29 +0000)
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>
Wed, 19 Jul 2006 13:29:06 +0000 (13:29 +0000)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4443 e03df62e-2008-0410-955e-edbf42e46eb7

include/socketengine.h
include/socketengine_select.h
src/socketengine_select.cpp

index 734aa1938a5d0f85803c07f469e862df0e19c27c..c3e6e24981c7d5d54e7cc07fd21e1de4e9dcd743 100644 (file)
@@ -55,6 +55,15 @@ const char X_READBIT            = 0x80;
  * from system to system and upon the config
  * settings chosen by the server admin. The current
  * version supports select, epoll and kqueue.
+ * The configure script will enable a socket engine
+ * based upon what OS is detected, and will derive
+ * a class from SocketEngine based upon what it finds.
+ * The derived classes file will also implement a
+ * classfactory, SocketEngineFactory, which will
+ * create a derived instance of SocketEngine using
+ * polymorphism so that the core and modules do not
+ * have to be aware of which SocketEngine derived
+ * class they are using.
  */
 class SocketEngine : public Extensible
 {
index bbd9b78dda56acc313d9af4dcd85e488088ba033..442f8c7548e3afaae2ca127126bbb80dc4ccc620 100644 (file)
@@ -20,6 +20,7 @@
 #include <vector>
 #include <string>
 #include <map>
+#include <sys/select.h>
 #include "inspircd_config.h"
 #include "globals.h"
 #include "inspircd.h"
index 8d77da46126706ecb86e622a30936d7ccd4667aa..f36c9637947a331feb949da0d564bcbf27b0ff53 100644 (file)
@@ -19,6 +19,7 @@
 #include "inspircd.h"
 #include <vector>
 #include <string>
+#include <sys/select.h>
 #include "socketengine_select.h"
 #include "helperfuncs.h"