00001 #ifndef __TYPEDEF_H__ 00002 #define __TYPEDEF_H__ 00003 00004 #include "users.h" 00005 #include "channels.h" 00006 #include "hashcomp.h" 00007 #include "inspstring.h" 00008 #include "ctables.h" 00009 #include "inspircd.h" 00010 #include "modules.h" 00011 #include "globals.h" 00012 #include "inspircd_config.h" 00013 #include <string> 00014 #ifdef GCC3 00015 #include <ext/hash_map> 00016 #else 00017 #include <hash_map> 00018 #endif 00019 00020 typedef nspace::hash_map<std::string, userrec*, nspace::hash<string>, irc::StrHashComp> user_hash; 00021 typedef nspace::hash_map<std::string, chanrec*, nspace::hash<string>, irc::StrHashComp> chan_hash; 00022 typedef nspace::hash_map<in_addr,string*, nspace::hash<in_addr>, irc::InAddr_HashComp> address_cache; 00023 typedef nspace::hash_map<std::string, WhoWasUser*, nspace::hash<string>, irc::StrHashComp> whowas_hash; 00024 typedef std::deque<command_t> command_table; 00025 typedef std::vector<std::string> servernamelist; 00026 typedef std::vector<ExtMode> ExtModeList; 00027 typedef ExtModeList::iterator ExtModeListIter; 00028 00029 #endif