]> git.netwichtig.de Git - user/henk/code/inspircd.git/blob - include/globals.h
463f85300c3498007d0924ea5ac842360abe27c6
[user/henk/code/inspircd.git] / include / globals.h
1 /*       +------------------------------------+
2  *       | Inspire Internet Relay Chat Daemon |
3  *       +------------------------------------+
4  *
5  *  InspIRCd: (C) 2002-2008 InspIRCd Development Team
6  * See: http://www.inspircd.org/wiki/index.php/Credits
7  *
8  * This program is free but copyrighted software; see
9  *            the file COPYING for details.
10  *
11  * ---------------------------------------------------
12  */
13
14 #ifndef __WORLD_H
15 #define __WORLD_H
16
17 #include <string>
18 #include <deque>
19 #include <map>
20 #include <vector>
21
22 /** A cached text file stored with its contents as lines
23  */
24 typedef std::deque<std::string> file_cache;
25
26 /** A configuration key and value pair
27  */
28 typedef std::pair< std::string, std::string > KeyVal;
29
30 /** A list of related configuration keys and values
31  */
32 typedef std::vector< KeyVal > KeyValList;
33
34 /** An entire config file, built up of KeyValLists
35  */
36 typedef std::multimap< std::string, KeyValList > ConfigDataHash;
37
38 #endif