From 89749a74402913d50bd5a9140757a383d6ff175e Mon Sep 17 00:00:00 2001 From: brain Date: Wed, 9 Aug 2006 15:36:51 +0000 Subject: Move fd_ref_table into class InspIRCd* git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4817 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/inspircd.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'include/inspircd.h') diff --git a/include/inspircd.h b/include/inspircd.h index 54500cd4d..a8ef3bf1d 100644 --- a/include/inspircd.h +++ b/include/inspircd.h @@ -97,6 +97,10 @@ class InspIRCd : public classbase void MoveAfter(std::string modulename, std::string after); void MoveBefore(std::string modulename, std::string before); + void ProcessUser(userrec* cu); + void DoSocketTimeouts(time_t TIME); + void DoBackgroundUserStuff(time_t TIME); + public: time_t startup_time; ModeParser* ModeGrok; @@ -105,7 +109,8 @@ class InspIRCd : public classbase serverstats* stats; ServerConfig* Config; std::vector module_sockets; - InspSocket* socket_ref[MAX_DESCRIPTORS]; + InspSocket* socket_ref[MAX_DESCRIPTORS]; /* XXX: This should probably be made private, with inline accessors */ + userrec* fd_ref_table[MAX_DESCRIPTORS]; /* XXX: Ditto */ DNS* Res; std::string GetRevision(); -- cgit v1.2.3