summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-12-12 11:50:45 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-12-12 11:50:45 +0000
commitcef3e32fae0132d51b2fcca16ef05907b174e2a3 (patch)
tree6c56f7d3401068ee3e16486bcbd54a9151bc4b05 /include
parent4f2e601fe71febf62db0f98a418a25598e24377b (diff)
EXPERIMENTAL new socket engine code
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2326 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include')
-rw-r--r--include/socketengine.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/socketengine.h b/include/socketengine.h
index 41cd459d8..3a52283a5 100644
--- a/include/socketengine.h
+++ b/include/socketengine.h
@@ -32,6 +32,13 @@
#include <sys/time.h>
#endif
+const char X_LISTEN = 0;
+const char X_ESTAB_CLIENT = 1;
+const char X_ESTAB_MODULE = 2;
+const char X_ESTAB_DNS = 3;
+
+const char X_READBIT = 0x80;
+
class SocketEngine {
std::vector<int> fds;