X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=include%2Ftypedefs.h;h=9a015d4450b44ca8f2b4e02c867b3af6c83b0a2a;hb=f8a9b6ba4ae0b4b3c7b2a408332230dd82eb4608;hp=879ef062741453846fcfc3ce794628327375ee97;hpb=bcdc3b0bb0ba957a9e99cd6db7f1242a9e587400;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/include/typedefs.h b/include/typedefs.h index 879ef0627..9a015d445 100644 --- a/include/typedefs.h +++ b/include/typedefs.h @@ -55,9 +55,6 @@ struct ModResult; typedef TR1NS::unordered_map user_hash; typedef TR1NS::unordered_map chan_hash; -/** A list of failed port bindings, used for informational purposes on startup */ -typedef std::vector > FailedPortList; - /** List of channels to consider when building the neighbor list of a user */ typedef std::vector IncludeChanList; @@ -66,13 +63,13 @@ typedef std::vector IncludeChanList; */ typedef std::vector file_cache; -/** A configuration key and value pair +/** A mapping of configuration keys to their assigned values. */ -typedef std::pair KeyVal; +typedef insp::flat_map ConfigItems; /** The entire configuration */ -typedef std::multimap > ConfigDataHash; +typedef std::multimap, irc::insensitive_swo> ConfigDataHash; /** Iterator of ConfigDataHash */ typedef ConfigDataHash::const_iterator ConfigIter; @@ -85,10 +82,6 @@ typedef std::map ConfigFileCache; /** Generic user list, used for exceptions */ typedef std::set CUList; -/** A set of strings. - */ -typedef std::vector string_list; - /** Contains an ident and host split into two strings */ typedef std::pair IdentHostPair;