]> git.netwichtig.de Git - user/henk/code/inspircd.git/blob - include/globals.h
Add call to protocol interface to get useful info on the server map. Return a std...
[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 <vector>
18 #include <deque>
19 #include <map>
20
21 /** A cached text file stored with its contents as lines
22  */
23 typedef std::deque< std::string > file_cache;
24
25 /** A configuration key and value pair
26  */
27 typedef std::pair< std::string, std::string > KeyVal;
28
29 /** A list of related configuration keys and values
30  */
31 typedef std::vector< KeyVal > KeyValList;
32
33 /** An entire config file, built up of KeyValLists
34  */
35 typedef std::multimap< std::string, KeyValList > ConfigDataHash;
36
37 #endif