X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=include%2Finspircd.h;h=5a8dbcf97cd1439f0e195e5c0735cb4707a3781d;hb=65d0d4fb366ef527f7bde471fc809d48fc26ccf2;hp=bf096272b6169016cef21810f322b0cd30642cc1;hpb=c07c9729f37becb33900a9ff8b0b08ee1e8648a1;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/include/inspircd.h b/include/inspircd.h index bf096272b..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 @@ -102,7 +104,9 @@ class InspIRCd private: char MODERR[MAXBUF]; void erase_factory(int j); - void erase_module(int j); + void erase_module(int j); + void BuildISupport(); + void MoveTo(std::string modulename,int slot); public: time_t startup_time; @@ -111,13 +115,18 @@ class InspIRCd SocketEngine* SE; serverstats* stats; - void MakeLowerMap() + void MakeLowerMap(); std::string GetRevision(); std::string GetVersionString(); 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(); }; @@ -125,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