1 /* +------------------------------------+
2 * | Inspire Internet Relay Chat Daemon |
3 * +------------------------------------+
5 * InspIRCd: (C) 2002-2008 InspIRCd Development Team
6 * See: http://www.inspircd.org/wiki/index.php/Credits
8 * This program is free but copyrighted software; see
9 * the file COPYING for details.
11 * ---------------------------------------------------
19 #include "inspircd_config.h"
24 #include "inspstring.h"
30 /** User hash (POSIX systems with GCC)
32 typedef nspace::hash_map<std::string, User*, nspace::hash<string>, irc::StrHashComp> user_hash;
33 /** Channel hash (POSIX systems with GCC)
35 typedef nspace::hash_map<std::string, Channel*, nspace::hash<string>, irc::StrHashComp> chan_hash;
37 /** User hash (windows systems with visual studio)
39 typedef nspace::hash_map<std::string, User*, nspace::hash_compare<string, less<string> > > user_hash;
40 /** Channel hash (windows systems with visual studio)
42 typedef nspace::hash_map<std::string, Channel*, nspace::hash_compare<string, less<string> > > chan_hash;
47 typedef std::vector<std::string*> servernamelist;
49 /** A cached text file stored line by line.
51 typedef std::deque<std::string> file_cache;