]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/socketengine.h
Patch by dz avoiding <badchan:redirect> loops, and tidying up on-rehash checks.
[user/henk/code/inspircd.git] / include / socketengine.h
index 95688117ebbeeb777176076768ba4087411d0986..3acc7bd4fe8dadb605f7e9521197888e5145be84 100644 (file)
@@ -2,7 +2,7 @@
  *       | Inspire Internet Relay Chat Daemon |
  *       +------------------------------------+
  *
- *  InspIRCd: (C) 2002-2007 InspIRCd Development Team
+ *  InspIRCd: (C) 2002-2008 InspIRCd Development Team
  * See: http://www.inspircd.org/wiki/index.php/Credits
  *
  * This program is free but copyrighted software; see
@@ -69,6 +69,7 @@ class CoreExport EventHandler : public Extensible
         */
        int fd;
  public:
+
        /** Get the current file descriptor
         * @return The file descriptor of this handler
         */
@@ -169,6 +170,11 @@ protected:
        EventHandler* ref[MAX_DESCRIPTORS];
 public:
 
+       double TotalEvents;
+       double ReadEvents;
+       double WriteEvents;
+       double ErrorEvents;
+
        /** Constructor.
         * The constructor transparently initializes
         * the socket engine which the ircd is using.
@@ -353,7 +359,7 @@ public:
         */
        virtual int Shutdown(EventHandler* fd, int how);
 
-       /** Abstraction for BSD sockets shutdownt(2).
+       /** Abstraction for BSD sockets shutdown(2).
         * This function should emulate its namesake system call exactly.
         * @return This method should return exactly the same values as the system call it emulates.
         */