summaryrefslogtreecommitdiff
path: root/include/services.h
diff options
context:
space:
mode:
authorcyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864>2008-11-19 00:48:29 +0000
committercyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864>2008-11-19 00:48:29 +0000
commit0f069f0e8becfd1770a6ce396ead7aa67e3bde06 (patch)
treeede474534d89b32bcdcc24d58e5cca6c427d6176 /include/services.h
parent1a2fdff0c653562ebde967850875e5445bc0c5ae (diff)
Converted modules to use ConfigReader to access new config parser.
Added all module directives to new config. Removed references to old config parser (not sure if I got them all, though). git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1756 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'include/services.h')
-rw-r--r--include/services.h34
1 files changed, 0 insertions, 34 deletions
diff --git a/include/services.h b/include/services.h
index 30e3103cb..7fbb00f05 100644
--- a/include/services.h
+++ b/include/services.h
@@ -540,40 +540,6 @@ struct ircdcapab_ {
};
/*************************************************************************/
-/* Config Details */
-/*************************************************************************/
-
-#define MAXPARAMS 8
-
-/* Configuration directives */
-
-typedef struct {
- const char *name;
- struct {
- int type; /* PARAM_* below */
- int flags; /* Same */
- void *ptr; /* Pointer to where to store the value */
- } params[MAXPARAMS];
-} Directive;
-
-#define PARAM_NONE 0
-#define PARAM_INT 1
-#define PARAM_POSINT 2 /* Positive integer only */
-#define PARAM_PORT 3 /* 1..65535 only */
-#define PARAM_STRING 4
-#define PARAM_TIME 5
-#define PARAM_STRING_ARRAY 6 /* Array of string */
-#define PARAM_SET -1 /* Not a real parameter; just set the
- * given integer variable to 1 */
-#define PARAM_DEPRECATED -2 /* Set for deprecated directives; `ptr'
- * is a function pointer to call */
-
-/* Flags: */
-#define PARAM_OPTIONAL 0x01
-/*#define PARAM_FULLONLY 0x02 unused */
-#define PARAM_RELOAD 0x04 /* Directive is reloadable */
-
-/*************************************************************************/
/* File version for each database. Was one version for all before but was
changed so they are now easier to maintain. =) */