diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/inspircd.h | 10 | ||||
-rw-r--r-- | include/typedefs.h | 1 |
2 files changed, 8 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 diff --git a/include/typedefs.h b/include/typedefs.h index 05cf9e8db..558a93757 100644 --- a/include/typedefs.h +++ b/include/typedefs.h @@ -25,5 +25,6 @@ typedef std::deque<command_t> command_table; typedef std::vector<std::string> servernamelist; typedef std::vector<ExtMode> ExtModeList; typedef ExtModeList::iterator ExtModeListIter; +typedef void (handlerfunc) (char**, int, userrec*); #endif |