From 8528562075a54dbb8fc40d100e55e6a8af8067c4 Mon Sep 17 00:00:00 2001 From: brain Date: Tue, 15 Apr 2008 01:10:08 +0000 Subject: See configreader.cpp line 764 to see how to declare deprecated items. This is reasonably well thought out so i see no issue with leaving items here a very long time :) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9507 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/configreader.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'include') diff --git a/include/configreader.h b/include/configreader.h index 009b8a0ea..aea355583 100644 --- a/include/configreader.h +++ b/include/configreader.h @@ -178,6 +178,13 @@ struct InitialConfig Validator validation_function; }; +struct Deprecated +{ + const char* tag; + const char* value; + const char* reason; +}; + /** Holds a core configuration item and its callbacks * where there may be more than one item */ -- cgit v1.2.3