From 372656dbe53f704c4fe6d8e742087e0b61f460d3 Mon Sep 17 00:00:00 2001 From: brain Date: Tue, 31 Oct 2006 17:42:09 +0000 Subject: [PATCH] Update configure, remove a bunch of deprecated makefiles that have been just a #warning for about 1000 revs git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5600 e03df62e-2008-0410-955e-edbf42e46eb7 --- configure | 4 ++-- include/commands.h | 16 ---------------- include/ctables.h | 5 +++++ include/helperfuncs.h | 16 ---------------- include/message.h | 18 ------------------ include/userprocess.h | 15 --------------- 6 files changed, 7 insertions(+), 67 deletions(-) delete mode 100644 include/commands.h delete mode 100644 include/helperfuncs.h delete mode 100644 include/message.h delete mode 100644 include/userprocess.h diff --git a/configure b/configure index 218a2996b..044fc30d6 100755 --- a/configure +++ b/configure @@ -1668,7 +1668,7 @@ base.o: base.cpp ../include/base.h ../include/globals.h ../include/inspircd_conf configreader.o: configreader.cpp ../include/base.h ../include/configreader.h ../include/inspircd.h ../include/channels.h ../include/users.h ../include/globals.h ../include/inspircd_config.h \$(CC) -pipe -I../include \$(FLAGS) -export-dynamic -c configreader.cpp -commands.o: commands.cpp ../include/base.h ../include/commands.h ../include/inspircd.h ../include/channels.h ../include/users.h ../include/globals.h ../include/inspircd_config.h $srcobjs +commands.o: commands.cpp ../include/base.h ../include/inspircd.h ../include/channels.h ../include/users.h ../include/globals.h ../include/inspircd_config.h $srcobjs \$(CC) -pipe -I../include \$(FLAGS) -export-dynamic -c commands.cpp $cmdobjs dynamic.o: dynamic.cpp ../include/base.h ../include/dynamic.h ../include/inspircd.h ../include/channels.h ../include/users.h ../include/globals.h ../include/inspircd_config.h @@ -1809,7 +1809,7 @@ libIRCDconfigreader.so: configreader.cpp ../include/base.h ../include/configread \$(CC) -pipe -I../include \$(FLAGS) -export-dynamic -c configreader.cpp \$(CC) -Wl,--rpath -Wl,$config{LIBRARY_DIR} -shared -o libIRCDconfigreader.so configreader.o -libIRCDcommands.so: commands.cpp ../include/base.h ../include/commands.h ../include/inspircd.h ../include/channels.h ../include/users.h ../include/globals.h ../include/inspircd_config.h +libIRCDcommands.so: commands.cpp ../include/base.h ../include/inspircd.h ../include/channels.h ../include/users.h ../include/globals.h ../include/inspircd_config.h \$(CC) -pipe -I../include \$(FLAGS) -export-dynamic -c commands.cpp \$(CC) -Wl,--rpath -Wl,$config{LIBRARY_DIR} -shared -o libIRCDcommands.so commands.o diff --git a/include/commands.h b/include/commands.h deleted file mode 100644 index ac882782a..000000000 --- a/include/commands.h +++ /dev/null @@ -1,16 +0,0 @@ -/* +------------------------------------+ - * | Inspire Internet Relay Chat Daemon | - * +------------------------------------+ - * - * InspIRCd is copyright (C) 2002-2006 ChatSpike-Dev. - * E-mail: - * - * - * - * Written by Craig Edwards, Craig McLure, and others. - * This program is free but copyrighted software; see - * the file COPYING for details. - * - * --------------------------------------------------- - */ - diff --git a/include/ctables.h b/include/ctables.h index ca2ef074b..003d512e8 100644 --- a/include/ctables.h +++ b/include/ctables.h @@ -80,6 +80,11 @@ class command_t : public Extensible virtual CmdResult Handle(const char** parameters, int pcnt, userrec* user) = 0; + virtual CmdResult HandleServer(const char** parameters, int pcnt, const std::string &servername) + { + return CMD_INVALID; + } + void Disable(bool setting) { disabled = setting; diff --git a/include/helperfuncs.h b/include/helperfuncs.h deleted file mode 100644 index ce169c3b0..000000000 --- a/include/helperfuncs.h +++ /dev/null @@ -1,16 +0,0 @@ -/* +------------------------------------+ - * | Inspire Internet Relay Chat Daemon | - * +------------------------------------+ - * - * InspIRCd is copyright (C) 2002-2006 ChatSpike-Dev. - * E-mail: - * - * - * - * Written by Craig Edwards, Craig McLure, and others. - * This program is free but copyrighted software; see - * the file COPYING for details. - * - * --------------------------------------------------- - */ - diff --git a/include/message.h b/include/message.h deleted file mode 100644 index aab2f6973..000000000 --- a/include/message.h +++ /dev/null @@ -1,18 +0,0 @@ -/* +------------------------------------+ - * | Inspire Internet Relay Chat Daemon | - * +------------------------------------+ - * - * InspIRCd is copyright (C) 2002-2006 ChatSpike-Dev. - * E-mail: - * - * - * - * Written by Craig Edwards, Craig McLure, and others. - * This program is free but copyrighted software; see - * the file COPYING for details. - * - * --------------------------------------------------- - */ - -#warning "message.h is deprecated and may be removed from a future version" - diff --git a/include/userprocess.h b/include/userprocess.h deleted file mode 100644 index 0e1b11976..000000000 --- a/include/userprocess.h +++ /dev/null @@ -1,15 +0,0 @@ -#ifndef __USERPROCESS_H__ -#define __USERPROCESS_H__ - -#include "users.h" -#include "inspircd.h" - -void CheckDie(); -void LoadAllModules(InspIRCd* ServerInstance); -void CheckRoot(); -void OpenLog(char** argv, int argc); -/*void DoBackgroundUserStuff(time_t TIME); -void ProcessUser(userrec* cu); -void DoSocketTimeouts(time_t TIME, InspIRCd* SI);*/ - -#endif -- 2.39.5