diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-08-09 15:36:51 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-08-09 15:36:51 +0000 |
commit | 89749a74402913d50bd5a9140757a383d6ff175e (patch) | |
tree | 99a06946f8959356374a5aea9d5ae39f70c653cd /include/inspircd.h | |
parent | d50dddbb92036893b9188a5df9991a0d5eb80e03 (diff) |
Move fd_ref_table into class InspIRCd*
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4817 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/inspircd.h')
-rw-r--r-- | include/inspircd.h | 7 |
1 files changed, 6 insertions, 1 deletions
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<InspSocket*> 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(); |