diff options
Diffstat (limited to 'include/inspsocket.h')
-rw-r--r-- | include/inspsocket.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/include/inspsocket.h b/include/inspsocket.h index ddb0baedb..3791aa3e0 100644 --- a/include/inspsocket.h +++ b/include/inspsocket.h @@ -23,6 +23,7 @@ #include "dns.h" #include "inspircd_config.h" #include "socket.h" +#include "inspsocket.h" /** * States which a socket may be in @@ -53,7 +54,7 @@ using irc::sockets::insp_aton; * and use the InspSocket constructors to establish connections * and bindings. */ -class InspSocket : public Extensible +class InspSocket : public EventHandler { public: InspIRCd* Instance; @@ -61,11 +62,6 @@ class InspSocket : public Extensible std::deque<std::string> outbuffer; /** - * The file descriptor of this socket - */ - int fd; - - /** * The hostname connected to */ char host[MAXBUF]; @@ -365,6 +361,10 @@ class InspSocket : public Extensible * memory reclaimed. */ void MarkAsClosed(); + + void HandleEvent(EventType et); + + bool Readable(); }; #endif |