From cd8e5260894a71d5ce6437bc973d43bc15fc7c90 Mon Sep 17 00:00:00 2001 From: brain Date: Fri, 10 Mar 2006 00:40:11 +0000 Subject: Moved typedefs etc into the header where they belong git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3617 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/inspircd_io.cpp | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'src/inspircd_io.cpp') diff --git a/src/inspircd_io.cpp b/src/inspircd_io.cpp index 8daa1c19f..f6c719051 100644 --- a/src/inspircd_io.cpp +++ b/src/inspircd_io.cpp @@ -149,18 +149,6 @@ bool ServerConfig::CheckOnce(char* tag, bool bail, userrec* user) return true; } -typedef bool (*Validator)(const char*, const char*, void*); - -enum ConfigDataType { DT_NOTHING, DT_INTEGER, DT_CHARPTR, DT_BOOLEAN }; - -struct InitialConfig { - char* tag; - char* value; - void* val; - int datatype; - Validator validation_function; -}; - bool NoValidation(const char* tag, const char* value, void* data) { log(DEBUG,"No validation for <%s:%s>",tag,value); -- cgit v1.2.3