diff options
Diffstat (limited to 'src/xline.cpp')
-rw-r--r-- | src/xline.cpp | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/src/xline.cpp b/src/xline.cpp index fa400d5c5..7e96d0940 100644 --- a/src/xline.cpp +++ b/src/xline.cpp @@ -50,8 +50,8 @@ using namespace std; extern int MODCOUNT; -extern std::vector<Module*> modules; -extern std::vector<ircd_module*> factory; +extern std::vector<Module*, __single_client_alloc> modules; +extern std::vector<ircd_module*, __single_client_alloc> factory; extern int LogLevel; extern char ServerName[MAXBUF]; @@ -76,8 +76,7 @@ extern time_t startup_time; extern int NetBufferSize; extern time_t nb_start; -extern std::vector<int> fd_reap; -extern std::vector<std::string> module_names; +extern std::vector<std::string, __single_client_alloc> module_names; extern int boundPortCount; extern int portCount; @@ -92,11 +91,11 @@ extern serverrec* me[32]; extern FILE *log_file; -typedef nspace::hash_map<std::string, userrec*, nspace::hash<string>, irc::StrHashComp> user_hash; -typedef nspace::hash_map<std::string, chanrec*, nspace::hash<string>, irc::StrHashComp> chan_hash; -typedef nspace::hash_map<in_addr,string*, nspace::hash<in_addr>, irc::InAddr_HashComp> address_cache; -typedef nspace::hash_map<std::string, WhoWasUser*, nspace::hash<string>, irc::StrHashComp> whowas_hash; -typedef std::deque<command_t> command_table; +typedef nspace::hash_map<std::string, userrec*, nspace::hash<string>, irc::StrHashComp, __single_client_alloc> user_hash; +typedef nspace::hash_map<std::string, chanrec*, nspace::hash<string>, irc::StrHashComp, __single_client_alloc> chan_hash; +typedef nspace::hash_map<in_addr,string*, nspace::hash<in_addr>, irc::InAddr_HashComp, __single_client_alloc> address_cache; +typedef nspace::hash_map<std::string, WhoWasUser*, nspace::hash<string>, irc::StrHashComp, __single_client_alloc> whowas_hash; +typedef std::deque<command_t, __single_client_alloc> command_table; extern user_hash clientlist; |