diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-08-10 20:27:51 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-08-10 20:27:51 +0000 |
commit | 23a4885701cba4a87a5ae027257fb4207c917572 (patch) | |
tree | cdd4aa7e4260135e444b28182448a14adb4e9a57 /include/inspircd.h | |
parent | 51924df0a878f66f83ea5639dcb7a761cfa65772 (diff) |
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
Diffstat (limited to 'include/inspircd.h')
-rw-r--r-- | include/inspircd.h | 14 |
1 files changed, 11 insertions, 3 deletions
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 |