+2001-04-21 Kevin L. Mitchell <klmitch@mit.edu>
+
+ * ircd/msgq.c: finally remove the msgq_integrity() hack, as it's
+ turned up no more bugs
+
+ * ircd/ircd.c: use /* */ comments instead of // comments--all the
+ world's not gcc :(
+
+ * ircd/s_conf.c (conf_add_server): use /* */ comments instead of
+ // comments--all the world's not gcc :(
+
+ * ircd/runmalloc.c: finally garbage-collect unused file
+
+ * include/runmalloc.h: finally garbage-collect unused file
+
+ * ircd/<multiple files>: addition of '#include "config.h"' before
+ all other includes in most .c files
+
+ * include/<multiple files>: remove includes of config.h, which are
+ now going into the raw .c files
+
2001-04-20 Kevin L. Mitchell <klmitch@mit.edu>
* ircd/m_whois.c (do_whois): display proper server name if the
*/
#ifndef INCLUDED_channel_h
#define INCLUDED_channel_h
-#ifndef INCLUDED_config_h
-#include "config.h"
-#endif
#ifndef INCLUDED_ircd_defs_h
#include "ircd_defs.h" /* NICKLEN */
#endif
#ifndef INCLUDED_ircd_defs_h
#include "ircd_defs.h"
#endif
-#ifndef INCLUDED_config_h
-#include "config.h"
-#endif
#ifndef INCLUDED_dbuf_h
#include "dbuf.h"
#endif
*
* $Id$
*/
-#ifndef INCLUDED_config_h
-#include "config.h"
-#endif
#ifndef INCLUDED_sys_types_h
#include <sys/types.h>
#define INCLUDED_sys_types_h
*/
#ifndef INCLUDED_ircd_h
#define INCLUDED_ircd_h
-#ifndef INCLUDED_config_h
-#include "config.h"
-#endif
#ifndef INCLUDED_struct_h
#include "struct.h" /* struct Client */
#endif
*
* $Id$
*/
-#ifndef INCLUDED_config_h
-#include "config.h"
-#endif
#ifndef INCLUDED_sys_types_h
#include <sys/types.h>
#define INCLUDED_sys_types_h
*/
#ifndef INCLUDED_ircd_string_h
#define INCLUDED_ircd_string_h
-#ifndef INCLUDED_config_h
-#include "config.h"
-#endif
#ifndef INCLUDED_ircd_chattr_h
#include "ircd_chattr.h"
#endif
*
* $Id$
*/
-#ifndef INCLUDED_config_h
-#include "config.h"
-#endif
#ifndef INCLUDED_sys_types_h
#include <sys/types.h>
#define INCLUDED_sys_types_h
+++ /dev/null
-/*
- * runmalloc.h
- *
- * (C) Copyright 1996 - 1997, Carlo Wood (carlo@runaway.xs4all.nl)
- *
- * Headerfile of runmalloc.c
- *
- * $Id$
- */
-#ifndef INCLUDED_runmalloc_h
-#define INCLUDED_runmalloc_h
-#ifndef INCLUDED_config_h
-#include "config.h"
-#endif
-#ifndef INCLUDED_sys_types_h
-#include <sys/types.h> /* size_t */
-#define INCLUDED_sys_types_h
-#endif
-
-typedef void (*OutOfMemoryHandler)(void);
-
-extern void set_nomem_handler(OutOfMemoryHandler handler);
-
-#if 0
-/*
- * we want to be able to test in DEBUGMODE without turning
- * DEBUGMALLOC on, change in the config not in the code
- */
-#if defined(DEBUGMODE) && !defined(DEBUGMALLOC)
-#define DEBUGMALLOC
-#endif
-#endif
-
-#ifdef DEBUGMALLOC
-
-#if defined(MEMMAGICNUMS) && !defined(MEMSIZESTATS)
-#define MEMSIZESTATS
-#endif
-
-#ifndef MEMLEAKSTATS
-#undef MEMTIMESTATS
-#endif
-
-/*
- * Proto types
- */
-
-#ifdef MEMLEAKSTATS
-extern void *RunMalloc_memleak(size_t size, int line, const char *filename);
-extern void *RunCalloc_memleak(size_t nmemb, size_t size,
- int line, const char *filename);
-extern void *RunRealloc_memleak(void *ptr, size_t size,
- int line, const char *filename);
-struct Client;
-extern void report_memleak_stats(struct Client *sptr, int parc, char *parv[]);
-#define MyMalloc(x) RunMalloc_memleak(x, __LINE__, __FILE__)
-#define MyCalloc(x,y) RunCalloc_memleak(x,y, __LINE__, __FILE__)
-#define MyRealloc(x,y) RunRealloc_memleak(x,y, __LINE__, __FILE__)
-
-#else /* !MEMLEAKSTATS */
-extern void *MyMalloc(size_t size);
-extern void *MyCalloc(size_t nmemb, size_t size);
-extern void *MyRealloc(void *ptr, size_t size);
-#endif /* MEMLEAKSTATS */
-
-extern int MyFree_test(void *ptr);
-extern void MyFree(void *ptr);
-
-#ifdef MEMSIZESTATS
-extern unsigned int get_alloc_cnt(void);
-extern size_t get_mem_size(void);
-#endif
-
-#else /* !DEBUGMALLOC */
-
-#ifndef INCLUDED_stdlib_h
-#include <stdlib.h>
-#define INCLUDED_stdlib_h
-#endif
-
-#undef MEMSIZESTATS
-#undef MEMMAGICNUMS
-#undef MEMLEAKSTATS
-#undef MEMTIMESTATS
-
-#define MyFree(x) do { free((x)); (x) = 0; } while(0)
-#define Debug_malloc(x)
-extern void* MyMalloc(size_t size);
-extern void* MyCalloc(size_t nelem, size_t size);
-extern void* MyRealloc(void* x, size_t size);
-
-#endif /* DEBUGMALLOC */
-
-#endif /* INCLUDED_runmalloc_h */
#include <sys/types.h>
#define INCLUDED_sys_types_h
#endif
-#ifndef INCLUDED_config_h
-#include "config.h"
-#endif
struct Client;
*/
#ifndef INCLUDED_s_bsd_h
#define INCLUDED_s_bsd_h
-#ifndef INCLUDED_config_h
-#include "config.h"
-#endif
#ifndef INCLUDED_sys_types_h
#include <sys/types.h> /* size_t, time_t */
#define INCLUDED_sys_types_h
*/
#ifndef INCLUDED_s_debug_h
#define INCLUDED_s_debug_h
-#ifndef INCLUDED_config_h
-#include "config.h"
-#endif
#ifndef INCLUDED_ircd_defs_h
#include "ircd_defs.h" /* Needed for HOSTLEN */
#endif
*/
#ifndef INCLUDED_support_h
#define INCLUDED_support_h
-#ifndef INCLUDED_config_h
-#include "config.h"
-#define INCLUDED_config_h
-#endif
#if 0
#ifndef INCLUDED_sys_types_h
#include <sys/types.h> /* broken BSD system headers */
#ifndef INCLUDED_supported_h
#define INCLUDED_supported_h
-#include "config.h"
#include "channel.h"
#include "ircd_defs.h"
*/
#ifndef INCLUDED_sys_h
#define INCLUDED_sys_h
-#ifndef INCLUDED_config_h
-#include "config.h"
-#endif
#if WORDS_BIGENDIAN
# define BIT_ZERO_ON_LEFT
*/
#ifndef INCLUDED_whocmds_h
#define INCLUDED_whocmds_h
-#ifndef INCLUDED_config_h
-#include "config.h"
-#endif
struct Client;
struct Channel;
* This file should be edited in a window with a width of 141 characters
* ick
*/
+#include "config.h"
+
#include "IPcheck.h"
#include "client.h"
#include "ircd.h"
*
* $Id$
*/
+#include "config.h"
+
#include "channel.h"
#include "client.h"
#include "hash.h"
*
* $Id$
*/
+#include "config.h"
+
#include "class.h"
#include "client.h"
#include "ircd.h"
*
* $Id$
*/
+#include "config.h"
+
#include "client.h"
#include "class.h"
#include "ircd.h"
*
* $Id$
*/
+#include "config.h"
+
#include "crule.h"
#ifndef CR_DEBUG
*
* $Id$
*/
+#include "config.h"
+
#include "dbuf.h"
#include "ircd_alloc.h"
#include "ircd_chattr.h"
/*
* NOTE: Do not include fda.h here
*/
+#include "config.h"
+
#include <assert.h>
#include <stdlib.h>
#include <string.h>
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+#include "config.h"
+
#include "fileio.h"
#include "ircd_alloc.h" /* MyMalloc, MyFree */
*
* $Id$
*/
+#include "config.h"
+
#include "gline.h"
#include "client.h"
#include "ircd.h"
*
* $Id$
*/
+#include "config.h"
+
#include "hash.h"
#include "client.h"
#include "channel.h"
*
* $Id$
*/
+#include "config.h"
+
#include "ircd.h"
#include "IPcheck.h"
#include "class.h"
/*----------------------------------------------------------------------------
* Global data (YUCK!)
*--------------------------------------------------------------------------*/
-struct Client me; // That's me
-struct Connection me_con; // That's me too
-struct Client *GlobalClientList = &me; // Pointer to beginning of Client list
-time_t TSoffset = 0; // Offset of timestamps to system clock
-int GlobalRehashFlag = 0; // do a rehash if set
-int GlobalRestartFlag = 0; // do a restart if set
-time_t CurrentTime; // Updated every time we leave select()
-
-char *configfile = CPATH; // Server configuration file
-int debuglevel = -1; // Server debug level
-char *debugmode = ""; // Server debug level
+struct Client me; /* That's me */
+struct Connection me_con; /* That's me too */
+struct Client *GlobalClientList = &me; /* Pointer to beginning of
+ Client list */
+time_t TSoffset = 0;/* Offset of timestamps to system clock */
+int GlobalRehashFlag = 0; /* do a rehash if set */
+int GlobalRestartFlag = 0; /* do a restart if set */
+time_t CurrentTime; /* Updated every time we leave select() */
+
+char *configfile = CPATH; /* Server configuration file */
+int debuglevel = -1; /* Server debug level */
+char *debugmode = ""; /* Server debug level */
static char *dpath = DPATH;
-time_t nextconnect = 1; // time for next try_connections call
-time_t nextping = 1; // same as above for check_pings()
+time_t nextconnect = 1; /* time for next try_connections call */
+time_t nextping = 1; /* same as above for check_pings() */
static struct Daemon thisServer = { 0, 0, 0, 0, 0, 0, 0, -1, 0, 0, 0 };
*
* $Id$
*/
+#include "config.h"
+
#include "ircd_alloc.h"
#include "ircd_string.h"
#include "s_debug.h"
* $Id$
*/
#include "config.h"
+
#include "ircd_features.h"
#include "channel.h" /* list_set_default */
#include "class.h"
*
* $Id$
*/
+#include "config.h"
+
#include "ircd_log.h"
#include "client.h"
-#include "config.h"
#include "ircd_alloc.h"
#include "ircd_reply.h"
#include "ircd_snprintf.h"
*
* $Id$
*/
+#include "config.h"
+
#include "ircd_relay.h"
#include "channel.h"
#include "client.h"
*
* $Id$
*/
+#include "config.h"
+
#include "ircd_reply.h"
#include "client.h"
#include "ircd.h"
*
* $Id$
*/
+#include "config.h"
+
#include "ircd_signal.h"
#include "ircd.h"
*
* $Id$
*/
+#include "config.h"
+
#include "client.h"
#include "channel.h"
#include "ircd_snprintf.h"
*
* $Id$
*/
+#include "config.h"
+
#include "ircd_string.h"
#include "ircd_defs.h"
#include "ircd_chattr.h"
*
* $Id$
*/
+#include "config.h"
+
#define _XOPEN_SOURCE
#define _XOPEN_VERSION 4
#include "ircd_xopen.h"
*
* $Id$
*/
+#include "config.h"
+
#include "jupe.h"
#include "client.h"
#include "hash.h"
*
* $Id$
*/
-#include "list.h"
+#include "config.h"
+#include "list.h"
#include "client.h"
#include "ircd.h"
#include "ircd_alloc.h"
*
* $Id$
*/
+#include "config.h"
+
#include "listener.h"
#include "client.h"
#include "ircd.h"
* note: it is guaranteed that parv[0]..parv[parc-1] are all
* non-NULL pointers.
*/
+#include "config.h"
+
#if 0
/*
* No need to include handlers.h here the signatures must match
* note: it is guaranteed that parv[0]..parv[parc-1] are all
* non-NULL pointers.
*/
+#include "config.h"
+
#if 0
/*
* No need to include handlers.h here the signatures must match
* note: it is guaranteed that parv[0]..parv[parc-1] are all
* non-NULL pointers.
*/
+#include "config.h"
+
#if 0
/*
* No need to include handlers.h here the signatures must match
* note: it is guaranteed that parv[0]..parv[parc-1] are all
* non-NULL pointers.
*/
+#include "config.h"
+
#if 0
/*
* No need to include handlers.h here the signatures must match
* note: it is guaranteed that parv[0]..parv[parc-1] are all
* non-NULL pointers.
*/
+#include "config.h"
+
#if 0
/*
* No need to include handlers.h here the signatures must match
* note: it is guaranteed that parv[0]..parv[parc-1] are all
* non-NULL pointers.
*/
+#include "config.h"
+
#if 0
/*
* No need to include handlers.h here the signatures must match
* note: it is guaranteed that parv[0]..parv[parc-1] are all
* non-NULL pointers.
*/
+#include "config.h"
+
#if 0
/*
* No need to include handlers.h here the signatures must match
* note: it is guaranteed that parv[0]..parv[parc-1] are all
* non-NULL pointers.
*/
+#include "config.h"
+
#if 0
/*
* No need to include handlers.h here the signatures must match
*
* $Id$
*/
+#include "config.h"
+
#if 0
/*
* No need to include handlers.h here the signatures must match
* note: it is guaranteed that parv[0]..parv[parc-1] are all
* non-NULL pointers.
*/
+#include "config.h"
+
#if 0
/*
* No need to include handlers.h here the signatures must match
* note: it is guaranteed that parv[0]..parv[parc-1] are all
* non-NULL pointers.
*/
+#include "config.h"
+
#if 0
/*
* No need to include handlers.h here the signatures must match
* note: it is guaranteed that parv[0]..parv[parc-1] are all
* non-NULL pointers.
*/
+#include "config.h"
+
#if 0
/*
* No need to include handlers.h here the signatures must match
* note: it is guaranteed that parv[0]..parv[parc-1] are all
* non-NULL pointers.
*/
+#include "config.h"
+
#if 0
/*
* No need to include handlers.h here the signatures must match
* note: it is guaranteed that parv[0]..parv[parc-1] are all
* non-NULL pointers.
*/
+#include "config.h"
+
#if 0
/*
* No need to include handlers.h here the signatures must match
* note: it is guaranteed that parv[0]..parv[parc-1] are all
* non-NULL pointers.
*/
+#include "config.h"
+
#if 0
/*
* No need to include handlers.h here the signatures must match
* note: it is guaranteed that parv[0]..parv[parc-1] are all
* non-NULL pointers.
*/
+#include "config.h"
+
#if 0
/*
* No need to include handlers.h here the signatures must match
* note: it is guaranteed that parv[0]..parv[parc-1] are all
* non-NULL pointers.
*/
+#include "config.h"
+
#if 0
/*
* No need to include handlers.h here the signatures must match
* note: it is guaranteed that parv[0]..parv[parc-1] are all
* non-NULL pointers.
*/
+#include "config.h"
+
#if 0
/*
* No need to include handlers.h here the signatures must match
* note: it is guaranteed that parv[0]..parv[parc-1] are all
* non-NULL pointers.
*/
+#include "config.h"
+
#if 0
/*
* No need to include handlers.h here the signatures must match
* note: it is guaranteed that parv[0]..parv[parc-1] are all
* non-NULL pointers.
*/
+#include "config.h"
+
#if 0
/*
* No need to include handlers.h here the signatures must match
* note: it is guaranteed that parv[0]..parv[parc-1] are all
* non-NULL pointers.
*/
+#include "config.h"
+
#if 0
/*
* No need to include handlers.h here the signatures must match
* note: it is guaranteed that parv[0]..parv[parc-1] are all
* non-NULL pointers.
*/
+#include "config.h"
+
#if 0
/*
* No need to include handlers.h here the signatures must match
* note: it is guaranteed that parv[0]..parv[parc-1] are all
* non-NULL pointers.
*/
+#include "config.h"
+
#if 0
/*
* No need to include handlers.h here the signatures must match
* note: it is guaranteed that parv[0]..parv[parc-1] are all
* non-NULL pointers.
*/
+#include "config.h"
+
#if 0
/*
* No need to include handlers.h here the signatures must match
* note: it is guaranteed that parv[0]..parv[parc-1] are all
* non-NULL pointers.
*/
+#include "config.h"
+
#if 0
/*
* No need to include handlers.h here the signatures must match
* note: it is guaranteed that parv[0]..parv[parc-1] are all
* non-NULL pointers.
*/
+#include "config.h"
+
#if 0
/*
* No need to include handlers.h here the signatures must match
* note: it is guaranteed that parv[0]..parv[parc-1] are all
* non-NULL pointers.
*/
+#include "config.h"
+
#if 0
/*
* No need to include handlers.h here the signatures must match
* note: it is guaranteed that parv[0]..parv[parc-1] are all
* non-NULL pointers.
*/
+#include "config.h"
+
#if 0
/*
* No need to include handlers.h here the signatures must match
* note: it is guaranteed that parv[0]..parv[parc-1] are all
* non-NULL pointers.
*/
+#include "config.h"
+
#include "handlers.h"
#include "channel.h"
#include "client.h"
* note: it is guaranteed that parv[0]..parv[parc-1] are all
* non-NULL pointers.
*/
+#include "config.h"
+
#if 0
/*
* No need to include handlers.h here the signatures must match
* note: it is guaranteed that parv[0]..parv[parc-1] are all
* non-NULL pointers.
*/
+#include "config.h"
+
#if 0
/*
* No need to include handlers.h here the signatures must match
* note: it is guaranteed that parv[0]..parv[parc-1] are all
* non-NULL pointers.
*/
+#include "config.h"
+
#if 0
/*
* No need to include handlers.h here the signatures must match
* note: it is guaranteed that parv[0]..parv[parc-1] are all
* non-NULL pointers.
*/
+#include "config.h"
+
#if 0
/*
* No need to include handlers.h here the signatures must match
* note: it is guaranteed that parv[0]..parv[parc-1] are all
* non-NULL pointers.
*/
+#include "config.h"
+
#if 0
/*
* No need to include handlers.h here the signatures must match
* note: it is guaranteed that parv[0]..parv[parc-1] are all
* non-NULL pointers.
*/
+#include "config.h"
+
#if 0
/*
* No need to include handlers.h here the signatures must match
* note: it is guaranteed that parv[0]..parv[parc-1] are all
* non-NULL pointers.
*/
+#include "config.h"
+
#if 0
/*
* No need to include handlers.h here the signatures must match
* note: it is guaranteed that parv[0]..parv[parc-1] are all
* non-NULL pointers.
*/
+#include "config.h"
+
#if 0
/*
* No need to include handlers.h here the signatures must match
* note: it is guaranteed that parv[0]..parv[parc-1] are all
* non-NULL pointers.
*/
+#include "config.h"
+
#if 0
/*
* No need to include handlers.h here the signatures must match
* note: it is guaranteed that parv[0]..parv[parc-1] are all
* non-NULL pointers.
*/
+#include "config.h"
+
#if 0
/*
* No need to include handlers.h here the signatures must match
* note: it is guaranteed that parv[0]..parv[parc-1] are all
* non-NULL pointers.
*/
+#include "config.h"
+
#if 0
/*
* No need to include handlers.h here the signatures must match
* note: it is guaranteed that parv[0]..parv[parc-1] are all
* non-NULL pointers.
*/
+#include "config.h"
+
#if 0
/*
* No need to include handlers.h here the signatures must match
*
* $Id$
*/
+#include "config.h"
+
#if 0
/*
* No need to include handlers.h here the signatures must match
* note: it is guaranteed that parv[0]..parv[parc-1] are all
* non-NULL pointers.
*/
+#include "config.h"
+
#if 0
/*
* No need to include handlers.h here the signatures must match
* note: it is guaranteed that parv[0]..parv[parc-1] are all
* non-NULL pointers.
*/
+#include "config.h"
+
#if 0
/*
* No need to include handlers.h here the signatures must match
* note: it is guaranteed that parv[0]..parv[parc-1] are all
* non-NULL pointers.
*/
+#include "config.h"
+
#if 0
/*
* No need to include handlers.h here the signatures must match
* note: it is guaranteed that parv[0]..parv[parc-1] are all
* non-NULL pointers.
*/
+#include "config.h"
+
#if 0
/*
* No need to include handlers.h here the signatures must match
* note: it is guaranteed that parv[0]..parv[parc-1] are all
* non-NULL pointers.
*/
+#include "config.h"
+
#if 0
/*
* No need to include handlers.h here the signatures must match
* note: it is guaranteed that parv[0]..parv[parc-1] are all
* non-NULL pointers.
*/
+#include "config.h"
+
#if 0
/*
* No need to include handlers.h here the signatures must match
* note: it is guaranteed that parv[0]..parv[parc-1] are all
* non-NULL pointers.
*/
+#include "config.h"
+
#if 0
/*
* No need to include handlers.h here the signatures must match
* note: it is guaranteed that parv[0]..parv[parc-1] are all
* non-NULL pointers.
*/
+#include "config.h"
+
#if 0
/*
* No need to include handlers.h here the signatures must match
* note: it is guaranteed that parv[0]..parv[parc-1] are all
* non-NULL pointers.
*/
+#include "config.h"
+
#if 0
/*
* No need to include handlers.h here the signatures must match
* note: it is guaranteed that parv[0]..parv[parc-1] are all
* non-NULL pointers.
*/
+#include "config.h"
+
#if 0
/*
* No need to include handlers.h here the signatures must match
*
* $Id$
*/
+#include "config.h"
#if 0
/*
* note: it is guaranteed that parv[0]..parv[parc-1] are all
* non-NULL pointers.
*/
+#include "config.h"
+
#include "handlers.h"
/*
* XXX - ack!!!
* note: it is guaranteed that parv[0]..parv[parc-1] are all
* non-NULL pointers.
*/
+#include "config.h"
+
#if 0
/*
* No need to include handlers.h here the signatures must match
* note: it is guaranteed that parv[0]..parv[parc-1] are all
* non-NULL pointers.
*/
+#include "config.h"
+
#if 0
/*
* No need to include handlers.h here the signatures must match
* note: it is guaranteed that parv[0]..parv[parc-1] are all
* non-NULL pointers.
*/
+#include "config.h"
+
#if 0
/*
* No need to include handlers.h here the signatures must match
* note: it is guaranteed that parv[0]..parv[parc-1] are all
* non-NULL pointers.
*/
+#include "config.h"
+
#if 0
/*
* No need to include handlers.h here the signatures must match
* note: it is guaranteed that parv[0]..parv[parc-1] are all
* non-NULL pointers.
*/
+#include "config.h"
+
#if 0
/*
* No need to include handlers.h here the signatures must match
* note: it is guaranteed that parv[0]..parv[parc-1] are all
* non-NULL pointers.
*/
+#include "config.h"
+
#include "handlers.h"
#include "client.h"
#include "ircd.h"
* note: it is guaranteed that parv[0]..parv[parc-1] are all
* non-NULL pointers.
*/
+#include "config.h"
+
#if 0
/*
* No need to include handlers.h here the signatures must match
* note: it is guaranteed that parv[0]..parv[parc-1] are all
* non-NULL pointers.
*/
+#include "config.h"
+
#if 0
/*
* No need to include handlers.h here the signatures must match
* note: it is guaranteed that parv[0]..parv[parc-1] are all
* non-NULL pointers.
*/
+#include "config.h"
+
#if 0
/*
* No need to include handlers.h here the signatures must match
* note: it is guaranteed that parv[0]..parv[parc-1] are all
* non-NULL pointers.
*/
+#include "config.h"
+
#if 0
/*
* No need to include handlers.h here the signatures must match
* note: it is guaranteed that parv[0]..parv[parc-1] are all
* non-NULL pointers.
*/
+#include "config.h"
+
#if 0
/*
* No need to include handlers.h here the signatures must match
* note: it is guaranteed that parv[0]..parv[parc-1] are all
* non-NULL pointers.
*/
+#include "config.h"
+
#if 0
/*
* No need to include handlers.h here the signatures must match
* note: it is guaranteed that parv[0]..parv[parc-1] are all
* non-NULL pointers.
*/
+#include "config.h"
+
#if 0
/*
* No need to include handlers.h here the signatures must match
* note: it is guaranteed that parv[0]..parv[parc-1] are all
* non-NULL pointers.
*/
+#include "config.h"
+
#if 0
/*
* No need to include handlers.h here the signatures must match
* note: it is guaranteed that parv[0]..parv[parc-1] are all
* non-NULL pointers.
*/
+#include "config.h"
+
#if 0
/*
* No need to include handlers.h here the signatures must match
*
* $Id$
*/
+#include "config.h"
+
#include "match.h"
#include "ircd_chattr.h"
/*
*
* $Id$
*/
+#include "config.h"
+
#include "motd.h"
#include "class.h"
#include "client.h"
*
* $Id$
*/
+#include "config.h"
+
#include "msgq.h"
#include "ircd_alloc.h"
#include "ircd_defs.h"
struct MsgCounts msgBufCounts = { 0, 0 };
struct MsgCounts msgCounts = { 0, 0 };
-/* XXX HACK HACK HACK XXX */
-#if 1
-/* First, force assertion checking */
-#undef NDEBUG
-#include <assert.h>
-
-/* This routine is TEMPORARY and is intended to track down a problem we're
- * having with apparent buffer overflows in this file.
- */
-static void
-msgq_integrity(void)
-{
- struct MsgBuf *mb;
- struct Msg *msg;
-
- for (mb = MQData.msgs; mb; mb = mb->next)
- assert(((unsigned long)mb) != 0x8000a0d);
- for (mb = MQData.free_mbs; mb; mb = mb->next)
- assert(((unsigned long)mb) != 0x8000a0d);
- for (msg = MQData.free_msgs; msg; msg = msg->next)
- assert(((unsigned long)msg) != 0x8000a0d);
-}
-#else
-#define msgq_integrity() ((void)0)
-#endif /* XXX HACK HACK HACK XXX */
-
/*
* This routine is used to remove a certain amount of data from a given
* queue and release the Msg (and MsgBuf) structure if needed
struct Msg *m;
unsigned int msglen;
- msgq_integrity();
-
assert(0 != mq);
assert(0 != qlist);
assert(0 != qlist->head);
m->sent += *length_p; /* this much of the message has been sent */
*length_p = 0; /* we've dealt with it all */
}
-
- msgq_integrity();
}
/*
void
msgq_init(struct MsgQ *mq)
{
- msgq_integrity();
-
assert(0 != mq);
mq->length = 0;
mq->queue.tail = 0;
mq->prio.head = 0;
mq->prio.tail = 0;
-
- msgq_integrity();
}
/*
void
msgq_delete(struct MsgQ *mq, unsigned int length)
{
- msgq_integrity();
-
assert(0 != mq);
while (length > 0) {
else
break;
}
-
- msgq_integrity();
}
/*
struct Msg *prio;
int i = 0;
- msgq_integrity();
-
assert(0 != mq);
assert(0 != iov);
assert(0 != count);
assert(0 != len);
- if (mq->length <= 0) { /* no data to map */
- msgq_integrity();
+ if (mq->length <= 0) /* no data to map */
return 0;
- }
if (mq->queue.head && mq->queue.head->sent > 0) { /* partial msg on norm q */
iov[i].iov_base = mq->queue.head->msg->msg + mq->queue.head->sent;
queue = mq->queue.head->next; /* where we start later... */
i++; /* filled an iovec... */
- if (!--count) { /* check for space */
- msgq_integrity();
+ if (!--count) /* check for space */
return i;
- }
} else
queue = mq->queue.head; /* start at head of queue */
prio = mq->prio.head->next; /* where we start later... */
i++; /* filled an iovec... */
- if (!--count) { /* check for space */
- msgq_integrity();
+ if (!--count) /* check for space */
return i;
- }
} else
prio = mq->prio.head; /* start at head of prio */
*len += iov[i].iov_len;
i++; /* filled an iovec... */
- if (!--count) { /* check for space */
- msgq_integrity();
+ if (!--count) /* check for space */
return i;
- }
}
for (; queue; queue = queue->next) { /* go through normal queue */
*len += iov[i].iov_len;
i++; /* filled an iovec... */
- if (!--count) { /* check for space */
- msgq_integrity();
+ if (!--count) /* check for space */
return i;
- }
}
- msgq_integrity();
-
return i;
}
{
struct MsgBuf *mb;
- msgq_integrity();
-
assert(0 != format);
if (!(mb = MQData.free_mbs)) { /* do I need to allocate one? */
MQData.msgs->prev_p = &mb->next;
MQData.msgs = mb;
- msgq_integrity();
-
return mb;
}
{
va_list vl;
- msgq_integrity();
-
assert(0 != mb);
assert(0 != format);
mb->msg[mb->length] = '\0'; /* not strictly necessary */
assert(mb->length < sizeof(mb->msg));
-
- msgq_integrity();
}
/*
void
msgq_clean(struct MsgBuf *mb)
{
- msgq_integrity();
-
assert(0 != mb);
assert(0 < mb->ref);
assert(0 != mb->prev_p);
msgBufCounts.used--; /* decrement the usage count */
}
-
- msgq_integrity();
}
/*
struct MsgQList *qlist;
struct Msg *msg;
- msgq_integrity();
-
assert(0 != mq);
assert(0 != mb);
assert(0 < mb->ref);
mq->length += mb->length; /* update the queue length */
mq->count++; /* and the queue count */
-
- msgq_integrity();
}
/*
msgq_count_memory(size_t *msg_alloc, size_t *msg_used, size_t *msgbuf_alloc,
size_t *msgbuf_used)
{
- msgq_integrity();
-
assert(0 != msg_alloc);
assert(0 != msg_used);
assert(0 != msgbuf_alloc);
*msg_used = msgCounts.used * sizeof(struct Msg);
*msgbuf_alloc = msgCounts.alloc * sizeof(struct MsgBuf);
*msgbuf_used = msgCounts.used * sizeof(struct MsgBuf);
-
- msgq_integrity();
}
/*
*
* $Id$
*/
+#include "config.h"
#include "numnicks.h"
#include "client.h"
*
* $Id$
*/
+#include "config.h"
+
#include "opercmds.h"
#include "class.h"
#include "client.h"
* $Id$
*
*/
+#include "config.h"
+
#define _XOPEN_SOURCE /* make limits.h #define IOV_MAX */
#include "ircd_osdep.h"
-#include "config.h"
#include "msgq.h"
#include <assert.h>
* $Id$
*
*/
+#include "config.h"
+
#define _XOPEN_SOURCE /* make limits.h #define IOV_MAX */
#include "ircd_osdep.h"
-#include "config.h"
#include "msgq.h"
#include <assert.h>
* $Id$
*
*/
+#include "config.h"
+
#define _XOPEN_SOURCE /* make limits.h #define IOV_MAX */
#include "ircd_osdep.h"
* $Id$
*
*/
+#include "config.h"
+
#define _XOPEN_SOURCE /* Need this for IOV_MAX */
/* These typedef's are needed for socket.h to be happy. Bleep PROMISES to make
typedef unsigned long u_long;
#include "ircd_osdep.h"
-#include "config.h"
#include "msgq.h"
#include <assert.h>
* $Id$
*
*/
+#include "config.h"
+
#define _XOPEN_SOURCE /* make limits.h #define IOV_MAX */
#include "ircd_osdep.h"
*
* $Id$
*/
+#include "config.h"
+
#include "packet.h"
#include "client.h"
#include "ircd.h"
* $Id$
*/
#include "config.h"
+
#include "parse.h"
#include "client.h"
#include "channel.h"
*
* $Id$
*/
+#include "config.h"
+
#include "querycmds.h"
#include <string.h>
*
* $Id$
*/
+#include "config.h"
+
#include "random.h"
#include "client.h"
#include "ircd_log.h"
* added callbacks and reference counting of returned hostents.
* --Bleep (Thomas Helvey <tomh@inxpress.net>)
*/
+#include "config.h"
+
#include "res.h"
#include "client.h"
#include "ircd.h"
+++ /dev/null
-/*
- * Run's malloc/realloc/calloc/free DEBUG tools v2.0
- *
- * (c) Copyright 1996, 1997
- *
- * Author:
- *
- * 1024/624ACAD5 1997/01/26 Carlo Wood, Run on IRC <carlo@runaway.xs4all.nl>
- * Key fingerprint = 32 EC A7 B6 AC DB 65 A6 F6 F6 55 DD 1C DC FF 61
- * Get key from pgp-public-keys server or
- * finger carlo@runaway.xs4all.nl for public key (dialin, try at 21-22h GMT).
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2, or (at your option)
- * any later version.
- *
- * 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.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
- *
- * $Id$
- */
-#include "runmalloc.h"
-#include "client.h"
-#include "ircd.h"
-#include "numeric.h"
-#include "numnicks.h"
-#include "s_debug.h"
-#include "send.h"
-#include "struct.h"
-#include "sys.h"
-
-#include <assert.h>
-#include <stdlib.h>
-#include <string.h>
-
-#if defined(DEBUGMALLOC)
-
-#define MALLOC_HASHTABLE_SIZE 16384
-#define MallocHash(x) \
- ((unsigned int)(((((long int)(x) >> 4) * 0xDEECE66D) >> 16) & (long int)0x3fff))
-#define MAGIC_PREFIX 0xe4c483a1
-#define MAGIC_POSTFIX 0x435bd0fa
-
-#ifdef MEMLEAKSTATS
-typedef struct {
- const char *filename;
- int line;
- int number_of_allocations;
-#ifdef MEMSIZESTATS
- size_t size;
-#endif
-} location_st;
-
-#define LOCSIZE 1024 /* Maximum of 256 different locations */
-static location_st location[LOCSIZE];
-static unsigned int locations; /* Counter */
-
-static unsigned int find_location(const char *filename, int line)
-{
- unsigned int hash;
- hash = line & 0xff;
- while (location[hash].filename && (location[hash].line != line ||
- location[hash].filename != filename))
- if (++hash == LOCSIZE)
- hash = 0;
- if (!location[hash].filename)
- {
- /* New location */
- ++locations;
- location[hash].filename = filename;
- location[hash].line = line;
- }
- return hash;
-}
-#endif /* MEMLEAKSTATS */
-
-#ifdef MEMMAGICNUMS
-/* The size of this struct should be a multiple of 4 bytes, just in case... */
-typedef struct {
- unsigned int prefix_magicnumber;
-} prefix_blk_st;
-
-typedef struct {
- unsigned int postfix_magicnumber;
-} postfix_blk_st;
-
-#define SIZEOF_POSTFIX sizeof(postfix_blk_st)
-#define SIZEOF_PREFIX sizeof(prefix_blk_st)
-#define HAS_POSTFIX
-
-#else /* !MEMMAGICNUMS */
-typedef void prefix_blk_st;
-#define SIZEOF_PREFIX 0
-#define SIZEOF_POSTFIX 0
-#endif /* MEMMAGICNUMS */
-
-typedef struct hash_entry_st {
- struct hash_entry_st *next;
- prefix_blk_st *ptr;
-#ifdef MEMSIZESTATS
- size_t size;
-#endif
-#ifdef MEMLEAKSTATS
- unsigned int location;
-#ifdef MEMTIMESTATS
- time_t when;
-#endif /* MEMTIMESTATS */
-#endif /* MEMLEAKSTATS */
-} hash_entry_st;
-
-#define memblkp(prefix_ptr) \
- ((void *)((size_t)prefix_ptr + SIZEOF_PREFIX))
-#define prefixp(memblk_ptr) \
- ((prefix_blk_st *)((size_t)memblk_ptr - SIZEOF_PREFIX))
-#define postfixp(memblk_ptr, size) \
- ((postfix_blk_st *)((size_t)memblk_ptr + size))
-
-static hash_entry_st *hashtable[MALLOC_HASHTABLE_SIZE];
-#ifdef MEMSIZESTATS
-static size_t mem_size = 0; /* Number of allocated bytes */
-static unsigned int alloc_cnt = 0; /* Number of allocated blocks */
-#endif
-
-#ifdef MEMLEAKSTATS
-void report_memleak_stats(struct Client *sptr, int parc, char *parv[])
-{
- unsigned int hash;
- location_st *loc = location;
-
-#ifdef MEMTIMESTATS
- time_t till = CurrentTime;
- time_t from = me.since;
- if (parc > 3)
- {
- location_st tmp_loc[LOCSIZE];
- hash_entry_st **start;
- memset(tmp_loc, 0, sizeof(tmp_loc));
- if (parc > 3)
- till -= atoi(parv[3]);
- if (parc > 4)
- from += atoi(parv[4]);
- for (start = &hashtable[0];
- start < &hashtable[MALLOC_HASHTABLE_SIZE]; ++start)
- {
- hash_entry_st *hash_entry;
- for (hash_entry = *start; hash_entry; hash_entry = hash_entry->next)
- if (hash_entry->when >= from && hash_entry->when <= till)
- {
-#ifdef MEMSIZESTATS
- tmp_loc[hash_entry->location].size += hash_entry->size;
-#endif
- tmp_loc[hash_entry->location].number_of_allocations++;
- }
- }
- loc = tmp_loc;
- if (MyUser(sptr) || Protocol(sptr->from) < 10)
- sendto_one(sptr, ":%s NOTICE %s :Memory allocated between " TIME_T_FMT
- " (server start + %s s) and " TIME_T_FMT " (CurrentTime - %s s):",
- me.name, parv[0], from, parc > 4 ? parv[4] : "0", till,
- parc > 3 ? parv[3] : "0");
- else
- sendto_one(sptr, "%s NOTICE %s%s :Memory allocated between " TIME_T_FMT
- " (server start + %s s) and " TIME_T_FMT " (CurrentTime - %s s):",
- NumServ(&me), NumNick(sptr), from, parc > 4 ? parv[4] : "0", till,
- parc > 3 ? parv[3] : "0");
- }
-#endif /* MEMTIMESTATS */
- for (hash = 0; hash < LOCSIZE; ++hash)
- if (loc[hash].number_of_allocations > 0)
- sendto_one(sptr, rpl_str(RPL_STATMEM), me.name, parv[0],
- loc[hash].number_of_allocations,
- location[hash].line, location[hash].filename
-#ifdef MEMSIZESTATS
- , loc[hash].size
-#endif
- );
-}
-
-void *RunMalloc_memleak(size_t size, int line, const char *filename)
-#else /* !MEMLEAKSTATS */
-void *MyMalloc(size_t size)
-#endif /* MEMLEAKSTATS */
-{
- prefix_blk_st *ptr;
- hash_entry_st *hash_entry;
- hash_entry_st **hashtablep;
-
-#ifdef HAS_POSTFIX
- size += 3;
- size &= ~3;
-#endif
-
- if (!((ptr = (prefix_blk_st *)
- malloc(SIZEOF_PREFIX + size + SIZEOF_POSTFIX)) &&
- (hash_entry = (hash_entry_st *) malloc(sizeof(hash_entry_st)))))
- {
- if (ptr)
- free(ptr);
- (*noMemHandler)();
- return 0;
- }
-
- hashtablep = &hashtable[MallocHash(ptr)];
- hash_entry->next = *hashtablep;
- *hashtablep = hash_entry;
- hash_entry->ptr = ptr;
-#ifdef MEMLEAKSTATS
-#ifdef MEMTIMESTATS
- hash_entry->when = CurrentTime;
-#endif
- location[(hash_entry->location =
- find_location(filename, line))].number_of_allocations++;
-#endif /* MEMLEAKSTATS */
-#ifdef MEMSIZESTATS
- hash_entry->size = size;
-#ifdef MEMLEAKSTATS
- location[hash_entry->location].size += size;
-#endif
- mem_size += size;
- ++alloc_cnt;
-#endif /* MEMSIZESTATS */
-#ifdef MEMMAGICNUMS
- ptr->prefix_magicnumber = MAGIC_PREFIX;
- postfixp(memblkp(ptr), size)->postfix_magicnumber = MAGIC_POSTFIX;
-#endif
-
- Debug((DEBUG_MALLOC, "MyMalloc(%u) = %p", size, memblkp(ptr)));
-
- return memblkp(ptr);
-}
-
-#ifdef MEMLEAKSTATS
-void *RunCalloc_memleak(size_t nmemb, size_t size,
- int line, const char *filename)
-#else
-void *MyCalloc(size_t nmemb, size_t size)
-#endif /* MEMLEAKSTATS */
-{
- void *ptr;
- size *= nmemb;
-#ifdef MEMLEAKSTATS
- if ((ptr = RunMalloc_memleak(size, line, filename)))
-#else
- if ((ptr = MyMalloc(size)))
-#endif /* MEMLEAKSTATS */
- memset(ptr, 0, size);
- return ptr;
-}
-
-int MyFree_test(void *memblk_ptr)
-{
- prefix_blk_st* prefix_ptr = prefixp(memblk_ptr);
- hash_entry_st* hash_entry;
- for (hash_entry = hashtable[MallocHash(prefix_ptr)];
- hash_entry && hash_entry->ptr != prefix_ptr;
- hash_entry = hash_entry->next);
- return hash_entry ? 1 : 0;
-}
-
-void MyFree(void* memblk_ptr)
-{
- prefix_blk_st* prefix_ptr = prefixp(memblk_ptr);
- hash_entry_st* hash_entry;
- hash_entry_st* prev_hash_entry = NULL;
- unsigned int hash = MallocHash(prefix_ptr);
-
- Debug((DEBUG_MALLOC, "MyFree(%p)", memblk_ptr));
-
- if (!memblk_ptr)
- return;
-
- for (hash_entry = hashtable[hash];
- hash_entry && hash_entry->ptr != prefix_ptr;
- prev_hash_entry = hash_entry, hash_entry = hash_entry->next);
- if (!hash_entry)
- {
- Debug((DEBUG_FATAL, "FREEING NON MALLOC PTR !!!"));
- assert(0 != hash_entry);
- }
-#ifdef MEMMAGICNUMS
- if (prefix_ptr->prefix_magicnumber != MAGIC_PREFIX)
- {
- Debug((DEBUG_FATAL, "MAGIC_PREFIX CORRUPT !"));
- assert(MAGIC_PREFIX == prefix_ptr->prefix_magicnumber);
- }
- prefix_ptr->prefix_magicnumber = 12345678;
- if (postfixp(memblk_ptr, hash_entry->size)->postfix_magicnumber
- != MAGIC_POSTFIX)
- {
- Debug((DEBUG_FATAL, "MAGIC_POSTFIX CORRUPT !"));
- assert(MAGIC_POSTFIX ==
- postfixp(memblk_ptr, hash_entry->size)->postfix_magicnumber);
- }
- postfixp(memblk_ptr, hash_entry->size)->postfix_magicnumber = 87654321;
-#endif /* MEMMAGICNUMS */
-
- if (prev_hash_entry)
- prev_hash_entry->next = hash_entry->next;
- else
- hashtable[hash] = hash_entry->next;
-
-#ifdef MEMLEAKSTATS
- location[hash_entry->location].number_of_allocations--;
-#endif
-
-#ifdef MEMSIZESTATS
- mem_size -= hash_entry->size;
- --alloc_cnt;
-#ifdef MEMLEAKSTATS
- location[hash_entry->location].size -= hash_entry->size;
-#endif
-#ifdef DEBUGMODE
- /* Put 0xfefefefe.. in freed memory */
- memset(prefix_ptr, 0xfe, hash_entry->size + SIZEOF_PREFIX);
-#endif /* DEBUGMODE */
-#endif /* MEMSIZESTATS */
-
- free(hash_entry);
- free(prefix_ptr);
-}
-
-#ifdef MEMLEAKSTATS
-void *RunRealloc_memleak(void *memblk_ptr, size_t size,
- int line, const char *filename)
-#else
-void *MyRealloc(void *memblk_ptr, size_t size)
-#endif /* MEMLEAKSTATS */
-{
- prefix_blk_st *ptr;
- prefix_blk_st *prefix_ptr = prefixp(memblk_ptr);
- hash_entry_st *hash_entry, *prev_hash_entry = NULL;
- hash_entry_st **hashtablep;
- unsigned int hash;
-
- if (!memblk_ptr)
-#ifdef MEMLEAKSTATS
- return RunMalloc_memleak(size, line, filename);
-#else
- return MyMalloc(size);
-#endif /* MEMLEAKSTATS */
- if (!size)
- {
- MyFree(memblk_ptr);
- return NULL;
- }
-
- for (hash_entry = hashtable[(hash = MallocHash(prefix_ptr))];
- hash_entry && hash_entry->ptr != prefix_ptr;
- prev_hash_entry = hash_entry, hash_entry = hash_entry->next);
- if (!hash_entry)
- {
- Debug((DEBUG_FATAL, "REALLOCATING NON MALLOC PTR !!!"));
- assert(0 != hash_entry);
- }
-
-#ifdef MEMMAGICNUMS
- if (prefix_ptr->prefix_magicnumber != MAGIC_PREFIX)
- {
- Debug((DEBUG_FATAL, "MAGIC_PREFIX CORRUPT !"));
- assert(MAGIC_PREFIX == prefix_ptr->prefix_magicnumber);
- }
- if (postfixp(memblk_ptr, hash_entry->size)->postfix_magicnumber
- != MAGIC_POSTFIX)
- {
- Debug((DEBUG_FATAL, "MAGIC_POSTFIX CORRUPT !"));
- assert(MAGIC_POSTFIX ==
- postfixp(memblk_ptr, hash_entry->size)->postfix_magicnumber);
- }
-#endif /* MEMMAGICNUMS */
-
-#ifdef HAS_POSTFIX
- size += 3;
- size &= ~3;
-#endif
-
-#ifdef MEMMAGICNUMS
- postfixp(memblkp(prefix_ptr), hash_entry->size)->postfix_magicnumber = 123456;
-#endif
-#ifdef MEMLEAKSTATS
- location[hash_entry->location].number_of_allocations--;
-#ifdef MEMSIZESTATS
- location[hash_entry->location].size -= hash_entry->size;
-#endif /* MEMSIZESTATS */
-#endif /* MEMLEAKSTATS */
-
- if (!(ptr =
- (prefix_blk_st *) realloc(prefix_ptr,
- SIZEOF_PREFIX + size + SIZEOF_POSTFIX)))
- {
- (*noMemHandler)();
- return 0;
- }
-
- if (prev_hash_entry)
- prev_hash_entry->next = hash_entry->next;
- else
- hashtable[hash] = hash_entry->next;
-
- hashtablep = &hashtable[MallocHash(ptr)];
- hash_entry->next = *hashtablep;
- *hashtablep = hash_entry;
- hash_entry->ptr = ptr;
-#ifdef MEMLEAKSTATS
-#ifdef MEMTIMESTATS
- hash_entry->when = CurrentTime;
-#endif
- location[(hash_entry->location =
- find_location(filename, line))].number_of_allocations++;
-#endif /* MEMLEAKSTATS */
-#ifdef MEMSIZESTATS
- mem_size += size - hash_entry->size;
- hash_entry->size = size;
-#ifdef MEMLEAKSTATS
- location[hash_entry->location].size += size;
-#endif
-#endif /* MEMSIZESTATS */
-#ifdef MEMMAGICNUMS
- postfixp(memblkp(ptr), size)->postfix_magicnumber = MAGIC_POSTFIX;
-#endif
-
- Debug((DEBUG_MALLOC, ": MyRealloc(%p, %u) = %p",
- memblk_ptr, size, memblkp(ptr)));
-
- return memblkp(ptr);
-}
-
-#ifdef MEMSIZESTATS
-unsigned int get_alloc_cnt(void)
-{
- return alloc_cnt;
-}
-
-size_t get_mem_size(void)
-{
- return mem_size;
-}
-#endif /* MEMSIZESTATS */
-
-#endif /* !defined(DEBUGMALLOC) */
* any messages from it.
* --Bleep Thomas Helvey <tomh@inxpress.net>
*/
+#include "config.h"
+
#include "s_auth.h"
#include "client.h"
#include "IPcheck.h"
*
* $Id$
*/
+#include "config.h"
+
#include "s_bsd.h"
#include "client.h"
#include "IPcheck.h"
*
* $Id$
*/
-#include "s_conf.h"
+#include "config.h"
+#include "s_conf.h"
#include "IPcheck.h"
#include "class.h"
#include "client.h"
server->next = serverConfList;
serverConfList = server;
- // if (INADDR_NONE == server->address.s_addr)
- // lookup_confhost(server);
+ /* if (INADDR_NONE == server->address.s_addr) */
+ /* lookup_confhost(server); */
}
void conf_add_deny(const char* const* fields, int count, int ip_kill)
* $Id$
*
*/
+#include "config.h"
+
#include "s_debug.h"
#include "channel.h"
#include "class.h"
*
* $Id$
*/
+#include "config.h"
+
#include "numeric.h"
#include "s_debug.h"
#include "sprintf_irc.h"
*
* $Id$
*/
+#include "config.h"
+
#include "s_misc.h"
#include "IPcheck.h"
#include "channel.h"
*
* $Id$
*/
+#include "config.h"
+
#include "s_numeric.h"
#include "channel.h"
#include "client.h"
*
* $Id$
*/
+#include "config.h"
+
#include "s_serv.h"
#include "IPcheck.h"
#include "channel.h"
*
* $Id$
*/
+#include "config.h"
#include "s_stats.h"
#include "class.h"
*
* $Id$
*/
+#include "config.h"
+
#include "s_user.h"
#include "IPcheck.h"
#include "channel.h"
*
* $Id$
*/
+#include "config.h"
+
#include "send.h"
#include "channel.h"
#include "class.h"
*
* $Id$
*/
+#include "config.h"
+
#include "sprintf_irc.h"
#include "sys.h"
#include <stdio.h>
*
* $Id$
*/
+#include "config.h"
+
#include "support.h"
#include "fileio.h"
#include "ircd.h"
* both admins and coders.
*
*/
+#include "config.h"
#include "ircd_chattr.h"
#include <stdlib.h>
*
* $Id$
*/
+#include "config.h"
+
#include "uping.h"
#include "client.h"
#include "ircd.h"
*
* $Id$
*/
+#include "config.h"
+
#include "userload.h"
#include "client.h"
#include "ircd.h"
*
* $Id$
*/
+#include "config.h"
+
#include "whocmds.h"
#include "channel.h"
#include "client.h"
*
* $Id$
*/
+#include "config.h"
+
#include "whowas.h"
#include "client.h"
#include "ircd.h"