X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=include%2Ftypedefs.h;h=06f704120126309a93114d0996ea20d24139e75e;hb=e6601069038c35c546fd3f3dce95024b0d13f1b4;hp=7659628d22c900dffca052e384a76d42a5d3cbd4;hpb=d2e189102b643f38418f3caf065dbb91f2ce4266;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/include/typedefs.h b/include/typedefs.h index 7659628d2..06f704120 100644 --- a/include/typedefs.h +++ b/include/typedefs.h @@ -56,19 +56,18 @@ struct ResourceRecord; #include "hashcomp.h" #include "base.h" -#if defined(WINDOWS) && !defined(HASHMAP_DEPRECATED) - typedef nspace::hash_map > > user_hash; - typedef nspace::hash_map > > chan_hash; +#ifdef HASHMAP_DEPRECATED + typedef nspace::hash_map user_hash; + typedef nspace::hash_map chan_hash; #else - #ifdef HASHMAP_DEPRECATED - typedef nspace::hash_map user_hash; - typedef nspace::hash_map chan_hash; - #else - typedef nspace::hash_map, irc::StrHashComp> user_hash; - typedef nspace::hash_map, irc::StrHashComp> chan_hash; - #endif + typedef nspace::hash_map, irc::StrHashComp> user_hash; + typedef nspace::hash_map, irc::StrHashComp> chan_hash; #endif +/** A list holding local users, this is the type of UserManager::local_users + */ +typedef std::list LocalUserList; + /** A list of failed port bindings, used for informational purposes on startup */ typedef std::vector > FailedPortList;