X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=include%2Ftypedefs.h;h=4b6d22b983ee75e398ed4b871f367f23cefe59ab;hb=a1f073f66f4b985bf776b9be2015136209c0c311;hp=3b11df2dae602417cc1948436278521f99ba409a;hpb=f99478acd5f536c234c6a5ae26d5e51e734e9494;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/include/typedefs.h b/include/typedefs.h index 3b11df2da..4b6d22b98 100644 --- a/include/typedefs.h +++ b/include/typedefs.h @@ -1,6 +1,9 @@ #ifndef __TYPEDEF_H__ #define __TYPEDEF_H__ +#include +#include "inspircd_config.h" +#include "hash_map.h" #include "users.h" #include "channels.h" #include "hashcomp.h" @@ -9,23 +12,11 @@ #include "inspircd.h" #include "modules.h" #include "globals.h" -#include "inspircd_config.h" -#include -#ifdef GCC3 -#include -#else -#include -#endif typedef nspace::hash_map, irc::StrHashComp> user_hash; typedef nspace::hash_map, irc::StrHashComp> chan_hash; -typedef nspace::hash_map, irc::InAddr_HashComp> address_cache; -typedef nspace::hash_map, irc::StrHashComp> whowas_hash; -typedef std::deque command_table; + typedef std::vector servernamelist; -typedef std::vector ExtModeList; -typedef ExtModeList::iterator ExtModeListIter; -typedef void (handlerfunc) (char**, int, userrec*); typedef std::deque file_cache; #endif