X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=include%2Fsocketengine_kqueue.h;h=c34075cd2d83ba0a768645cc448048f38c8b8b40;hb=b80d1be349a5a5dbb16cde08d59543a553f9a382;hp=29b85ed6a82f21c861ab48233a316f667a471082;hpb=f013dc094d22e5f057ec814a16447df919a88129;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/include/socketengine_kqueue.h b/include/socketengine_kqueue.h index 29b85ed6a..c34075cd2 100644 --- a/include/socketengine_kqueue.h +++ b/include/socketengine_kqueue.h @@ -2,17 +2,14 @@ * | Inspire Internet Relay Chat Daemon | * +------------------------------------+ * - * InspIRCd is copyright (C) 2002-2006 ChatSpike-Dev. - * E-mail: - * - * + * InspIRCd: (C) 2002-2007 InspIRCd Development Team + * See: http://www.inspircd.org/wiki/index.php/Credits * - * Written by Craig Edwards, Craig McLure, and others. * This program is free but copyrighted software; see * the file COPYING for details. * * --------------------------------------------------- -*/ + */ #ifndef __SOCKETENGINE_KQUEUE__ #define __SOCKETENGINE_KQUEUE__ @@ -52,9 +49,11 @@ public: virtual bool AddFd(EventHandler* eh); virtual int GetMaxFds(); virtual int GetRemainingFds(); - virtual bool DelFd(EventHandler* eh); + virtual bool DelFd(EventHandler* eh, bool force = false); virtual int DispatchEvents(); virtual std::string GetName(); + virtual void WantWrite(EventHandler* eh); + virtual void RecoverFromFork(); }; /** Creates a SocketEngine