summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorcyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864>2008-11-15 17:52:23 +0000
committercyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864>2008-11-15 17:52:23 +0000
commita5eb22efd8fd32be8c0c3c6e83b91d8ae4c0ad13 (patch)
treea966e69c141affa7cd2ea593a4193c6ac3713de2 /include
parent7fde7771aadceb5a02b4e28fb5dc290d5ade0897 (diff)
Added userkey[123] directives to options block in new config.
Added ValueContainerLUInt specialization of ValueContainer for the above directives. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1701 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'include')
-rw-r--r--include/configreader.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/configreader.h b/include/configreader.h
index 6db8f03dc..87bc4e34d 100644
--- a/include/configreader.h
+++ b/include/configreader.h
@@ -29,6 +29,7 @@ enum ConfigDataType {
DT_NOTHING, // No data
DT_INTEGER, // Integer
DT_UINTEGER, // Unsigned Integer
+ DT_LUINTEGER, // Long Unsigned Integer
DT_CHARPTR, // Char pointer
DT_STRING, // std::string
DT_BOOLEAN, // Boolean
@@ -190,6 +191,11 @@ typedef ValueContainer<bool *> ValueContainerBool;
typedef ValueContainer<unsigned *> ValueContainerUInt;
/** A specialization of ValueContainer to hold a pointer to
+ * a long unsigned int
+ */
+typedef ValueContainer<long unsigned *> ValueContainerLUInt;
+
+/** A specialization of ValueContainer to hold a pointer to
* a char array.
*/
typedef ValueContainer<char **> ValueContainerChar;