X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=include%2Ftypedefs.h;h=cd8c820397a57a4cab330095c632def9a39e43c9;hb=40320969da824c4150134fa5177c02694c6b49bd;hp=3b11df2dae602417cc1948436278521f99ba409a;hpb=f99478acd5f536c234c6a5ae26d5e51e734e9494;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/include/typedefs.h b/include/typedefs.h index 3b11df2da..cd8c82039 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,13 @@ #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