]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - 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
index 5755c1fd0e2455292ca8d4970ee153d4dee150d9..2de2ba11bcd2f248950f60f334d869c3be0fa5d8 100644 (file)
@@ -1 +1,37 @@
-/*       +------------------------------------+\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
\ No newline at end of file
+/*       +------------------------------------+
+ *       | 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 <vector>
+#include <deque>
+#include <map>
+
+/** 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