NETCONFIG: remove unneeded files.
authorWilfried Goesgens <dothebart@citadel.org>
Tue, 1 Jan 2013 15:37:18 +0000 (16:37 +0100)
committerWilfried Goesgens <dothebart@citadel.org>
Tue, 1 Jan 2013 15:37:18 +0000 (16:37 +0100)
citadel/modules/network/netconfig.h [deleted file]
citadel/modules/network/serv_netconfig.c [deleted file]
citadel/modules/network/serv_netmail.c
citadel/modules/network/serv_netspool.c
citadel/modules/network/serv_network.c

diff --git a/citadel/modules/network/netconfig.h b/citadel/modules/network/netconfig.h
deleted file mode 100644 (file)
index e69de29..0000000
diff --git a/citadel/modules/network/serv_netconfig.c b/citadel/modules/network/serv_netconfig.c
deleted file mode 100644 (file)
index 94aeb62..0000000
+++ /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 <stdlib.h>
-#include <unistd.h>
-#include <stdio.h>
-#include <fcntl.h>
-#include <ctype.h>
-#include <signal.h>
-#include <pwd.h>
-#include <errno.h>
-#include <sys/stat.h>
-#include <sys/types.h>
-#include <dirent.h>
-#if TIME_WITH_SYS_TIME
-# include <sys/time.h>
-# include <time.h>
-#else
-# if HAVE_SYS_TIME_H
-#  include <sys/time.h>
-# else
-#  include <time.h>
-# endif
-#endif
-#ifdef HAVE_SYSCALL_H
-# include <syscall.h>
-#else 
-# if HAVE_SYS_SYSCALL_H
-#  include <sys/syscall.h>
-# endif
-#endif
-
-#include <sys/wait.h>
-#include <string.h>
-#include <limits.h>
-#include <libcitadel.h>
-#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"
-
-
-
index b440105be14f0dd533971879ef328a57949683ba..ca44ec690f584a59e62f8a3ddb03433847dd3dca 100644 (file)
@@ -77,7 +77,6 @@
 #include "threads.h"
 #include "context.h"
 #include "ctdl_module.h"
-#include "netconfig.h"
 #include "netspool.h"
 #include "netmail.h"
 
index 040930b3e7b0124fc01caa85098ed2da2d019f5c..e1c75315d7f89d4b28cfd4db40e9f0ab8ef2861c 100644 (file)
@@ -79,7 +79,6 @@
 
 #include "ctdl_module.h"
 
-#include "netconfig.h"
 #include "netspool.h"
 #include "netmail.h"
 
index ff579cb5f2305d844fcc8cf2403d0a8f9e95cad4..beec9b4f7754a365449820981bc605d34e02aa55 100644 (file)
@@ -77,7 +77,6 @@
 #include "threads.h"
 #include "context.h"
 #include "ctdl_module.h"
-#include "netconfig.h"
 #include "netspool.h"
 #include "netmail.h"