summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-08-09 15:36:51 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-08-09 15:36:51 +0000
commit89749a74402913d50bd5a9140757a383d6ff175e (patch)
tree99a06946f8959356374a5aea9d5ae39f70c653cd /include
parentd50dddbb92036893b9188a5df9991a0d5eb80e03 (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')
-rw-r--r--include/inspircd.h7
-rw-r--r--include/userprocess.h4
2 files changed, 8 insertions, 3 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();
diff --git a/include/userprocess.h b/include/userprocess.h
index 1a93e68cd..0e1b11976 100644
--- a/include/userprocess.h
+++ b/include/userprocess.h
@@ -8,8 +8,8 @@ void CheckDie();
void LoadAllModules(InspIRCd* ServerInstance);
void CheckRoot();
void OpenLog(char** argv, int argc);
-void DoBackgroundUserStuff(time_t TIME);
+/*void DoBackgroundUserStuff(time_t TIME);
void ProcessUser(userrec* cu);
-void DoSocketTimeouts(time_t TIME, InspIRCd* SI);
+void DoSocketTimeouts(time_t TIME, InspIRCd* SI);*/
#endif