summaryrefslogtreecommitdiff
path: root/include/globals.h
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-06-17 18:45:22 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-06-17 18:45:22 +0000
commit603acdf77e561f527b27a4da5a4c74dc9d699b89 (patch)
tree5f604546b2cedf13a0af699ded58085e00029a92 /include/globals.h
parentba98faf0d8d95b7490e5508e123a06ba6c7489be (diff)
Comments (lots of)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7377 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/globals.h')
-rw-r--r--include/globals.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/globals.h b/include/globals.h
index bd5fdb621..4a01e454e 100644
--- a/include/globals.h
+++ b/include/globals.h
@@ -19,9 +19,21 @@
#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
+