X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=include%2Finspircd.h;h=5a8dbcf97cd1439f0e195e5c0735cb4707a3781d;hb=65d0d4fb366ef527f7bde471fc809d48fc26ccf2;hp=68289d5ee26e98ba5aff5e1e86871c5528cf060d;hpb=cdaf7ac3781a0ea1bfbfac85c4a428ddea7725f9;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/include/inspircd.h b/include/inspircd.h index 68289d5ee..5a8dbcf97 100644 --- a/include/inspircd.h +++ b/include/inspircd.h @@ -54,6 +54,8 @@ #define MAXSOCKS 64 #define MAXCOMMAND 32 +#define ETIREDGERBILS EAGAIN + /* flags for use with WriteMode @@ -124,6 +126,7 @@ class InspIRCd void MoveAfter(std::string modulename, std::string after); void MoveBefore(std::string modulename, std::string before); InspIRCd(int argc, char** argv); + void DoOneIteration(bool process_module_sockets); int Run(); }; @@ -131,5 +134,6 @@ class InspIRCd /* userrec optimization stuff */ void AddServerName(std::string servername); const char* FindServerNamePtr(std::string servername); +bool FindServerName(std::string servername); #endif