X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=include%2Finspircd.h;h=5a8dbcf97cd1439f0e195e5c0735cb4707a3781d;hb=65d0d4fb366ef527f7bde471fc809d48fc26ccf2;hp=e41482341e407647dba1ed50cbbdbd0170189118;hpb=df06ab6044b8a5c7e60220121252cf681733b846;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/include/inspircd.h b/include/inspircd.h index e41482341..5a8dbcf97 100644 --- a/include/inspircd.h +++ b/include/inspircd.h @@ -2,7 +2,7 @@ * | Inspire Internet Relay Chat Daemon | * +------------------------------------+ * - * Inspire is copyright (C) 2002-2004 ChatSpike-Dev. + * InspIRCd is copyright (C) 2002-2006 ChatSpike-Dev. * E-mail: * * @@ -54,6 +54,8 @@ #define MAXSOCKS 64 #define MAXCOMMAND 32 +#define ETIREDGERBILS EAGAIN + /* flags for use with WriteMode @@ -104,6 +106,7 @@ class InspIRCd void erase_factory(int j); void erase_module(int j); void BuildISupport(); + void MoveTo(std::string modulename,int slot); public: time_t startup_time; @@ -118,7 +121,12 @@ class InspIRCd char* ModuleError(); bool LoadModule(const char* filename); bool UnloadModule(const char* filename); + void MoveToLast(std::string modulename); + void MoveToFirst(std::string modulename); + 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(); }; @@ -126,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