summaryrefslogtreecommitdiff
path: root/include/globals.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/globals.h')
-rw-r--r--include/globals.h40
1 files changed, 39 insertions, 1 deletions
diff --git a/include/globals.h b/include/globals.h
index 5755c1fd0..4a01e454e 100644
--- a/include/globals.h
+++ b/include/globals.h
@@ -1 +1,39 @@
-/* +------------------------------------+ * | Inspire Internet Relay Chat Daemon | * +------------------------------------+ * * InspIRCd: (C) 2002-2007 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 <string> #include <deque> #include <map> #include <vector> /** 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 \ No newline at end of file
+/* +------------------------------------+
+ * | Inspire Internet Relay Chat Daemon |
+ * +------------------------------------+
+ *
+ * InspIRCd: (C) 2002-2007 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 <string>
+#include <deque>
+#include <map>
+#include <vector>
+
+/** 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
+