summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-10-23 22:30:25 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-10-23 22:30:25 +0000
commitcbb8fda4a7e763738e9675ec9f96286c87879176 (patch)
tree0ed6862e3b9f5f35ea86ea57e8a799f038523c28
parent71e400674fc9abc16b29004eff6fe18dd1c75f4e (diff)
Move socketengines into their own dir. This was all w00t's idea, but i told him no because i didnt think it would work. Now ive done it myself :P ner ner ne ner ner :)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8332 e03df62e-2008-0410-955e-edbf42e46eb7
-rwxr-xr-xconfigure2
-rw-r--r--include/socketengines/socketengine_epoll.h (renamed from include/socketengine_epoll.h)0
-rw-r--r--include/socketengines/socketengine_iocp.h (renamed from include/socketengine_iocp.h)0
-rw-r--r--include/socketengines/socketengine_kqueue.h (renamed from include/socketengine_kqueue.h)0
-rw-r--r--include/socketengines/socketengine_ports.h (renamed from include/socketengine_ports.h)0
-rw-r--r--include/socketengines/socketengine_select.h (renamed from include/socketengine_select.h)0
-rw-r--r--src/socketengine.cpp8
-rw-r--r--src/socketengines/socketengine_epoll.cpp (renamed from src/socketengine_epoll.cpp)2
-rw-r--r--src/socketengines/socketengine_iocp.cpp (renamed from src/socketengine_iocp.cpp)2
-rw-r--r--src/socketengines/socketengine_kqueue.cpp (renamed from src/socketengine_kqueue.cpp)2
-rw-r--r--src/socketengines/socketengine_ports.cpp (renamed from src/socketengine_ports.cpp)2
-rw-r--r--src/socketengines/socketengine_select.cpp (renamed from src/socketengine_select.cpp)2
12 files changed, 10 insertions, 10 deletions
diff --git a/configure b/configure
index 3908411d8..ba44b745c 100755
--- a/configure
+++ b/configure
@@ -1166,7 +1166,7 @@ print FILEHANDLE "#define MAXBUF " . ($config{MAXBUF}+2) . "\n";
#ifndef __CONFIGURATION_SOCKETENGINE__
#define __CONFIGURATION_SOCKETENGINE__
-#include "$se.h"
+#include "socketengines/$se.h"
#endif
EOF
diff --git a/include/socketengine_epoll.h b/include/socketengines/socketengine_epoll.h
index 736a109eb..736a109eb 100644
--- a/include/socketengine_epoll.h
+++ b/include/socketengines/socketengine_epoll.h
diff --git a/include/socketengine_iocp.h b/include/socketengines/socketengine_iocp.h
index b024828f1..b024828f1 100644
--- a/include/socketengine_iocp.h
+++ b/include/socketengines/socketengine_iocp.h
diff --git a/include/socketengine_kqueue.h b/include/socketengines/socketengine_kqueue.h
index c34075cd2..c34075cd2 100644
--- a/include/socketengine_kqueue.h
+++ b/include/socketengines/socketengine_kqueue.h
diff --git a/include/socketengine_ports.h b/include/socketengines/socketengine_ports.h
index a5951a138..a5951a138 100644
--- a/include/socketengine_ports.h
+++ b/include/socketengines/socketengine_ports.h
diff --git a/include/socketengine_select.h b/include/socketengines/socketengine_select.h
index 2126e8ec5..2126e8ec5 100644
--- a/include/socketengine_select.h
+++ b/include/socketengines/socketengine_select.h
diff --git a/src/socketengine.cpp b/src/socketengine.cpp
index f17d2f1c5..ce7b1c9de 100644
--- a/src/socketengine.cpp
+++ b/src/socketengine.cpp
@@ -14,21 +14,21 @@
/* $Core: libIRCDsocketengine */
/********* DEFAULTS **********/
-/* $ExtraSources: socketengine_select.cpp */
+/* $ExtraSources: socketengines/socketengine_select.cpp */
/* $ExtraObjects: socketengine_select.o */
/* $If: USE_KQUEUE */
-/* $ExtraSources: socketengine_kqueue.cpp */
+/* $ExtraSources: socketengines/socketengine_kqueue.cpp */
/* $ExtraObjects: socketengine_kqueue.o */
/* $EndIf */
/* $If: USE_EPOLL */
-/* $ExtraSources: socketengine_epoll.cpp */
+/* $ExtraSources: socketengines/socketengine_epoll.cpp */
/* $ExtraObjects: socketengine_epoll.o */
/* $EndIf */
/* $If: USE_PORTS */
-/* $ExtraSources: socketengine_ports.cpp */
+/* $ExtraSources: socketengines/socketengine_ports.cpp */
/* $ExtraObjects: socketengine_ports.o */
/* $EndIf */
diff --git a/src/socketengine_epoll.cpp b/src/socketengines/socketengine_epoll.cpp
index ec5362f8c..9da569b8f 100644
--- a/src/socketengine_epoll.cpp
+++ b/src/socketengines/socketengine_epoll.cpp
@@ -14,7 +14,7 @@
#include "inspircd.h"
#include "exitcodes.h"
#include <sys/epoll.h>
-#include "socketengine_epoll.h"
+#include "socketengines/socketengine_epoll.h"
EPollEngine::EPollEngine(InspIRCd* Instance) : SocketEngine(Instance)
{
diff --git a/src/socketengine_iocp.cpp b/src/socketengines/socketengine_iocp.cpp
index 66ae7f8ba..84371ca3a 100644
--- a/src/socketengine_iocp.cpp
+++ b/src/socketengines/socketengine_iocp.cpp
@@ -11,7 +11,7 @@
* ---------------------------------------------------
*/
-#include "socketengine_iocp.h"
+#include "socketengines/socketengine_iocp.h"
#include "exitcodes.h"
#include <mswsock.h>
diff --git a/src/socketengine_kqueue.cpp b/src/socketengines/socketengine_kqueue.cpp
index 50f6242e2..18a2261ef 100644
--- a/src/socketengine_kqueue.cpp
+++ b/src/socketengines/socketengine_kqueue.cpp
@@ -16,7 +16,7 @@
#include <sys/types.h>
#include <sys/event.h>
#include <sys/time.h>
-#include "socketengine_kqueue.h"
+#include "socketengines/socketengine_kqueue.h"
KQueueEngine::KQueueEngine(InspIRCd* Instance) : SocketEngine(Instance)
diff --git a/src/socketengine_ports.cpp b/src/socketengines/socketengine_ports.cpp
index 352b73062..ecaec5070 100644
--- a/src/socketengine_ports.cpp
+++ b/src/socketengines/socketengine_ports.cpp
@@ -14,7 +14,7 @@
#include "inspircd.h"
#include "exitcodes.h"
#include <port.h>
-#include "socketengine_ports.h"
+#include "socketengines/socketengine_ports.h"
PortsEngine::PortsEngine(InspIRCd* Instance) : SocketEngine(Instance)
{
diff --git a/src/socketengine_select.cpp b/src/socketengines/socketengine_select.cpp
index 7ba386812..1fe138f14 100644
--- a/src/socketengine_select.cpp
+++ b/src/socketengines/socketengine_select.cpp
@@ -13,7 +13,7 @@
#include "inspircd.h"
#include <sys/select.h>
-#include "socketengine_select.h"
+#include "socketengines/socketengine_select.h"
SelectEngine::SelectEngine(InspIRCd* Instance) : SocketEngine(Instance)