From eac845c28129f29346a1e9dfd5ac06ddedcc65ca Mon Sep 17 00:00:00 2001 From: Wilfried Goesgens Date: Tue, 1 Jan 2013 16:37:18 +0100 Subject: [PATCH] NETCONFIG: remove unneeded files. --- citadel/modules/network/netconfig.h | 0 citadel/modules/network/serv_netconfig.c | 84 ------------------------ citadel/modules/network/serv_netmail.c | 1 - citadel/modules/network/serv_netspool.c | 1 - citadel/modules/network/serv_network.c | 1 - 5 files changed, 87 deletions(-) delete mode 100644 citadel/modules/network/netconfig.h delete mode 100644 citadel/modules/network/serv_netconfig.c diff --git a/citadel/modules/network/netconfig.h b/citadel/modules/network/netconfig.h deleted file mode 100644 index e69de29bb..000000000 diff --git a/citadel/modules/network/serv_netconfig.c b/citadel/modules/network/serv_netconfig.c deleted file mode 100644 index 94aeb62d3..000000000 --- a/citadel/modules/network/serv_netconfig.c +++ /dev/null @@ -1,84 +0,0 @@ -/* - * This module handles shared rooms, inter-Citadel mail, and outbound - * mailing list processing. - * - * Copyright (c) 2000-2012 by the citadel.org team - * - * This program is open source software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License, version 3. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * ** NOTE ** A word on the S_NETCONFIGS semaphore: - * This is a fairly high-level type of critical section. It ensures that no - * two threads work on the netconfigs files at the same time. Since we do - * so many things inside these, here are the rules: - * 1. begin_critical_section(S_NETCONFIGS) *before* begin_ any others. - * 2. Do *not* perform any I/O with the client during these sections. - * - */ - -/* - * Duration of time (in seconds) after which pending list subscribe/unsubscribe - * requests that have not been confirmed will be deleted. - */ -#define EXP 259200 /* three days */ - -#include "sysdep.h" -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#if TIME_WITH_SYS_TIME -# include -# include -#else -# if HAVE_SYS_TIME_H -# include -# else -# include -# endif -#endif -#ifdef HAVE_SYSCALL_H -# include -#else -# if HAVE_SYS_SYSCALL_H -# include -# endif -#endif - -#include -#include -#include -#include -#include "citadel.h" -#include "server.h" -#include "citserver.h" -#include "support.h" -#include "config.h" -#include "user_ops.h" -#include "database.h" -#include "msgbase.h" -#include "internet_addressing.h" -#include "serv_network.h" -#include "clientsocket.h" -#include "file_ops.h" -#include "citadel_dirs.h" -#include "threads.h" -#include "context.h" -#include "netconfig.h" -#include "ctdl_module.h" -#include "netspool.h" - - - diff --git a/citadel/modules/network/serv_netmail.c b/citadel/modules/network/serv_netmail.c index b440105be..ca44ec690 100644 --- a/citadel/modules/network/serv_netmail.c +++ b/citadel/modules/network/serv_netmail.c @@ -77,7 +77,6 @@ #include "threads.h" #include "context.h" #include "ctdl_module.h" -#include "netconfig.h" #include "netspool.h" #include "netmail.h" diff --git a/citadel/modules/network/serv_netspool.c b/citadel/modules/network/serv_netspool.c index 040930b3e..e1c75315d 100644 --- a/citadel/modules/network/serv_netspool.c +++ b/citadel/modules/network/serv_netspool.c @@ -79,7 +79,6 @@ #include "ctdl_module.h" -#include "netconfig.h" #include "netspool.h" #include "netmail.h" diff --git a/citadel/modules/network/serv_network.c b/citadel/modules/network/serv_network.c index ff579cb5f..beec9b4f7 100644 --- a/citadel/modules/network/serv_network.c +++ b/citadel/modules/network/serv_network.c @@ -77,7 +77,6 @@ #include "threads.h" #include "context.h" #include "ctdl_module.h" -#include "netconfig.h" #include "netspool.h" #include "netmail.h" -- 2.30.2