summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
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