summaryrefslogtreecommitdiff
path: root/include/socketengine.h
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-06-17 19:29:11 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-06-17 19:29:11 +0000
commit455d6fac2e047a9d544e455e0cced8fe94a9d95b (patch)
tree94b3f0dde6e35bc71a855fe93deab6b3b6ca81fd /include/socketengine.h
parentad2829e7c482ac0c70a9bc524529adb883cd6b1b (diff)
Comments
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7382 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/socketengine.h')
-rw-r--r--include/socketengine.h14
1 files changed, 11 insertions, 3 deletions
diff --git a/include/socketengine.h b/include/socketengine.h
index 330e3911c..ce701beff 100644
--- a/include/socketengine.h
+++ b/include/socketengine.h
@@ -29,8 +29,11 @@
*/
enum EventType
{
+ /** Read event */
EVENT_READ = 0,
+ /** Write event */
EVENT_WRITE = 1,
+ /** Error event */
EVENT_ERROR = 2
};
@@ -139,9 +142,13 @@ class CoreExport EventHandler : public Extensible
/** Pointer to read event. We delete this so the buffer can't be used
* after the socket is deleted, and so it doesn't leak memory
*/
- void * m_readEvent;
- void * m_writeEvent;
- void * m_acceptEvent;
+ void* m_readEvent;
+ /** Pointer to a write event.
+ */
+ void* m_writeEvent;
+ /** Pointer to an accept event.
+ */
+ void* m_acceptEvent;
#endif
};
@@ -286,3 +293,4 @@ public:
};
#endif
+