diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-12-14 17:40:06 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-12-14 17:40:06 +0000 |
commit | f9bc7a311d4a9d7b6eb581c21d2105b692b42b8d (patch) | |
tree | f1dad6e539b1d014f5b36ba98e617075a1147570 /include/inspircd.h | |
parent | 353145dd746429565f2c62dab885d67e4504c589 (diff) |
Made inspircd itself a class, and called its instance TittyBiscuits, just because.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2425 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/inspircd.h')
-rw-r--r-- | include/inspircd.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/include/inspircd.h b/include/inspircd.h index 16f767ac3..236f99db0 100644 --- a/include/inspircd.h +++ b/include/inspircd.h @@ -90,10 +90,15 @@ class serverstats } }; -typedef void (handlerfunc) (char**, int, userrec*); + +class InspIRCd +{ + public: + InspIRCd(int argc, char** argv); + int Run(); +}; /* prototypes */ -int InspIRCd(char** argv, int argc); void force_nickchange(userrec* user,const char* newnick); void kill_link(userrec *user,const char* r); void kill_link_silent(userrec *user,const char* r); @@ -118,6 +123,5 @@ std::string GetVersionString(); void* dns_task(void* arg); void process_buffer(const char* cmdbuf,userrec *user); void FullConnectUser(userrec* user); -chanrec* ForceChan(chanrec* Ptr,ucrec &a,userrec* user, int created); #endif |