X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=include%2Fsocketengine.h;h=f647f4df3add6d6c6b440ed64848ff7070054833;hb=911676479377723f9672e2ed0e2b03e15412f2df;hp=6f5d4131ba06e8c814b08bde67e70ea32a0209a7;hpb=e4acbc95b8b6cd5b28d38a2242c02e8ff4991e4a;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/include/socketengine.h b/include/socketengine.h index 6f5d4131b..f647f4df3 100644 --- a/include/socketengine.h +++ b/include/socketengine.h @@ -69,6 +69,7 @@ class CoreExport EventHandler : public Extensible */ int fd; public: + /** Get the current file descriptor * @return The file descriptor of this handler */ @@ -166,9 +167,16 @@ protected: int CurrentSetSize; /** Reference table, contains all current handlers */ - EventHandler* ref[MAX_DESCRIPTORS]; + EventHandler** ref; + + int MAX_DESCRIPTORS; public: + double TotalEvents; + double ReadEvents; + double WriteEvents; + double ErrorEvents; + /** Constructor. * The constructor transparently initializes * the socket engine which the ircd is using.