summaryrefslogtreecommitdiff
path: root/include/inspircd.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/inspircd.h')
-rw-r--r--include/inspircd.h13
1 files changed, 8 insertions, 5 deletions
diff --git a/include/inspircd.h b/include/inspircd.h
index a8ef3bf1d..5aacd072d 100644
--- a/include/inspircd.h
+++ b/include/inspircd.h
@@ -111,8 +111,16 @@ class InspIRCd : public classbase
std::vector<InspSocket*> module_sockets;
InspSocket* socket_ref[MAX_DESCRIPTORS]; /* XXX: This should probably be made private, with inline accessors */
userrec* fd_ref_table[MAX_DESCRIPTORS]; /* XXX: Ditto */
+ user_hash clientlist; /* XXX: Ditto */
+ chan_hash chanlist; /* XXX: Ditto */
+ servernamelist servernames; /* XXX: Ditto */
DNS* Res;
+ void AddServerName(const std::string &servername);
+ const char* FindServerNamePtr(const std::string &servername);
+ bool FindServerName(const std::string &servername);
+
+
std::string GetRevision();
std::string GetVersionString();
void WritePID(const std::string &filename);
@@ -129,9 +137,4 @@ class InspIRCd : public classbase
/* Miscellaneous stuff here, moved from inspircd_io.h */
void Exit(int status);
-/* userrec optimization stuff */
-void AddServerName(const std::string &servername);
-const char* FindServerNamePtr(const std::string &servername);
-bool FindServerName(const std::string &servername);
-
#endif