]> git.netwichtig.de Git - user/henk/code/inspircd.git/blob - include/globals.h
5755c1fd0e2455292ca8d4970ee153d4dee150d9
[user/henk/code/inspircd.git] / include / globals.h
1 /*       +------------------------------------+\r *       | Inspire Internet Relay Chat Daemon |\r *       +------------------------------------+\r *\r *  InspIRCd: (C) 2002-2007 InspIRCd Development Team\r * See: http://www.inspircd.org/wiki/index.php/Credits\r *\r * This program is free but copyrighted software; see\r *            the file COPYING for details.\r *\r * ---------------------------------------------------\r */\r\r#ifndef __WORLD_H\r#define __WORLD_H\r\r#include <string>\r#include <deque>\r#include <map>\r#include <vector>\r\r/** A cached text file stored with its contents as lines\r */\rtypedef std::deque<std::string> file_cache;\r\r/** A configuration key and value pair\r */\rtypedef std::pair< std::string, std::string > KeyVal;\r\r/** A list of related configuration keys and values\r */\rtypedef std::vector< KeyVal > KeyValList;\r\r/** An entire config file, built up of KeyValLists\r */\rtypedef std::multimap< std::string, KeyValList > ConfigDataHash;\r\r#endif\r\r