From a67b9de1742efbff29ec08093b220565eab7df23 Mon Sep 17 00:00:00 2001 From: w00t Date: Sat, 19 Jul 2008 20:34:14 +0000 Subject: Change modes in channels and users to use std::bitset instead of an array. This saves 56 bytes per channel, and 112 bytes per channel, with no loss in speed or ease of use in code. :). Thanks (VERY) much to Special for telling me about this. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10043 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/globals.h | 37 ------------------------------------- 1 file changed, 37 deletions(-) delete mode 100644 include/globals.h (limited to 'include/globals.h') diff --git a/include/globals.h b/include/globals.h deleted file mode 100644 index 2de2ba11b..000000000 --- a/include/globals.h +++ /dev/null @@ -1,37 +0,0 @@ -/* +------------------------------------+ - * | Inspire Internet Relay Chat Daemon | - * +------------------------------------+ - * - * InspIRCd: (C) 2002-2008 InspIRCd Development Team - * See: http://www.inspircd.org/wiki/index.php/Credits - * - * This program is free but copyrighted software; see - * the file COPYING for details. - * - * --------------------------------------------------- - */ - -#ifndef __WORLD_H -#define __WORLD_H - -#include -#include -#include - -/** A cached text file stored with its contents as lines - */ -typedef std::deque< std::string > file_cache; - -/** A configuration key and value pair - */ -typedef std::pair< std::string, std::string > KeyVal; - -/** A list of related configuration keys and values - */ -typedef std::vector< KeyVal > KeyValList; - -/** An entire config file, built up of KeyValLists - */ -typedef std::multimap< std::string, KeyValList > ConfigDataHash; - -#endif -- cgit v1.2.3