From 23a4885701cba4a87a5ae027257fb4207c917572 Mon Sep 17 00:00:00 2001 From: brain Date: Thu, 10 Aug 2006 20:27:51 +0000 Subject: Move tons more stuff into class InspIRCd*, make signal handler functions static members git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4855 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/inspircd.h | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) (limited to 'include/inspircd.h') diff --git a/include/inspircd.h b/include/inspircd.h index 59dc7eab0..63e8c8ce5 100644 --- a/include/inspircd.h +++ b/include/inspircd.h @@ -135,6 +135,11 @@ class InspIRCd : public classbase chanrec* FindChan(const std::string &chan); chanrec* FindChan(const char* chan); + void LoadAllModules(); + void CheckDie(); + void CheckRoot(); + void OpenLog(char** argv, int argc); + bool UserToPseudo(userrec* user, const std::string &message); bool PseudoToUser(userrec* alive, userrec* zombie, const std::string &message); @@ -142,6 +147,12 @@ class InspIRCd : public classbase void ServerPrivmsgAll(char* text, ...); void WriteMode(const char* modes, int flags, const char* text, ...); + bool IsChannel(const char *chname); + + static void Error(int status); + static void Rehash(int status); + static void Exit(int status); + int usercnt(); int registered_usercount(); int usercount_invisible(); @@ -227,7 +238,4 @@ class InspIRCd : public classbase int Run(); }; -/* Miscellaneous stuff here, moved from inspircd_io.h */ -void Exit(int status); - #endif -- cgit v1.2.3