]> git.netwichtig.de Git - user/henk/code/inspircd.git/blob - include/typedefs.h
2fe74c8afdadfc88190e7ec75eeb3d144f54493d
[user/henk/code/inspircd.git] / include / typedefs.h
1 #ifndef __TYPEDEF_H__
2 #define __TYPEDEF_H__
3
4 #include "users.h"
5 #include "channels.h"
6 #include "hashcomp.h"
7 #include "inspstring.h"
8 #include "ctables.h"
9 #include "inspircd.h"
10 #include "modules.h"
11 #include "globals.h"
12 #include "inspircd_config.h"
13 #include <string>
14 #ifdef GCC3
15 #include <ext/hash_map>
16 #else
17 #include <hash_map>
18 #endif
19
20 typedef nspace::hash_map<std::string, userrec*, nspace::hash<string>, irc::StrHashComp> user_hash;
21 typedef nspace::hash_map<std::string, chanrec*, nspace::hash<string>, irc::StrHashComp> chan_hash;
22 typedef nspace::hash_map<in_addr,string*, nspace::hash<in_addr>, irc::InAddr_HashComp> address_cache;
23 typedef nspace::hash_map<std::string, WhoWasUser*, nspace::hash<string>, irc::StrHashComp> whowas_hash;
24 typedef std::vector<std::string> servernamelist;
25 typedef std::vector<ExtMode> ExtModeList;
26 typedef ExtModeList::iterator ExtModeListIter;
27 typedef std::deque<std::string> file_cache;
28
29 #endif