typedefs.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014 #ifndef __TYPEDEF_H__
00015 #define __TYPEDEF_H__
00016
00017 #include <string>
00018 #include "inspircd_config.h"
00019 #include "hash_map.h"
00020 #include "users.h"
00021 #include "channels.h"
00022 #include "hashcomp.h"
00023 #include "inspstring.h"
00024 #include "ctables.h"
00025 #include "modules.h"
00026 #include "globals.h"
00027
00028 #ifndef WIN32
00029
00031 typedef nspace::hash_map<std::string, userrec*, nspace::hash<string>, irc::StrHashComp> user_hash;
00034 typedef nspace::hash_map<std::string, chanrec*, nspace::hash<string>, irc::StrHashComp> chan_hash;
00035 #else
00036
00038 typedef nspace::hash_map<std::string, userrec*, nspace::hash_compare<string, less<string> > > user_hash;
00041 typedef nspace::hash_map<std::string, chanrec*, nspace::hash_compare<string, less<string> > > chan_hash;
00042 #endif
00043
00046 typedef std::vector<std::string*> servernamelist;
00047
00050 typedef std::deque<std::string> file_cache;
00051
00052 #endif
00053