mirror of
https://github.com/matrix-construct/construct
synced 2024-12-25 15:04:10 +01:00
Refactor repository layout.
* librb is no longer a separately configured subproject. * charybdis is now a standalone directory with a binary. * Include path layout now requires a directory ircd/ rb/ etc.
This commit is contained in:
parent
007c6bf496
commit
ea53aab823
353 changed files with 3316 additions and 4833 deletions
26
.gitignore
vendored
26
.gitignore
vendored
|
@ -28,31 +28,11 @@ config.status
|
|||
configure
|
||||
stamp-h1
|
||||
libltdl/
|
||||
librb/configure
|
||||
librb/compile
|
||||
librb/depcomp
|
||||
librb/aclocal.m4
|
||||
librb/include/librb_config.h
|
||||
librb/include/librb_config.h.in
|
||||
librb/include/librb-config.h
|
||||
librb/include/serno.h
|
||||
librb/librb.pc
|
||||
librb/ltmain.sh
|
||||
librb/missing
|
||||
librb/libratbox.pc
|
||||
librb/libtool
|
||||
librb/src/version.c
|
||||
librb/src/version.c.last
|
||||
scripts/*.tar.bz2
|
||||
scripts/*.tar.gz
|
||||
include/setup.h
|
||||
include/setup.h.in
|
||||
ircd/charybdis
|
||||
ircd/ircd_parser.c
|
||||
ircd/ircd_parser.h
|
||||
ircd/ircd_lexer.c
|
||||
ircd/version.c
|
||||
ircd/version.c.last
|
||||
ssld/ssld
|
||||
wsockd/wsockd
|
||||
testsuite/ircd.pid.*
|
||||
|
@ -61,10 +41,6 @@ tools/charybdis-mkfingerprint
|
|||
tools/genssl
|
||||
tools/mkpasswd
|
||||
tools/viconf
|
||||
include/serno.h
|
||||
ircd/charybdis
|
||||
ircd/version.c
|
||||
ircd/version.c.last
|
||||
/libtool
|
||||
Makefile.in
|
||||
m4/argz.m4
|
||||
|
@ -76,3 +52,5 @@ m4/ltsugar.m4
|
|||
m4/ltversion.m4
|
||||
m4/lt~obsolete.m4
|
||||
*.dSYM/
|
||||
install-sh
|
||||
ylwrap
|
||||
|
|
59
Makefile.am
59
Makefile.am
|
@ -1,59 +1,34 @@
|
|||
AUTOMAKE_OPTIONS = foreign
|
||||
ACLOCAL_AMFLAGS = -I m4
|
||||
|
||||
SUBDIRS = librb
|
||||
SUBDIRS = rb \
|
||||
ircd
|
||||
|
||||
if BUILD_LTDL
|
||||
SUBDIRS += libltdl
|
||||
SUBDIRS += libltdl
|
||||
endif
|
||||
|
||||
SUBDIRS += ircd \
|
||||
ssld \
|
||||
wsockd \
|
||||
authd \
|
||||
bandb \
|
||||
tools \
|
||||
modules \
|
||||
extensions \
|
||||
help \
|
||||
doc
|
||||
SUBDIRS += tools \
|
||||
help \
|
||||
doc \
|
||||
ssld \
|
||||
wsockd \
|
||||
authd \
|
||||
bandb \
|
||||
modules \
|
||||
extensions \
|
||||
charybdis
|
||||
|
||||
logdir = @prefix@/logs
|
||||
|
||||
BUILT_SOURCES = include/serno.h
|
||||
|
||||
include/serno.h:
|
||||
@if [ -d .git ]; then \
|
||||
revh=`git log -1 --date=format:%Y%m%d --pretty=format:%cd-%h`; \
|
||||
datecode=`git log -1 --pretty=format:%ct`; \
|
||||
if [ -n "$$revh" ]; then \
|
||||
echo '#define SERNO "'$$revh'"' >include/serno.h ; \
|
||||
echo "#define DATECODE $${datecode}UL" >>include/serno.h; \
|
||||
fi \
|
||||
fi
|
||||
@if [ ! -f include/serno.h ]; then \
|
||||
echo '#define SERNO "unknown"' >include/serno.h; \
|
||||
echo '#define DATECODE 0UL' >>include/serno.h; \
|
||||
fi
|
||||
logdir = @prefix@/var/log
|
||||
|
||||
install-data-hook:
|
||||
test -d ${DESTDIR}${logdir} || mkdir -p ${DESTDIR}${logdir}
|
||||
|
||||
install-exec-hook:
|
||||
rm -f ${DESTDIR}${moduledir}/*.la
|
||||
rm -f ${DESTDIR}${moduledir}/autoload/*.la
|
||||
rm -f ${DESTDIR}${moduledir}/extensions/*.la
|
||||
rm -f ${DESTDIR}${moduledir}/*.dll.a
|
||||
rm -f ${DESTDIR}${moduledir}/autoload/*.dll.a
|
||||
rm -f ${DESTDIR}${moduledir}/extensions/*.dll.a
|
||||
|
||||
distclean-local:
|
||||
rm -f librb/include/librb-config.h
|
||||
mrproper:
|
||||
rm -f include/rb/config.h
|
||||
rm -f include/rb/config.h.in
|
||||
|
||||
clean-local:
|
||||
rm -f include/serno.h
|
||||
rm -f ircd/ircd_lexer.c
|
||||
rm -f ircd/ircd_parser.c
|
||||
rm -f ircd/ircd_parser.h
|
||||
rm -f ircd/version.c
|
||||
rm -f ircd/version.c.last
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
pkglibexec_PROGRAMS = authd
|
||||
bin_PROGRAMS = authd
|
||||
AM_CFLAGS=$(WARNFLAGS)
|
||||
AM_CPPFLAGS = -I../include -I../librb/include
|
||||
AM_CPPFLAGS = -I$(top_srcdir)/include
|
||||
|
||||
authd_SOURCES = \
|
||||
authd.c \
|
||||
|
@ -17,4 +17,4 @@ authd_SOURCES = \
|
|||
providers/rdns.c \
|
||||
providers/opm.c
|
||||
|
||||
authd_LDADD = ../librb/src/librb.la
|
||||
authd_LDADD = $(top_srcdir)/rb/librb.la
|
||||
|
|
|
@ -21,12 +21,7 @@
|
|||
#ifndef _AUTHD_H
|
||||
#define _AUTHD_H
|
||||
|
||||
#include "stdinc.h"
|
||||
#include "rb_lib.h"
|
||||
#include "rb_dictionary.h"
|
||||
|
||||
#include "setup.h"
|
||||
#include "ircd_defs.h"
|
||||
#include <ircd/stdinc.h>
|
||||
|
||||
typedef enum exit_reasons
|
||||
{
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
|
||||
#define DNS_REQ_IDLEN 10
|
||||
|
||||
#include "stdinc.h"
|
||||
#include <ircd/stdinc.h>
|
||||
#include "res.h"
|
||||
#include "reslib.h"
|
||||
|
||||
|
|
|
@ -28,9 +28,9 @@
|
|||
*/
|
||||
|
||||
#ifdef _WIN32
|
||||
#include <rb_lib.h>
|
||||
#include <rb/rb.h>
|
||||
#include <ircd/stdinc.h>
|
||||
#include "getaddrinfo.h"
|
||||
#include "stdinc.h"
|
||||
|
||||
static const char in_addrany[] = { 0, 0, 0, 0 };
|
||||
static const char in_loopback[] = { 127, 0, 0, 1 };
|
||||
|
|
|
@ -42,7 +42,7 @@
|
|||
*/
|
||||
|
||||
#ifdef _WIN32
|
||||
#include <rb_lib.h>
|
||||
#include <rb/rb.h>
|
||||
#include "getaddrinfo.h"
|
||||
#include "getnameinfo.h"
|
||||
|
||||
|
|
|
@ -46,9 +46,7 @@
|
|||
* --Elizafox, 9 March 2016
|
||||
*/
|
||||
|
||||
#include "stdinc.h"
|
||||
#include "rb_dictionary.h"
|
||||
#include "rb_lib.h"
|
||||
#include <ircd/stdinc.h>
|
||||
#include "authd.h"
|
||||
#include "provider.h"
|
||||
#include "notice.h"
|
||||
|
|
|
@ -21,9 +21,8 @@
|
|||
#ifndef __CHARYBDIS_AUTHD_PROVIDER_H__
|
||||
#define __CHARYBDIS_AUTHD_PROVIDER_H__
|
||||
|
||||
#include "stdinc.h"
|
||||
#include <ircd/stdinc.h>
|
||||
#include "authd.h"
|
||||
#include "rb_dictionary.h"
|
||||
|
||||
#define MAX_PROVIDERS 32 /* This should be enough */
|
||||
|
||||
|
|
|
@ -38,10 +38,8 @@
|
|||
*/
|
||||
|
||||
#include "authd.h"
|
||||
#include "defaults.h"
|
||||
#include "provider.h"
|
||||
#include "notice.h"
|
||||
#include "stdinc.h"
|
||||
#include "dns.h"
|
||||
|
||||
#define SELF_PID (blacklist_provider.id)
|
||||
|
|
|
@ -24,9 +24,8 @@
|
|||
* --Elizafox 13 March 2016
|
||||
*/
|
||||
|
||||
#include "stdinc.h"
|
||||
#include "defaults.h"
|
||||
#include "match.h"
|
||||
#include <ircd/stdinc.h>
|
||||
#include <ircd/match.h>
|
||||
#include "authd.h"
|
||||
#include "notice.h"
|
||||
#include "provider.h"
|
||||
|
|
|
@ -18,10 +18,7 @@
|
|||
* POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#include "stdinc.h"
|
||||
#include "rb_lib.h"
|
||||
#include "defaults.h"
|
||||
#include "setup.h"
|
||||
#include <ircd/stdinc.h>
|
||||
#include "authd.h"
|
||||
#include "notice.h"
|
||||
#include "provider.h"
|
||||
|
|
|
@ -18,8 +18,7 @@
|
|||
* POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#include "stdinc.h"
|
||||
#include "rb_commio.h"
|
||||
#include <ircd/stdinc.h>
|
||||
#include "authd.h"
|
||||
#include "provider.h"
|
||||
#include "notice.h"
|
||||
|
|
|
@ -32,8 +32,7 @@
|
|||
* January 2016 --kaniini
|
||||
*/
|
||||
|
||||
#include <rb_lib.h>
|
||||
#include "setup.h"
|
||||
#include <rb/rb.h>
|
||||
#include "res.h"
|
||||
#include "reslib.h"
|
||||
|
||||
|
|
|
@ -76,7 +76,7 @@
|
|||
* - Dianora
|
||||
*/
|
||||
|
||||
#include <rb_lib.h>
|
||||
#include <rb/rb.h>
|
||||
|
||||
#ifndef _WIN32
|
||||
|
||||
|
@ -95,13 +95,12 @@ extern const char * get_windows_nameservers(void);
|
|||
typedef struct rb_addrinfo rb_addrinfo;
|
||||
#endif
|
||||
|
||||
#include "stdinc.h"
|
||||
#include "ircd_defs.h"
|
||||
#include "ircd.h"
|
||||
#include <ircd/stdinc.h>
|
||||
#include <ircd/ircd.h>
|
||||
#include <ircd/match.h>
|
||||
#include <ircd/logger.h>
|
||||
#include "res.h"
|
||||
#include "reslib.h"
|
||||
#include "match.h"
|
||||
#include "logger.h"
|
||||
|
||||
#define NS_TYPE_ELT 0x40 /* EDNS0 extended label type */
|
||||
#define DNS_LABELTYPE_BITSTRING 0x41
|
||||
|
|
|
@ -29,8 +29,7 @@
|
|||
*/
|
||||
|
||||
#ifdef _WIN32
|
||||
#include <rb_lib.h>
|
||||
|
||||
#include <rb/rb.h>
|
||||
#include <windows.h>
|
||||
#include <iphlpapi.h>
|
||||
|
||||
|
|
|
@ -81,13 +81,6 @@ parse_options "$@"
|
|||
|
||||
echo "Building librb autotools files."
|
||||
|
||||
cd "$TOP_DIR"/librb
|
||||
sh autogen.sh
|
||||
|
||||
echo "Building main autotools files."
|
||||
|
||||
cd "$LAST_DIR"
|
||||
|
||||
run_or_die $ACLOCAL -I m4
|
||||
run_or_die $LIBTOOLIZE --force --copy
|
||||
run_or_die $AUTOHEADER
|
||||
|
|
|
@ -1,16 +1,15 @@
|
|||
pkglibexec_PROGRAMS = bandb
|
||||
bin_PROGRAMS = bantool
|
||||
bin_PROGRAMS = bandb bantool
|
||||
AM_CFLAGS=$(WARNFLAGS)
|
||||
|
||||
AM_CPPFLAGS = -I../include -I../librb/include @SQLITE_INCLUDES@
|
||||
AM_CPPFLAGS = -I$(top_srcdir)/include @SQLITE_INCLUDES@
|
||||
AM_CPPFLAGS += -DSQLITE_THREADSAFE=0 -DSQLITE_OMIT_LOAD_EXTENSION
|
||||
|
||||
bandb_SOURCES = bandb.c rsdb_sqlite3.c rsdb_snprintf.c
|
||||
EXTRA_bandb_SOURCES = sqlite3.c
|
||||
bandb_LDADD = ../librb/src/librb.la @SQLITE_LD@ @SQLITE_OBJ@
|
||||
bandb_LDADD = $(top_srcdir)/rb/librb.la @SQLITE_LD@ @SQLITE_OBJ@
|
||||
bandb_DEPENDENCIES = @SQLITE_OBJ@
|
||||
|
||||
bantool_SOURCES = bantool.c rsdb_sqlite3.c rsdb_snprintf.c
|
||||
EXTRA_bantool_SOURCES = sqlite3.c
|
||||
bantool_LDADD = ../librb/src/librb.la @SQLITE_LD@ @SQLITE_OBJ@
|
||||
bantool_LDADD = $(top_srcdir)/rb/librb.la @SQLITE_LD@ @SQLITE_OBJ@
|
||||
bantool_DEPENDENCIES = @SQLITE_OBJ@
|
||||
|
|
|
@ -27,11 +27,9 @@
|
|||
* IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||
* POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
#include "setup.h"
|
||||
#include <rb_lib.h>
|
||||
#include <stdio.h>
|
||||
#include <rb/rb.h>
|
||||
#include "rsdb.h"
|
||||
#include "ircd_defs.h"
|
||||
#include <ircd/ircd_defs.h>
|
||||
|
||||
|
||||
#define MAXPARA 10
|
||||
|
|
|
@ -39,7 +39,7 @@
|
|||
#include <stdlib.h>
|
||||
#include <time.h>
|
||||
|
||||
#include "stdinc.h"
|
||||
#include <ircd/stdinc.h>
|
||||
#include "rsdb.h"
|
||||
|
||||
#define EmptyString(x) ((x == NULL) || (*(x) == '\0'))
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
* do so under the terms of the GNU General Public License under which
|
||||
* this library is distributed.
|
||||
*/
|
||||
#include "stdinc.h"
|
||||
#include <ircd/stdinc.h>
|
||||
#include "rsdb.h"
|
||||
|
||||
/*
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
* IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||
* POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
#include "stdinc.h"
|
||||
#include <ircd/stdinc.h>
|
||||
#include "rsdb.h"
|
||||
|
||||
#include <sqlite3.h>
|
||||
|
|
1
charybdis/.gitignore
vendored
Normal file
1
charybdis/.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
charybdis
|
12
charybdis/Makefile.am
Normal file
12
charybdis/Makefile.am
Normal file
|
@ -0,0 +1,12 @@
|
|||
prefix = @prefix@
|
||||
AM_CPPFLAGS = @LTDLINCL@ -I$(top_srcdir)/include
|
||||
|
||||
if MINGW
|
||||
EXTRA_FLAGS = -Wl,--enable-runtime-pseudo-reloc -export-symbols-regex '*'
|
||||
endif
|
||||
|
||||
bin_PROGRAMS = charybdis
|
||||
charybdis_SOURCES = charybdis.cc
|
||||
charybdis_LDFLAGS = $(EXTRA_FLAGS) -dlopen self
|
||||
charybdis_LDADD = -L$(top_srcdir)/ircd -lircd
|
||||
charybdis_LDADD += -L$(top_srcdir)/rb -lrb
|
30
charybdis/charybdis.cc
Normal file
30
charybdis/charybdis.cc
Normal file
|
@ -0,0 +1,30 @@
|
|||
/*
|
||||
* Copyright (C) 2016 Charybdis Development Team
|
||||
*
|
||||
* Permission to use, copy, modify, and/or distribute this software for any
|
||||
* purpose with or without fee is hereby granted, provided that the above
|
||||
* copyright notice and this permission notice is present in all copies.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
|
||||
* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
||||
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
* DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT,
|
||||
* INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
||||
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
|
||||
* STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
|
||||
* IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||
* POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
*/
|
||||
|
||||
#include <rb/rb.h>
|
||||
|
||||
|
||||
extern "C" int charybdis_main(int argc, char *argv[]);
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
return charybdis_main(argc, argv);
|
||||
}
|
701
configure.ac
701
configure.ac
|
@ -2,38 +2,623 @@ dnl TODO: clean up all the OpenSSL and shared module checking stuff;
|
|||
dnl the most major changes have already been made and it looks like
|
||||
dnl said functions need to be just about as complex as they already are.
|
||||
|
||||
AC_PREREQ(2.60)
|
||||
AC_PREREQ(2.63)
|
||||
AUTOMAKE_OPTIONS = 1.10
|
||||
|
||||
AC_INIT([charybdis], [5-dev])
|
||||
AC_CONFIG_MACRO_DIR([m4])
|
||||
AC_CONFIG_HEADER(include/rb/config.h)
|
||||
AC_PREFIX_DEFAULT($HOME/ircd)
|
||||
|
||||
AC_LANG(C)
|
||||
AC_USE_SYSTEM_EXTENSIONS
|
||||
AC_LANG(C++)
|
||||
AC_GNU_SOURCE
|
||||
|
||||
AC_PROG_CC_C99
|
||||
if test x"$ac_cv_prog_cc_c99" = "xno"; then
|
||||
AC_ERROR([charybdis requires a C99 capable compiler])
|
||||
fi
|
||||
AC_USE_SYSTEM_EXTENSIONS
|
||||
AX_CXX_COMPILE_STDCXX_14([ext], [mandatory])
|
||||
AC_ISC_POSIX
|
||||
AC_C_INLINE
|
||||
AC_C_CONST
|
||||
AC_C_BIGENDIAN
|
||||
AC_TYPE_PID_T
|
||||
AC_TYPE_SIZE_T
|
||||
AC_TYPE_SSIZE_T
|
||||
AC_TYPE_UID_T
|
||||
|
||||
AC_PROG_CXX
|
||||
AX_CXX_COMPILE_STDCXX_14([ext], [mandatory])
|
||||
AC_PROG_MAKE_SET
|
||||
AC_PROG_LIBTOOL
|
||||
AC_PATH_PROG(AUTOMAKE, automake)
|
||||
AC_PATH_PROG(ACLOCAL, aclocal)
|
||||
AC_PATH_PROG(AUTOHEADER, autoheader)
|
||||
AC_PATH_PROG(AS, as)
|
||||
AC_PATH_PROG(RM, rm)
|
||||
AC_PATH_PROG(CP, cp)
|
||||
AC_PATH_PROG(MV, mv)
|
||||
AC_PATH_PROG(LN, ln)
|
||||
AC_PATH_PROG(TOUCH, touch)
|
||||
|
||||
AC_PREFIX_DEFAULT($HOME/ircd)
|
||||
AC_CONFIG_MACRO_DIR([m4])
|
||||
AC_CONFIG_HEADER(include/setup.h)
|
||||
LT_CONFIG_LTDL_DIR([libltdl])
|
||||
LT_INIT([dlopen disable-static])
|
||||
LTDL_INIT
|
||||
#LIBTOOL="$LIBTOOL --silent"
|
||||
|
||||
AC_CONFIG_SUBDIRS([librb])
|
||||
AC_CONFIG_AUX_DIR([libltdl/config])
|
||||
AC_CONFIG_FILES(\
|
||||
Makefile \
|
||||
authd/Makefile \
|
||||
bandb/Makefile \
|
||||
charybdis/Makefile \
|
||||
doc/Makefile \
|
||||
extensions/Makefile \
|
||||
help/Makefile \
|
||||
ircd/Makefile \
|
||||
modules/Makefile \
|
||||
rb/Makefile \
|
||||
ssld/Makefile \
|
||||
tools/Makefile \
|
||||
tools/genssl \
|
||||
wsockd/Makefile \
|
||||
)
|
||||
|
||||
AM_INIT_AUTOMAKE([subdir-objects])
|
||||
AM_SILENT_RULES([yes])
|
||||
AM_PROG_AR
|
||||
AM_EXTRA_RECURSIVE_TARGETS([mrproper])
|
||||
|
||||
VERSION_CMD="git describe --tags"
|
||||
DATESTR_CMD="date -R"
|
||||
DATECODE_CMD="date +%s"
|
||||
|
||||
RB_VERSION=`$VERSION_CMD`
|
||||
RB_DATESTR=`$DATESTR_CMD`
|
||||
RB_DATECODE=`$DATECODE_CMD`
|
||||
|
||||
AC_DEFINE_UNQUOTED([RB_VERSION], ["$RB_VERSION"], [Version generated at configuration time.])
|
||||
AC_DEFINE_UNQUOTED([RB_DATESTR], ["$RB_DATESTR"], [Readable date string of configuration time.])
|
||||
AC_DEFINE_UNQUOTED([RB_DATECODE], [$RB_DATECODE], [UNIX epoch time at configuration time.])
|
||||
|
||||
AC_DEFINE([NICKNAMEHISTORYLENGTH], 15000, [Size of the WHOWAS array.])
|
||||
AC_DEFINE([CHANNEL_HEAP_SIZE], 8192, [Size of the channel heap.])
|
||||
AC_DEFINE([BAN_HEAP_SIZE], 4096, [Size of the ban heap.])
|
||||
AC_DEFINE([CLIENT_HEAP_SIZE], 8192, [Size of the client heap.])
|
||||
AC_DEFINE([LCLIENT_HEAP_SIZE], 1024, [Size of the local client heap.])
|
||||
AC_DEFINE([PCLIENT_HEAP_SIZE], 256, [Size of the pre-client heap.])
|
||||
AC_DEFINE([USER_HEAP_SIZE], 8192, [Size of the user heap.])
|
||||
AC_DEFINE([DNODE_HEAP_SIZE], 8192, [Size of the dlink_node heap.])
|
||||
AC_DEFINE([TOPIC_HEAP_SIZE], 4096, [Size of the topic heap.])
|
||||
AC_DEFINE([LINEBUF_HEAP_SIZE], 2048, [Size of the linebuf heap.])
|
||||
AC_DEFINE([MEMBER_HEAP_SIZE], 32768, [Sizeof member heap.])
|
||||
AC_DEFINE([ND_HEAP_SIZE], 512, [Size of the nick delay heap.])
|
||||
AC_DEFINE([CONFITEM_HEAP_SIZE], 256, [Size of the confitem heap.])
|
||||
AC_DEFINE([MONITOR_HEAP_SIZE], 1024, [Size of the monitor heap.])
|
||||
AC_DEFINE([FD_HEAP_SIZE], 1024, [Size of fd heap.])
|
||||
AC_DEFINE([AWAY_HEAP_SIZE], 512, [Size of away heap.])
|
||||
|
||||
dnl Checks for header files.
|
||||
AC_DEFUN([RB_CHK_SYSHEADER], \
|
||||
[
|
||||
AC_CHECK_HEADER([$1], \
|
||||
[
|
||||
AC_DEFINE([HAVE_$2], [1], [ Indication $1 is available. ])
|
||||
AC_DEFINE_UNQUOTED([RB_INC_$2], [$1>], [ The computed-include location of $1. ])
|
||||
],[
|
||||
AC_DEFINE_UNQUOTED([RB_INC_$2], [/dev/null>], [ The computed-include location of $1. ])
|
||||
])
|
||||
])
|
||||
|
||||
RB_CHK_SYSHEADER([errno.h])
|
||||
#RB_CHK_SYSHEADER([errno.h], [ERRNO_H])
|
||||
RB_CHK_SYSHEADER([assert.h], [ASSERT_H])
|
||||
RB_CHK_SYSHEADER([stddef.h], [STDDEF_H])
|
||||
RB_CHK_SYSHEADER([stdarg.h], [STDARG_H])
|
||||
RB_CHK_SYSHEADER([stdint.h], [STDINT_H])
|
||||
RB_CHK_SYSHEADER([inttypes.h], [INTTYPES_H])
|
||||
RB_CHK_SYSHEADER([ctype.h], [CTYPE_H])
|
||||
RB_CHK_SYSHEADER([limits.h], [LIMITS_H])
|
||||
RB_CHK_SYSHEADER([stdlib.h], [STDLIB_H])
|
||||
RB_CHK_SYSHEADER([unistd.h], [UNISTD_H])
|
||||
RB_CHK_SYSHEADER([time.h], [TIME_H])
|
||||
RB_CHK_SYSHEADER([fcntl.h], [FCNTL_H])
|
||||
RB_CHK_SYSHEADER([signal.h], [SIGNAL_H])
|
||||
RB_CHK_SYSHEADER([sys/types.h], [SYS_TYPES_H])
|
||||
RB_CHK_SYSHEADER([sys/time.h], [SYS_TIME_H])
|
||||
RB_CHK_SYSHEADER([sys/stat.h], [SYS_STAT_H])
|
||||
RB_CHK_SYSHEADER([sys/socket.h], [SYS_SOCKET_H])
|
||||
RB_CHK_SYSHEADER([arpa/inet.h], [ARPA_INET_H])
|
||||
RB_CHK_SYSHEADER([netinet/in.h], [NETINET_IN_H])
|
||||
RB_CHK_SYSHEADER([netinet/tcp.h], [NETINET_TCP_H])
|
||||
RB_CHK_SYSHEADER([string.h], [STRING_H])
|
||||
RB_CHK_SYSHEADER([stdio.h], [STDIO_H])
|
||||
RB_CHK_SYSHEADER([crypt.h], [CRYPT_H])
|
||||
RB_CHK_SYSHEADER([sys/uio.h], [SYS_UIO_H])
|
||||
RB_CHK_SYSHEADER([spawn.h], [SPAWN_H])
|
||||
RB_CHK_SYSHEADER([sys/poll.h], [SYS_POLL_H])
|
||||
RB_CHK_SYSHEADER([sys/epoll.h], [SYS_EPOLL_H])
|
||||
RB_CHK_SYSHEADER([sys/select.h], [SYS_SELECT_H])
|
||||
RB_CHK_SYSHEADER([sys/devpoll.h], [SYS_DEVPOLL_H])
|
||||
RB_CHK_SYSHEADER([sys/event.h], [SYS_EVENT_H])
|
||||
RB_CHK_SYSHEADER([port.h], [PORT_H])
|
||||
RB_CHK_SYSHEADER([sys/signalfd.h], [SYS_SIGNALFD_H])
|
||||
RB_CHK_SYSHEADER([sys/timerfd.h], [SYS_TIMERFD_H])
|
||||
RB_CHK_SYSHEADER([execinfo.h], [EXECINFO_H])
|
||||
RB_CHK_SYSHEADER([windows.h], [WINDOWS_H])
|
||||
RB_CHK_SYSHEADER([winsock2.h], [WINSOCK2_H])
|
||||
RB_CHK_SYSHEADER([ws2tcpip.h], [WS2TCPIP_H])
|
||||
RB_CHK_SYSHEADER([iphlpapi.h], [IPHLPAPI_H])
|
||||
|
||||
|
||||
CFLAGS="$IRC_CFLAGS $CFLAGS"
|
||||
|
||||
case "$host_os" in
|
||||
*cygwin*)
|
||||
AC_DEFINE_UNQUOTED(CYGWIN,1,[This is a Cygwin system])
|
||||
AC_DEFINE_UNQUOTED(WINDOWS,1,[This is a Windows system])
|
||||
;;
|
||||
*mingw* | *msys*)
|
||||
AC_DEFINE_UNQUOTED(MINGW,1,[This is a MinGW system])
|
||||
AC_DEFINE_UNQUOTED(WINDOWS,1,[This is a Windows system])
|
||||
AC_CHECK_HEADER(windows.h, , [AC_MSG_ERROR([** MinGW and no windows.h. I give up.])])
|
||||
AC_CHECK_HEADER(winsock2.h, , [AC_MSG_ERROR([** MinGW and no winsock2.h. I give up.])])
|
||||
AC_DEFINE_UNQUOTED(HAVE_WINSOCK2_H, 1, [Have WINSOCK2_H])
|
||||
AC_DEFINE_UNQUOTED(HAVE_WINSOCK_H, 1, [Have WINSOCK_H])
|
||||
LIBS="$LIBS -lws2_32 -liphlpapi"
|
||||
is_mingw="yes"
|
||||
;;
|
||||
*interix*)
|
||||
CPPFLAGS="$CFLAGS -D_ALL_SOURCE -D_XOPEN_SOURCE=500"
|
||||
;;
|
||||
*solaris*)
|
||||
CPPFLAGS="$CFLAGS -D_POSIX_PTHREAD_SEMANTICS -D_XPG4_2"
|
||||
;;
|
||||
*)
|
||||
;;
|
||||
esac
|
||||
|
||||
AM_CONDITIONAL([MINGW], [test "$is_mingw" = "yes"])
|
||||
|
||||
|
||||
dnl use directory structure of cached as default (hack)
|
||||
if test "$libexecdir" = '${exec_prefix}/libexec' &&
|
||||
test "$localstatedir" = '${prefix}/var'; then
|
||||
libexecdir='${bindir}'
|
||||
localstatedir='${prefix}'
|
||||
fi
|
||||
|
||||
|
||||
dnl Networking Functions
|
||||
dnl ====================
|
||||
|
||||
AC_SEARCH_LIBS(socket, [socket],,)
|
||||
|
||||
|
||||
AC_CHECK_MEMBER([struct sockaddr.sa_len], [AC_DEFINE(SOCKADDR_IN_HAS_LEN, 1, [Define to 1 if sockaddr has a 'sa_len' member.])],,[[
|
||||
#ifdef HAVE_SYS_TYPES_H
|
||||
#include <sys/types.h>
|
||||
#endif
|
||||
#ifdef HAVE_SYS_SOCKET_H
|
||||
#include <sys/socket.h>
|
||||
#endif
|
||||
#ifdef HAVE_WINSOCK2_H
|
||||
#include <winsock2.h>
|
||||
#endif
|
||||
]])
|
||||
|
||||
AC_CHECK_TYPE([socklen_t], rb_cv_socklen_t=socklen_t,[
|
||||
AC_MSG_CHECKING([for socklen_t equivalent])
|
||||
AC_CACHE_VAL([rb_cv_socklen_t],
|
||||
[
|
||||
# Systems have either "struct sockaddr *" or
|
||||
# "void *" as the second argument to getpeername
|
||||
rb_cv_socklen_t=
|
||||
for arg2 in "struct sockaddr" void; do
|
||||
for t in int size_t unsigned long "unsigned long"; do
|
||||
AC_TRY_COMPILE([
|
||||
#ifdef HAVE_SYS_TYPES_H
|
||||
#include <sys/types.h>
|
||||
#endif
|
||||
#ifdef HAVE_SYS_SOCKET_H
|
||||
#include <sys/socket.h>
|
||||
#endif
|
||||
#ifdef HAVE_WINSOCK2_H
|
||||
#include <winsock2.h>
|
||||
#include <ws2tcpip.h>
|
||||
#endif
|
||||
int getpeername (int, $arg2 *, $t *);
|
||||
],[
|
||||
$t len;
|
||||
getpeername(0,0,&len);
|
||||
],[
|
||||
rb_cv_socklen_t="$t"
|
||||
break
|
||||
])
|
||||
done
|
||||
done
|
||||
|
||||
if test "x$rb_cv_socklen_t" = x; then
|
||||
AC_MSG_WARN([Cannot find a type to use in place of socklen_t using int])
|
||||
rb_cv_socklen_t=int
|
||||
fi
|
||||
])
|
||||
AC_MSG_RESULT($rb_cv_socklen_t)],
|
||||
[#include <sys/types.h>
|
||||
#include <sys/socket.h>])
|
||||
|
||||
rb_socklen_t=$rb_cv_socklen_t
|
||||
|
||||
|
||||
|
||||
AC_ARG_ENABLE(ipv6, AC_HELP_STRING([--disable-ipv6], [Disable IPv6 support]), [ipv6=$enableval], [ipv6=yes])
|
||||
|
||||
dnl TODO: IPV6 CHECKS
|
||||
|
||||
if test x$ipv6 = "Xyes"; then
|
||||
AC_DEFINE([HAVE_IPV6], [1], [IPv6 is supported])
|
||||
else
|
||||
AC_DEFINE([HAVE_IPV6], [0], [IPv6 not supported])
|
||||
fi
|
||||
|
||||
|
||||
AC_CHECK_TYPES([struct sockaddr_storage],[
|
||||
rb_have_sockaddr_storage=yes
|
||||
],[], [
|
||||
#include <sys/types.h>
|
||||
#include <sys/socket.h>
|
||||
])
|
||||
|
||||
|
||||
dnl Check for stdarg.h - if we cant find it, halt configure
|
||||
AC_CHECK_HEADER(stdarg.h, , [AC_MSG_ERROR([** stdarg.h could not be found - librb will not compile without it **])])
|
||||
|
||||
AC_CHECK_TYPE([sa_family_t], [],
|
||||
[AC_DEFINE(sa_family_t, [u_int16_t], [If system does not define sa_family_t, define it here.])],
|
||||
[[#include <sys/types.h>
|
||||
#include <sys/socket.h>]])
|
||||
|
||||
|
||||
dnl check for various functions...
|
||||
AC_CHECK_FUNCS([snprintf vsnprintf socketpair gettimeofday writev sendmsg gmtime_r strtok_r usleep posix_spawn getexecname strlcpy strlcat strnlen strcasestr strcasecmp strncasecmp fstat signalfd select poll kevent port_create epoll_ctl arc4random getrusage timerfd_create])
|
||||
|
||||
AC_SEARCH_LIBS(dlinfo, dl, AC_DEFINE(HAVE_DLINFO, 1, [Define if you have dlinfo]))
|
||||
AC_SEARCH_LIBS(nanosleep, rt posix4, AC_DEFINE(HAVE_NANOSLEEP, 1, [Define if you have nanosleep]))
|
||||
AC_SEARCH_LIBS(timer_create, rt, AC_DEFINE(HAVE_TIMER_CREATE, 1, [Define if you have timer_create]))
|
||||
|
||||
AC_DEFUN([RB_CHECK_TIMER_CREATE],
|
||||
[AC_CACHE_CHECK([for a working timer_create(CLOCK_REALTIME)],
|
||||
[rb__cv_timer_create_works],
|
||||
[AC_TRY_RUN([
|
||||
#ifdef HAVE_TIME_H
|
||||
#include <time.h>
|
||||
#endif
|
||||
#ifdef HAVE_SIGNAL_H
|
||||
#include <signal.h>
|
||||
#endif
|
||||
#ifdef HAVE_UNISTD_H
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
#if HAVE_TIMER_CREATE
|
||||
struct sigevent ev;
|
||||
timer_t timer;
|
||||
ev.sigev_notify = SIGEV_SIGNAL;
|
||||
ev.sigev_signo = SIGVTALRM;
|
||||
if (timer_create(CLOCK_REALTIME, &ev, &timer) != 0) {
|
||||
return 1;
|
||||
}
|
||||
#else
|
||||
return 1;
|
||||
#endif
|
||||
return 0;
|
||||
}
|
||||
],
|
||||
[rb__cv_timer_create_works=yes],
|
||||
[rb__cv_timer_create_works=no],
|
||||
[rb__cv_timer_create_works=no])
|
||||
])
|
||||
case $rb__cv_timer_create_works in
|
||||
yes) AC_DEFINE([USE_TIMER_CREATE], 1,
|
||||
[Define to 1 if we can use timer_create(CLOCK_REALTIME,...)]);;
|
||||
esac
|
||||
])
|
||||
|
||||
|
||||
|
||||
AC_DEFUN([RB_CHECK_TIMERFD_CREATE],
|
||||
[AC_CACHE_CHECK([for a working timerfd_create(CLOCK_REALTIME)],
|
||||
[rb__cv_timerfd_create_works],
|
||||
[AC_TRY_RUN([
|
||||
#ifdef HAVE_TIME_H
|
||||
#include <time.h>
|
||||
#endif
|
||||
#ifdef HAVE_SIGNAL_H
|
||||
#include <signal.h>
|
||||
#endif
|
||||
#ifdef HAVE_UNISTD_H
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
#ifdef HAVE_SYS_TIMERFD_H
|
||||
#include <sys/timerfd.h>
|
||||
#endif
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
#if defined(HAVE_TIMERFD_CREATE) && defined(HAVE_SYS_TIMERFD_H)
|
||||
if (timerfd_create(CLOCK_REALTIME, 0) < 0) {
|
||||
return 1;
|
||||
}
|
||||
#else
|
||||
return 1;
|
||||
#endif
|
||||
return 0;
|
||||
}
|
||||
],
|
||||
[rb__cv_timerfd_create_works=yes],
|
||||
[rb__cv_timerfd_create_works=no],
|
||||
[rb__cv_timerfd_create_works=no])
|
||||
])
|
||||
case $rb__cv_timerfd_create_works in
|
||||
yes) AC_DEFINE([USE_TIMERFD_CREATE], 1,
|
||||
[Define to 1 if we can use timerfd_create(CLOCK_REALTIME,...)]);;
|
||||
esac
|
||||
])
|
||||
|
||||
RB_CHECK_TIMER_CREATE
|
||||
RB_CHECK_TIMERFD_CREATE
|
||||
|
||||
AC_FUNC_ALLOCA
|
||||
AC_FUNC_VFORK
|
||||
AC_FUNC_MMAP
|
||||
|
||||
AC_MSG_CHECKING(for /dev/poll)
|
||||
if test -c "/dev/poll"; then
|
||||
AC_MSG_RESULT(yes)
|
||||
AC_DEFINE(HAVE_DEVPOLL, [1], [Define to 1 if you have devpoll])
|
||||
else
|
||||
AC_MSG_RESULT(no)
|
||||
fi
|
||||
|
||||
|
||||
if test "$is_mingw" = "yes"; then
|
||||
AC_DEFINE(HAVE_WIN32, [1], [Define to 1 if you are on windows])
|
||||
fi
|
||||
|
||||
dnl OpenSSL support
|
||||
AC_MSG_CHECKING(for OpenSSL)
|
||||
AC_ARG_ENABLE(openssl,
|
||||
[AC_HELP_STRING([--enable-openssl[=DIR]],[Enable OpenSSL support (DIR optional).])
|
||||
AC_HELP_STRING([--disable-openssl],[Disable OpenSSL support.])],
|
||||
[cf_enable_openssl=$enableval],
|
||||
[cf_enable_openssl="auto"])
|
||||
|
||||
if test "$cf_enable_openssl" != "no" ; then
|
||||
cf_openssl_basedir=""
|
||||
if test "$cf_enable_openssl" != "auto" &&
|
||||
test "$cf_enable_openssl" != "yes" ; then
|
||||
dnl Support for --enable-openssl=/some/place
|
||||
cf_openssl_basedir="`echo ${cf_enable_openssl} | sed 's/\/$//'`"
|
||||
else
|
||||
dnl Do the auto-probe here. Check some common directory paths.
|
||||
for dirs in /usr/local/ssl /usr/pkg /usr/local \
|
||||
/usr/local/openssl ; do
|
||||
if test -f "${dirs}/include/openssl/opensslv.h" ; then
|
||||
cf_openssl_basedir="${dirs}"
|
||||
break
|
||||
fi
|
||||
done
|
||||
unset dirs
|
||||
fi
|
||||
dnl Now check cf_openssl_found to see if we found anything.
|
||||
if test ! -z "$cf_openssl_basedir"; then
|
||||
if test -f "${cf_openssl_basedir}/include/openssl/opensslv.h" ; then
|
||||
SSL_CFLAGS="-I${cf_openssl_basedir}/include"
|
||||
SSL_LIBS="-L${cf_openssl_basedir}/lib"
|
||||
else
|
||||
dnl OpenSSL wasn't found in the directory specified. Naughty
|
||||
dnl administrator...
|
||||
cf_openssl_basedir=""
|
||||
fi
|
||||
else
|
||||
dnl Check for stock FreeBSD 4.x and 5.x systems, since their files
|
||||
dnl are in /usr/include and /usr/lib. In this case, we don't want to
|
||||
dnl change INCLUDES or LIBS, but still want to enable OpenSSL.
|
||||
dnl We can't do this check above, because some people want two versions
|
||||
dnl of OpenSSL installed (stock FreeBSD 4.x/5.x and /usr/local/ssl)
|
||||
dnl and they want /usr/local/ssl to have preference.
|
||||
if test -f "/usr/include/openssl/opensslv.h" ; then
|
||||
cf_openssl_basedir="/usr"
|
||||
fi
|
||||
fi
|
||||
|
||||
dnl If we have a basedir defined, then everything is okay. Otherwise,
|
||||
dnl we have a problem.
|
||||
if test ! -z "$cf_openssl_basedir"; then
|
||||
AC_MSG_RESULT($cf_openssl_basedir)
|
||||
cf_enable_openssl="yes"
|
||||
else
|
||||
AC_MSG_RESULT([not found. Specify a correct path?])
|
||||
cf_enable_openssl="no"
|
||||
fi
|
||||
unset cf_openssl_basedir
|
||||
else
|
||||
dnl If --disable-openssl was specified
|
||||
AC_MSG_RESULT(disabled)
|
||||
fi
|
||||
|
||||
save_CPPFLAGS="$CPPFLAGS"
|
||||
CPPFLAGS="$CPPFLAGS $SSL_CFLAGS"
|
||||
save_LIBS="$LIBS"
|
||||
LIBS="$LIBS $SSL_LIBS"
|
||||
if test "$cf_enable_openssl" != no; then
|
||||
dnl Check OpenSSL version (must be 0.9.7 or above!)
|
||||
AC_MSG_CHECKING(for OpenSSL 0.9.7 or above)
|
||||
AC_RUN_IFELSE(
|
||||
[AC_LANG_PROGRAM(
|
||||
[#include <openssl/opensslv.h>
|
||||
#include <stdlib.h>],
|
||||
[[if (OPENSSL_VERSION_NUMBER >= 0x00907000)
|
||||
exit(0); else exit(1);]])],
|
||||
cf_enable_openssl=yes,
|
||||
cf_enable_openssl=no,
|
||||
cf_enable_openssl=no)
|
||||
|
||||
if test "$cf_enable_openssl" != no; then
|
||||
AC_MSG_RESULT(found)
|
||||
else
|
||||
AC_MSG_RESULT(no - OpenSSL support disabled)
|
||||
fi
|
||||
|
||||
fi
|
||||
|
||||
|
||||
if test "$cf_enable_openssl" != no; then
|
||||
CPPFLAGS="$CPPFLAGS $SSL_LIBS"
|
||||
AC_CHECK_LIB(crypto, RAND_status,
|
||||
[cf_enable_openssl=yes],
|
||||
[cf_enable_openssl=no])
|
||||
fi
|
||||
|
||||
if test "$cf_enable_openssl" != no; then
|
||||
CPPFLAGS="$CPPFLAGS $SSL_LIBS"
|
||||
AC_CHECK_LIB(ssl, SSL_read,
|
||||
[SSL_LIBS="$SSL_LIBS -lssl -lcrypto"],
|
||||
[cf_enable_openssl=no], [-lcrypto])
|
||||
fi
|
||||
|
||||
|
||||
dnl mbedTLS support
|
||||
AC_ARG_ENABLE(mbedtls,
|
||||
[AC_HELP_STRING([--enable-mbedtls], [Enable mbedTLS support.])
|
||||
AC_HELP_STRING([--disable-mbedtls], [Disable mbedTLS support.])],
|
||||
[cf_enable_mbedtls=$enableval],
|
||||
[cf_enable_mbedtls="auto"])
|
||||
|
||||
if test "$cf_enable_mbedtls" != no; then
|
||||
save_CPPFLAGS="$CPPFLAGS"
|
||||
save_LIBS="$LIBS"
|
||||
LIBS="$LIBS $MBEDTLS_LIBS"
|
||||
AC_CHECK_LIB(mbedtls, mbedtls_ssl_init, [
|
||||
MBEDTLS_LIBS="$MBEDTLS_LIBS -lmbedtls -lmbedx509 -lmbedcrypto"
|
||||
cf_enable_mbedtls=yes
|
||||
], [cf_enable_mbedtls=no], [-lmbedx509 -lmbedcrypto])
|
||||
fi
|
||||
|
||||
dnl GnuTLS support
|
||||
AC_MSG_CHECKING(for GnuTLS)
|
||||
AC_ARG_ENABLE(gnutls,
|
||||
[AC_HELP_STRING([--enable-gnutls],[Enable GnuTLS support.])
|
||||
AC_HELP_STRING([--disable-gnutls],[Disable GnuTLS support.])],
|
||||
[cf_enable_gnutls=$enableval],
|
||||
[cf_enable_gnutls="auto"])
|
||||
|
||||
if test "$cf_enable_gnutls" != no; then
|
||||
PKG_CHECK_MODULES(GNUTLS, [gnutls], [
|
||||
cf_enable_gnutls="yes"
|
||||
], [cf_enable_gnutls="no"])
|
||||
fi
|
||||
|
||||
dnl mbed TLS is given highest preference when no specified TLS library is provided
|
||||
if test "$cf_enable_openssl" = "auto" -a "$cf_enable_mbedtls" = "yes"; then
|
||||
cf_enable_openssl="no"
|
||||
fi
|
||||
|
||||
if test "$cf_enable_gnutls" = "auto" -a "$cf_enable_openssl" = "yes" -a "$cf_enable_mbedtls" = "yes"; then
|
||||
cf_enable_gnutls="no"
|
||||
fi
|
||||
|
||||
if test x"$cf_enable_openssl" != xno; then
|
||||
AC_DEFINE(HAVE_OPENSSL,1,[Has OpenSSL])
|
||||
GNUTLS_CFLAGS=""
|
||||
GNUTLS_LIBS=""
|
||||
MBEDTLS_LIBS=""
|
||||
MBEDTLS_CFLAGS=""
|
||||
SSL_TYPE="openssl"
|
||||
elif test x"$cf_enable_mbedtls" != xno; then
|
||||
AC_DEFINE(HAVE_MBEDTLS, 1, [Has mbedTLS])
|
||||
SSL_LIBS=""
|
||||
SSL_CFLAGS=""
|
||||
GNUTLS_CFLAGS=""
|
||||
GNUTLS_LIBS=""
|
||||
SSL_TYPE="mbedtls"
|
||||
elif test x"$cf_enable_gnutls" != xno; then
|
||||
AC_DEFINE(HAVE_GNUTLS, 1, [Has GnuTLS])
|
||||
SSL_LIBS=""
|
||||
SSL_CFLAGS=""
|
||||
MBEDTLS_LIBS=""
|
||||
MBEDTLS_CFLAGS=""
|
||||
SSL_TYPE="gnutls"
|
||||
fi
|
||||
|
||||
|
||||
|
||||
|
||||
CPPFLAGS="$save_CPPFLAGS"
|
||||
LIBS="$save_LIBS"
|
||||
|
||||
dnl End OpenSSL detection
|
||||
|
||||
|
||||
|
||||
|
||||
dnl Debug-related options
|
||||
dnl =====================
|
||||
|
||||
AC_ARG_ENABLE(assert,
|
||||
AC_HELP_STRING([--enable-assert],[Enable assert(). Choose between soft(warnings) and hard(aborts the daemon)]),
|
||||
[assert=$enableval], [assert=no])
|
||||
|
||||
if test "$assert" = no; then
|
||||
AC_DEFINE(NDEBUG, 1, [Define this to disable debugging support.])
|
||||
elif test "$assert" = soft; then
|
||||
AC_DEFINE(SOFT_ASSERT, 1, [Define this to enable soft asserts.])
|
||||
AC_DEFINE(NDEBUG, 1, [Define this to disable debugging support.])
|
||||
elif test "$assert" = yes; then
|
||||
assert = "hard";
|
||||
fi
|
||||
|
||||
AC_MSG_CHECKING(if you want to do a profile build)
|
||||
AC_ARG_ENABLE(profile,
|
||||
AC_HELP_STRING([--enable-profile],[Enable profiling]),
|
||||
[profile=$enableval], [profile=no])
|
||||
|
||||
if test "$profile" = yes; then
|
||||
if test "$ac_cv_c_compiler_gnu" = yes; then
|
||||
CFLAGS="$CFLAGS -pg -static"
|
||||
AC_MSG_RESULT([yes, adding -pg -static])
|
||||
AC_DEFINE(RB_PROFILE, 1, [Defined to mark profiling is enabled])
|
||||
else
|
||||
AC_MSG_RESULT([no, profile builds only work with gcc])
|
||||
fi
|
||||
else
|
||||
AC_MSG_RESULT(no)
|
||||
fi
|
||||
|
||||
AC_ARG_ENABLE(warnings,
|
||||
AC_HELP_STRING([--enable-warnings],[Enable all sorts of warnings for debugging.]),
|
||||
[CFLAGS="$CFLAGS -Wall -Wcast-qual -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wshadow -Wwrite-strings -W -Wno-unused -Wunused-function -Wunused-variable"],[])
|
||||
|
||||
AC_SUBST(LDFLAGS)
|
||||
AC_SUBST(PICFLAGS)
|
||||
AC_SUBST(CFLAGS)
|
||||
AC_SUBST(SEDOBJ)
|
||||
AC_SUBST(SSL_CFLAGS)
|
||||
AC_SUBST(SSL_LIBS)
|
||||
AC_SUBST(GNUTLS_CFLAGS)
|
||||
AC_SUBST(GNUTLS_LIBS)
|
||||
AC_SUBST(MBEDTLS_CFLAGS)
|
||||
AC_SUBST(MBEDTLS_LIBS)
|
||||
|
||||
if test "$prefix" = "NONE"; then
|
||||
AC_DEFINE_UNQUOTED(RB_PREFIX, "$ac_default_prefix", [Prefix where librb is installed.])
|
||||
|
||||
else
|
||||
|
||||
dnl Don't get bitten by Cygwin's stupidity if the user specified
|
||||
dnl a custom prefix with a trailing slash
|
||||
|
||||
prefix=`echo $prefix | sed 's/\/$//'`
|
||||
AC_DEFINE_UNQUOTED(RB_PREFIX, "$prefix", [Prefix where librb is installed.])
|
||||
|
||||
fi
|
||||
|
||||
AC_SUBST(RB_PREFIX)
|
||||
|
||||
|
||||
LT_INIT([dlopen disable-static])
|
||||
LT_CONFIG_LTDL_DIR([libltdl])
|
||||
LTDL_INIT
|
||||
PKG_PROG_PKG_CONFIG
|
||||
|
||||
build_ltdl=$with_included_ltdl
|
||||
AM_CONDITIONAL([BUILD_LTDL], [test x"$build_ltdl" = x"yes"])
|
||||
|
||||
|
@ -81,20 +666,6 @@ if test ! -z "$CFLAGS"; then
|
|||
IRC_CFLAGS="$IRC_CFLAGS $CFLAGS"
|
||||
fi
|
||||
|
||||
AC_ISC_POSIX
|
||||
AC_C_INLINE
|
||||
AC_PROG_MAKE_SET
|
||||
AC_PROG_INSTALL
|
||||
AC_PATH_PROG(RM, rm)
|
||||
AC_PATH_PROG(CP, cp)
|
||||
AC_PATH_PROG(MV, mv)
|
||||
AC_PATH_PROG(LN, ln)
|
||||
AC_PATH_PROG(SED, sed)
|
||||
AC_PATH_PROG(AR, ar)
|
||||
AC_PATH_PROG(LD, ld)
|
||||
AC_PATH_PROG(RANLIB, ranlib)
|
||||
AC_PATH_PROG(TOUCH, touch)
|
||||
|
||||
AC_PROG_YACC
|
||||
|
||||
dnl AC_PROG_YACC defaults to yacc unconditionally if nothing can be found
|
||||
|
@ -171,9 +742,6 @@ if test x"$SUN" = xyes; then
|
|||
AC_SEARCH_LIBS(inet_ntoa, nsl,, [AC_MSG_ERROR([libnsl not found! Aborting.])])
|
||||
fi
|
||||
|
||||
AC_ARG_ENABLE(ipv6,
|
||||
AC_HELP_STRING([--enable-ipv6],[Enable IPv6 support]),[ipv6=$enableval],[ipv6=no])
|
||||
|
||||
AC_SEARCH_LIBS(crypt, [crypt descrypt],,)
|
||||
|
||||
CRYPT_LIB=$ac_cv_search_crypt
|
||||
|
@ -539,23 +1107,6 @@ else
|
|||
AC_MSG_RESULT(no)
|
||||
fi
|
||||
|
||||
AC_DEFINE([NICKNAMEHISTORYLENGTH], 15000, [Size of the WHOWAS array.])
|
||||
AC_DEFINE([CHANNEL_HEAP_SIZE], 8192, [Size of the channel heap.])
|
||||
AC_DEFINE([BAN_HEAP_SIZE], 4096, [Size of the ban heap.])
|
||||
AC_DEFINE([CLIENT_HEAP_SIZE], 8192, [Size of the client heap.])
|
||||
AC_DEFINE([LCLIENT_HEAP_SIZE], 1024, [Size of the local client heap.])
|
||||
AC_DEFINE([PCLIENT_HEAP_SIZE], 256, [Size of the pre-client heap.])
|
||||
AC_DEFINE([USER_HEAP_SIZE], 8192, [Size of the user heap.])
|
||||
AC_DEFINE([DNODE_HEAP_SIZE], 8192, [Size of the dlink_node heap.])
|
||||
AC_DEFINE([TOPIC_HEAP_SIZE], 4096, [Size of the topic heap.])
|
||||
AC_DEFINE([LINEBUF_HEAP_SIZE], 2048, [Size of the linebuf heap.])
|
||||
AC_DEFINE([MEMBER_HEAP_SIZE], 32768, [Sizeof member heap.])
|
||||
AC_DEFINE([ND_HEAP_SIZE], 512, [Size of the nick delay heap.])
|
||||
AC_DEFINE([CONFITEM_HEAP_SIZE], 256, [Size of the confitem heap.])
|
||||
AC_DEFINE([MONITOR_HEAP_SIZE], 1024, [Size of the monitor heap.])
|
||||
AC_DEFINE([FD_HEAP_SIZE], 1024, [Size of fd heap.])
|
||||
AC_DEFINE([AWAY_HEAP_SIZE], 512, [Size of away heap.])
|
||||
|
||||
AC_ARG_WITH(nicklen,
|
||||
AC_HELP_STRING([--with-nicklen=LENGTH],[Set the upper-bound nick length to LENGTH (default 31, max 50)]),
|
||||
[
|
||||
|
@ -660,40 +1211,20 @@ dnl a custom prefix with a trailing slash
|
|||
|
||||
fi
|
||||
|
||||
AC_CONFIG_FILES( \
|
||||
Makefile \
|
||||
authd/Makefile \
|
||||
bandb/Makefile \
|
||||
ssld/Makefile \
|
||||
wsockd/Makefile \
|
||||
extensions/Makefile \
|
||||
ircd/Makefile \
|
||||
modules/Makefile \
|
||||
tools/Makefile \
|
||||
tools/genssl \
|
||||
doc/Makefile \
|
||||
help/Makefile \
|
||||
)
|
||||
AC_CONFIG_COMMANDS([tools/genssl_chmod], [chmod 755 tools/genssl])
|
||||
|
||||
AC_OUTPUT
|
||||
dnl Make it look sexay!
|
||||
|
||||
if test "$cf_openssl_version_ok" = yes; then
|
||||
openssl="yes"
|
||||
else
|
||||
openssl="no"
|
||||
fi
|
||||
echo
|
||||
echo "Compiling $PACKAGE_NAME $PACKAGE_VERSION"
|
||||
echo $RB_VERSION
|
||||
echo $RB_DATESTR
|
||||
echo
|
||||
|
||||
echo "
|
||||
Configuration of ${BRANDING_NAME}-${BRANDING_VERSION}:
|
||||
Install directory : $prefix
|
||||
echo "Installing into: $prefix"
|
||||
|
||||
Ziplinks : $zlib
|
||||
OpenSSL : $openssl
|
||||
PCRE : $have_pcre
|
||||
|
||||
Nickname length : $NICKLEN
|
||||
Topic length : $TOPICLEN
|
||||
|
||||
Use (g)make to compile $BRANDING_NAME, then (g)make install to install it.
|
||||
"
|
||||
echo "IPv6 support ................... $ipv6"
|
||||
echo "Assert debugging ............... $assert"
|
||||
echo "SSL Type........................ $SSL_TYPE"
|
||||
echo
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/librb/include $(LTDLINCL)
|
||||
AM_CPPFLAGS = -I$(top_srcdir)/include $(LTDLINCL)
|
||||
AM_LDFLAGS = -module -export-dynamic -avoid-version -no-undefined -shared
|
||||
AM_LDFLAGS += -export-symbols-regex _mheader
|
||||
LIBS += $(top_srcdir)/librb/src/librb.la $(top_srcdir)/ircd/libircd.la
|
||||
LIBS += $(top_srcdir)/rb/librb.la $(top_srcdir)/ircd/libircd.la
|
||||
|
||||
extensiondir=@moduledir@/extensions
|
||||
|
||||
|
|
|
@ -1,14 +1,14 @@
|
|||
#include "stdinc.h"
|
||||
#include "modules.h"
|
||||
#include "hook.h"
|
||||
#include "client.h"
|
||||
#include "ircd.h"
|
||||
#include "send.h"
|
||||
#include "s_conf.h"
|
||||
#include "s_user.h"
|
||||
#include "s_serv.h"
|
||||
#include "numeric.h"
|
||||
#include "chmode.h"
|
||||
#include <ircd/stdinc.h>
|
||||
#include <ircd/modules.h>
|
||||
#include <ircd/hook.h>
|
||||
#include <ircd/client.h>
|
||||
#include <ircd/ircd.h>
|
||||
#include <ircd/send.h>
|
||||
#include <ircd/s_conf.h>
|
||||
#include <ircd/s_user.h>
|
||||
#include <ircd/s_serv.h>
|
||||
#include <ircd/numeric.h>
|
||||
#include <ircd/chmode.h>
|
||||
|
||||
static const char chm_adminonly_desc[] =
|
||||
"Enables channel mode +A that blocks non-admins from joining a channel";
|
||||
|
|
|
@ -1,14 +1,14 @@
|
|||
#include "stdinc.h"
|
||||
#include "modules.h"
|
||||
#include "hook.h"
|
||||
#include "client.h"
|
||||
#include "ircd.h"
|
||||
#include "send.h"
|
||||
#include "s_conf.h"
|
||||
#include "s_user.h"
|
||||
#include "s_serv.h"
|
||||
#include "numeric.h"
|
||||
#include "chmode.h"
|
||||
#include <ircd/stdinc.h>
|
||||
#include <ircd/modules.h>
|
||||
#include <ircd/hook.h>
|
||||
#include <ircd/client.h>
|
||||
#include <ircd/ircd.h>
|
||||
#include <ircd/send.h>
|
||||
#include <ircd/s_conf.h>
|
||||
#include <ircd/s_user.h>
|
||||
#include <ircd/s_serv.h>
|
||||
#include <ircd/numeric.h>
|
||||
#include <ircd/chmode.h>
|
||||
|
||||
static const char chm_insecure_desc[] =
|
||||
"Adds channel mode +U that allows non-SSL users to join a channel, "
|
||||
|
|
|
@ -21,19 +21,19 @@
|
|||
* POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#include "stdinc.h"
|
||||
#include "modules.h"
|
||||
#include "hook.h"
|
||||
#include "client.h"
|
||||
#include "ircd.h"
|
||||
#include "send.h"
|
||||
#include "s_conf.h"
|
||||
#include "s_user.h"
|
||||
#include "s_serv.h"
|
||||
#include "numeric.h"
|
||||
#include "chmode.h"
|
||||
#include "messages.h"
|
||||
#include "inline/stringops.h"
|
||||
#include <ircd/stdinc.h>
|
||||
#include <ircd/modules.h>
|
||||
#include <ircd/hook.h>
|
||||
#include <ircd/client.h>
|
||||
#include <ircd/ircd.h>
|
||||
#include <ircd/send.h>
|
||||
#include <ircd/s_conf.h>
|
||||
#include <ircd/s_user.h>
|
||||
#include <ircd/s_serv.h>
|
||||
#include <ircd/numeric.h>
|
||||
#include <ircd/chmode.h>
|
||||
#include <ircd/messages.h>
|
||||
#include <ircd/inline/stringops.h>
|
||||
|
||||
static const char chm_nonotice_desc[] =
|
||||
"Adds channel mode +T which blocks notices to the channel.";
|
||||
|
|
|
@ -1,14 +1,14 @@
|
|||
#include "stdinc.h"
|
||||
#include "modules.h"
|
||||
#include "hook.h"
|
||||
#include "client.h"
|
||||
#include "ircd.h"
|
||||
#include "send.h"
|
||||
#include "s_conf.h"
|
||||
#include "s_user.h"
|
||||
#include "s_serv.h"
|
||||
#include "numeric.h"
|
||||
#include "chmode.h"
|
||||
#include <ircd/stdinc.h>
|
||||
#include <ircd/modules.h>
|
||||
#include <ircd/hook.h>
|
||||
#include <ircd/client.h>
|
||||
#include <ircd/ircd.h>
|
||||
#include <ircd/send.h>
|
||||
#include <ircd/s_conf.h>
|
||||
#include <ircd/s_user.h>
|
||||
#include <ircd/s_serv.h>
|
||||
#include <ircd/numeric.h>
|
||||
#include <ircd/chmode.h>
|
||||
|
||||
static const char chm_operonly_desc[] =
|
||||
"Adds channel mode +O which makes a channel operator-only";
|
||||
|
|
|
@ -2,12 +2,12 @@
|
|||
* Treat cmode +-O as +-iI $o.
|
||||
*/
|
||||
|
||||
#include "stdinc.h"
|
||||
#include "modules.h"
|
||||
#include "client.h"
|
||||
#include "hook.h"
|
||||
#include "ircd.h"
|
||||
#include "chmode.h"
|
||||
#include <ircd/stdinc.h>
|
||||
#include <ircd/modules.h>
|
||||
#include <ircd/client.h>
|
||||
#include <ircd/hook.h>
|
||||
#include <ircd/ircd.h>
|
||||
#include <ircd/chmode.h>
|
||||
|
||||
static const char chm_operonly_compat[] =
|
||||
"Adds an emulated channel mode +O which is converted into mode +i and +I $o";
|
||||
|
|
|
@ -3,20 +3,20 @@
|
|||
* -- kaniini
|
||||
*/
|
||||
|
||||
#include "stdinc.h"
|
||||
#include "modules.h"
|
||||
#include "hook.h"
|
||||
#include "client.h"
|
||||
#include "ircd.h"
|
||||
#include "send.h"
|
||||
#include "hash.h"
|
||||
#include "s_conf.h"
|
||||
#include "s_user.h"
|
||||
#include "s_serv.h"
|
||||
#include "numeric.h"
|
||||
#include "privilege.h"
|
||||
#include "s_newconf.h"
|
||||
#include "chmode.h"
|
||||
#include <ircd/stdinc.h>
|
||||
#include <ircd/modules.h>
|
||||
#include <ircd/hook.h>
|
||||
#include <ircd/client.h>
|
||||
#include <ircd/ircd.h>
|
||||
#include <ircd/send.h>
|
||||
#include <ircd/hash.h>
|
||||
#include <ircd/s_conf.h>
|
||||
#include <ircd/s_user.h>
|
||||
#include <ircd/s_serv.h>
|
||||
#include <ircd/numeric.h>
|
||||
#include <ircd/privilege.h>
|
||||
#include <ircd/s_newconf.h>
|
||||
#include <ircd/chmode.h>
|
||||
|
||||
static const char chm_operpeace_desc[] =
|
||||
"Adds channel mode +M which prohibits operators from being kicked";
|
||||
|
|
|
@ -3,12 +3,12 @@
|
|||
* -- jilles
|
||||
*/
|
||||
|
||||
#include "stdinc.h"
|
||||
#include "modules.h"
|
||||
#include "client.h"
|
||||
#include "hook.h"
|
||||
#include "ircd.h"
|
||||
#include "chmode.h"
|
||||
#include <ircd/stdinc.h>
|
||||
#include <ircd/modules.h>
|
||||
#include <ircd/client.h>
|
||||
#include <ircd/hook.h>
|
||||
#include <ircd/ircd.h>
|
||||
#include <ircd/chmode.h>
|
||||
|
||||
static const char chm_quietunreg_compat_desc[] =
|
||||
"Adds an emulated channel mode +R which is converted into mode +q $~a";
|
||||
|
|
|
@ -29,14 +29,14 @@
|
|||
* POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#include "stdinc.h"
|
||||
#include "s_conf.h"
|
||||
#include "modules.h"
|
||||
#include "hook.h"
|
||||
#include "send.h"
|
||||
#include "chmode.h"
|
||||
#include "newconf.h"
|
||||
#include "substitution.h"
|
||||
#include <ircd/stdinc.h>
|
||||
#include <ircd/s_conf.h>
|
||||
#include <ircd/modules.h>
|
||||
#include <ircd/hook.h>
|
||||
#include <ircd/send.h>
|
||||
#include <ircd/chmode.h>
|
||||
#include <ircd/newconf.h>
|
||||
#include <ircd/substitution.h>
|
||||
#include "spamfilter.h"
|
||||
|
||||
|
||||
|
|
|
@ -1,14 +1,14 @@
|
|||
#include "stdinc.h"
|
||||
#include "modules.h"
|
||||
#include "hook.h"
|
||||
#include "client.h"
|
||||
#include "ircd.h"
|
||||
#include "send.h"
|
||||
#include "s_conf.h"
|
||||
#include "s_user.h"
|
||||
#include "s_serv.h"
|
||||
#include "numeric.h"
|
||||
#include "chmode.h"
|
||||
#include <ircd/stdinc.h>
|
||||
#include <ircd/modules.h>
|
||||
#include <ircd/hook.h>
|
||||
#include <ircd/client.h>
|
||||
#include <ircd/ircd.h>
|
||||
#include <ircd/send.h>
|
||||
#include <ircd/s_conf.h>
|
||||
#include <ircd/s_user.h>
|
||||
#include <ircd/s_serv.h>
|
||||
#include <ircd/numeric.h>
|
||||
#include <ircd/chmode.h>
|
||||
|
||||
static const char chm_sslonly_desc[] =
|
||||
"Adds channel mode +S that bans non-SSL users from joing a channel";
|
||||
|
|
|
@ -2,12 +2,12 @@
|
|||
* Treat cmode +-S as +-b $~z.
|
||||
*/
|
||||
|
||||
#include "stdinc.h"
|
||||
#include "modules.h"
|
||||
#include "client.h"
|
||||
#include "hook.h"
|
||||
#include "ircd.h"
|
||||
#include "chmode.h"
|
||||
#include <ircd/stdinc.h>
|
||||
#include <ircd/modules.h>
|
||||
#include <ircd/client.h>
|
||||
#include <ircd/hook.h>
|
||||
#include <ircd/ircd.h>
|
||||
#include <ircd/chmode.h>
|
||||
|
||||
static const char chm_sslonly_compat_desc[] =
|
||||
"Adds an emulated channel mode +S which is converted into mode +b $~z";
|
||||
|
|
|
@ -6,15 +6,15 @@
|
|||
* -- nenolod
|
||||
*/
|
||||
|
||||
#include "stdinc.h"
|
||||
#include "modules.h"
|
||||
#include "client.h"
|
||||
#include "hook.h"
|
||||
#include "ircd.h"
|
||||
#include "send.h"
|
||||
#include "s_conf.h"
|
||||
#include "snomask.h"
|
||||
#include "numeric.h"
|
||||
#include <ircd/stdinc.h>
|
||||
#include <ircd/modules.h>
|
||||
#include <ircd/client.h>
|
||||
#include <ircd/hook.h>
|
||||
#include <ircd/ircd.h>
|
||||
#include <ircd/send.h>
|
||||
#include <ircd/s_conf.h>
|
||||
#include <ircd/snomask.h>
|
||||
#include <ircd/numeric.h>
|
||||
|
||||
static const char restrict_desc[] = "Restricts channel creation to authenticated users and IRC operators only";
|
||||
|
||||
|
|
|
@ -6,15 +6,15 @@
|
|||
* -- nenolod
|
||||
*/
|
||||
|
||||
#include "stdinc.h"
|
||||
#include "modules.h"
|
||||
#include "client.h"
|
||||
#include "hook.h"
|
||||
#include "ircd.h"
|
||||
#include "send.h"
|
||||
#include "s_conf.h"
|
||||
#include "snomask.h"
|
||||
#include "numeric.h"
|
||||
#include <ircd/stdinc.h>
|
||||
#include <ircd/modules.h>
|
||||
#include <ircd/client.h>
|
||||
#include <ircd/hook.h>
|
||||
#include <ircd/ircd.h>
|
||||
#include <ircd/send.h>
|
||||
#include <ircd/s_conf.h>
|
||||
#include <ircd/snomask.h>
|
||||
#include <ircd/numeric.h>
|
||||
|
||||
static const char restrict_desc[] = "Restricts channel creation to IRC operators";
|
||||
|
||||
|
|
|
@ -18,12 +18,12 @@
|
|||
*/
|
||||
|
||||
/* List of ircd includes from ../include/ */
|
||||
#include "stdinc.h"
|
||||
#include "modules.h"
|
||||
#include "hook.h"
|
||||
#include "client.h"
|
||||
#include "ircd.h"
|
||||
#include "send.h"
|
||||
#include <ircd/stdinc.h>
|
||||
#include <ircd/modules.h>
|
||||
#include <ircd/hook.h>
|
||||
#include <ircd/client.h>
|
||||
#include <ircd/ircd.h>
|
||||
#include <ircd/send.h>
|
||||
|
||||
/* This string describes the module. Always declare it a static const char[].
|
||||
* It is preferred for stylistic reasons to put it first.
|
||||
|
|
|
@ -3,10 +3,10 @@
|
|||
* -- jilles
|
||||
*/
|
||||
|
||||
#include "stdinc.h"
|
||||
#include "modules.h"
|
||||
#include "client.h"
|
||||
#include "ircd.h"
|
||||
#include <ircd/stdinc.h>
|
||||
#include <ircd/modules.h>
|
||||
#include <ircd/client.h>
|
||||
#include <ircd/ircd.h>
|
||||
|
||||
static const char extb_desc[] = "Account ($a) extban type";
|
||||
|
||||
|
|
|
@ -4,12 +4,12 @@
|
|||
* -- nenolod/jilles
|
||||
*/
|
||||
|
||||
#include "stdinc.h"
|
||||
#include "modules.h"
|
||||
#include "client.h"
|
||||
#include "channel.h"
|
||||
#include "hash.h"
|
||||
#include "ircd.h"
|
||||
#include <ircd/stdinc.h>
|
||||
#include <ircd/modules.h>
|
||||
#include <ircd/client.h>
|
||||
#include <ircd/channel.h>
|
||||
#include <ircd/hash.h>
|
||||
#include <ircd/ircd.h>
|
||||
|
||||
static const char extb_desc[] = "Can join ($j) extban type - matches users who are or are not banned from a specified channel";
|
||||
|
||||
|
|
|
@ -3,12 +3,12 @@
|
|||
* -- jilles
|
||||
*/
|
||||
|
||||
#include "stdinc.h"
|
||||
#include "modules.h"
|
||||
#include "client.h"
|
||||
#include "channel.h"
|
||||
#include "hash.h"
|
||||
#include "ircd.h"
|
||||
#include <ircd/stdinc.h>
|
||||
#include <ircd/modules.h>
|
||||
#include <ircd/client.h>
|
||||
#include <ircd/channel.h>
|
||||
#include <ircd/hash.h>
|
||||
#include <ircd/ircd.h>
|
||||
|
||||
static const char extb_desc[] = "Channel ($c) extban type";
|
||||
|
||||
|
|
|
@ -37,10 +37,10 @@
|
|||
* I suspect it is, but have done no load testing.
|
||||
*/
|
||||
|
||||
#include "stdinc.h"
|
||||
#include "modules.h"
|
||||
#include "client.h"
|
||||
#include "ircd.h"
|
||||
#include <ircd/stdinc.h>
|
||||
#include <ircd/modules.h>
|
||||
#include <ircd/client.h>
|
||||
#include <ircd/ircd.h>
|
||||
|
||||
static const char extb_desc[] = "Combination ($&, $|) extban types";
|
||||
|
||||
|
|
|
@ -4,10 +4,10 @@
|
|||
* - nenolod
|
||||
*/
|
||||
|
||||
#include "stdinc.h"
|
||||
#include "modules.h"
|
||||
#include "client.h"
|
||||
#include "ircd.h"
|
||||
#include <ircd/stdinc.h>
|
||||
#include <ircd/modules.h>
|
||||
#include <ircd/client.h>
|
||||
#include <ircd/ircd.h>
|
||||
|
||||
static const char extb_desc[] = "Extended mask ($x) extban type";
|
||||
|
||||
|
|
|
@ -3,10 +3,10 @@
|
|||
* -- kaniini
|
||||
*/
|
||||
|
||||
#include "stdinc.h"
|
||||
#include "modules.h"
|
||||
#include "client.h"
|
||||
#include "ircd.h"
|
||||
#include <ircd/stdinc.h>
|
||||
#include <ircd/modules.h>
|
||||
#include <ircd/client.h>
|
||||
#include <ircd/ircd.h>
|
||||
|
||||
static const char extb_desc[] = "Hostmask ($m) extban type";
|
||||
|
||||
|
|
|
@ -3,12 +3,12 @@
|
|||
* -- jilles
|
||||
*/
|
||||
|
||||
#include "stdinc.h"
|
||||
#include "modules.h"
|
||||
#include "client.h"
|
||||
#include "privilege.h"
|
||||
#include "s_newconf.h"
|
||||
#include "ircd.h"
|
||||
#include <ircd/stdinc.h>
|
||||
#include <ircd/modules.h>
|
||||
#include <ircd/client.h>
|
||||
#include <ircd/privilege.h>
|
||||
#include <ircd/s_newconf.h>
|
||||
#include <ircd/ircd.h>
|
||||
|
||||
static const char extb_desc[] = "Oper ($o) extban type";
|
||||
|
||||
|
|
|
@ -3,10 +3,10 @@
|
|||
* -- jilles
|
||||
*/
|
||||
|
||||
#include "stdinc.h"
|
||||
#include "modules.h"
|
||||
#include "client.h"
|
||||
#include "ircd.h"
|
||||
#include <ircd/stdinc.h>
|
||||
#include <ircd/modules.h>
|
||||
#include <ircd/client.h>
|
||||
#include <ircd/ircd.h>
|
||||
|
||||
static const char extb_desc[] = "Realname/GECOS ($r) extban type";
|
||||
|
||||
|
|
|
@ -3,10 +3,10 @@
|
|||
* -- jilles
|
||||
*/
|
||||
|
||||
#include "stdinc.h"
|
||||
#include "modules.h"
|
||||
#include "client.h"
|
||||
#include "ircd.h"
|
||||
#include <ircd/stdinc.h>
|
||||
#include <ircd/modules.h>
|
||||
#include <ircd/client.h>
|
||||
#include <ircd/ircd.h>
|
||||
|
||||
static const char extb_desc[] = "Server ($s) extban type";
|
||||
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
/* SSL extban type: matches ssl users */
|
||||
|
||||
#include "stdinc.h"
|
||||
#include "modules.h"
|
||||
#include "client.h"
|
||||
#include "ircd.h"
|
||||
#include <ircd/stdinc.h>
|
||||
#include <ircd/modules.h>
|
||||
#include <ircd/client.h>
|
||||
#include <ircd/ircd.h>
|
||||
|
||||
static const char extb_desc[] = "SSL/TLS ($z) extban type";
|
||||
|
||||
|
|
|
@ -3,17 +3,17 @@
|
|||
* -- nenolod
|
||||
*/
|
||||
|
||||
#include "stdinc.h"
|
||||
#include "modules.h"
|
||||
#include "hook.h"
|
||||
#include "client.h"
|
||||
#include "ircd.h"
|
||||
#include "send.h"
|
||||
#include "hash.h"
|
||||
#include "s_conf.h"
|
||||
#include "s_user.h"
|
||||
#include "s_serv.h"
|
||||
#include "numeric.h"
|
||||
#include <ircd/stdinc.h>
|
||||
#include <ircd/modules.h>
|
||||
#include <ircd/hook.h>
|
||||
#include <ircd/client.h>
|
||||
#include <ircd/ircd.h>
|
||||
#include <ircd/send.h>
|
||||
#include <ircd/hash.h>
|
||||
#include <ircd/s_conf.h>
|
||||
#include <ircd/s_user.h>
|
||||
#include <ircd/s_serv.h>
|
||||
#include <ircd/numeric.h>
|
||||
|
||||
static const char extb_desc[] = "Usermode ($m) extban type";
|
||||
|
||||
|
|
|
@ -6,14 +6,14 @@
|
|||
* Note that +i must be included in default_umodes
|
||||
*/
|
||||
|
||||
#include "stdinc.h"
|
||||
#include "modules.h"
|
||||
#include "client.h"
|
||||
#include "hook.h"
|
||||
#include "ircd.h"
|
||||
#include "send.h"
|
||||
#include "s_conf.h"
|
||||
#include "s_newconf.h"
|
||||
#include <ircd/stdinc.h>
|
||||
#include <ircd/modules.h>
|
||||
#include <ircd/client.h>
|
||||
#include <ircd/hook.h>
|
||||
#include <ircd/ircd.h>
|
||||
#include <ircd/send.h>
|
||||
#include <ircd/s_conf.h>
|
||||
#include <ircd/s_newconf.h>
|
||||
|
||||
static const char noi_desc[] =
|
||||
"Do not allow users to remove user mode +i unless they are operators";
|
||||
|
|
|
@ -3,16 +3,16 @@
|
|||
* -- kaniini
|
||||
*/
|
||||
|
||||
#include "stdinc.h"
|
||||
#include "modules.h"
|
||||
#include "client.h"
|
||||
#include "hook.h"
|
||||
#include "ircd.h"
|
||||
#include "send.h"
|
||||
#include "s_conf.h"
|
||||
#include "s_user.h"
|
||||
#include "s_newconf.h"
|
||||
#include "numeric.h"
|
||||
#include <ircd/stdinc.h>
|
||||
#include <ircd/modules.h>
|
||||
#include <ircd/client.h>
|
||||
#include <ircd/hook.h>
|
||||
#include <ircd/ircd.h>
|
||||
#include <ircd/send.h>
|
||||
#include <ircd/s_conf.h>
|
||||
#include <ircd/s_user.h>
|
||||
#include <ircd/s_newconf.h>
|
||||
#include <ircd/numeric.h>
|
||||
|
||||
static const char helpops_desc[] = "The helpops system as used by freenode";
|
||||
|
||||
|
|
|
@ -3,14 +3,14 @@
|
|||
* -- kaniini
|
||||
*/
|
||||
|
||||
#include "stdinc.h"
|
||||
#include "modules.h"
|
||||
#include "client.h"
|
||||
#include "hook.h"
|
||||
#include "ircd.h"
|
||||
#include "send.h"
|
||||
#include "s_conf.h"
|
||||
#include "s_newconf.h"
|
||||
#include <ircd/stdinc.h>
|
||||
#include <ircd/modules.h>
|
||||
#include <ircd/client.h>
|
||||
#include <ircd/hook.h>
|
||||
#include <ircd/ircd.h>
|
||||
#include <ircd/send.h>
|
||||
#include <ircd/s_conf.h>
|
||||
#include <ircd/s_newconf.h>
|
||||
|
||||
static const char hide_desc[] = "Hides channel memberships not shared";
|
||||
|
||||
|
|
|
@ -4,19 +4,19 @@
|
|||
* Copyright (C) 2006 charybdis development team
|
||||
* All rights reserved
|
||||
*/
|
||||
#include "stdinc.h"
|
||||
#include "modules.h"
|
||||
#include "hook.h"
|
||||
#include "client.h"
|
||||
#include "ircd.h"
|
||||
#include "send.h"
|
||||
#include "numeric.h"
|
||||
#include "hostmask.h"
|
||||
#include "s_conf.h"
|
||||
#include "s_newconf.h"
|
||||
#include "hash.h"
|
||||
#include "messages.h"
|
||||
#include "s_assert.h"
|
||||
#include <ircd/stdinc.h>
|
||||
#include <ircd/modules.h>
|
||||
#include <ircd/hook.h>
|
||||
#include <ircd/client.h>
|
||||
#include <ircd/ircd.h>
|
||||
#include <ircd/send.h>
|
||||
#include <ircd/numeric.h>
|
||||
#include <ircd/hostmask.h>
|
||||
#include <ircd/s_conf.h>
|
||||
#include <ircd/s_newconf.h>
|
||||
#include <ircd/hash.h>
|
||||
#include <ircd/messages.h>
|
||||
#include <ircd/s_assert.h>
|
||||
|
||||
/* {{{ Structures */
|
||||
#define HURT_CUTOFF (10) /* protocol messages. */
|
||||
|
|
|
@ -5,17 +5,17 @@
|
|||
* Written originally by nenolod, altered to use FNV by Elizabeth in 2008
|
||||
*/
|
||||
|
||||
#include "stdinc.h"
|
||||
#include "modules.h"
|
||||
#include "hook.h"
|
||||
#include "client.h"
|
||||
#include "ircd.h"
|
||||
#include "send.h"
|
||||
#include "hash.h"
|
||||
#include "s_conf.h"
|
||||
#include "s_user.h"
|
||||
#include "s_serv.h"
|
||||
#include "numeric.h"
|
||||
#include <ircd/stdinc.h>
|
||||
#include <ircd/modules.h>
|
||||
#include <ircd/hook.h>
|
||||
#include <ircd/client.h>
|
||||
#include <ircd/ircd.h>
|
||||
#include <ircd/send.h>
|
||||
#include <ircd/hash.h>
|
||||
#include <ircd/s_conf.h>
|
||||
#include <ircd/s_user.h>
|
||||
#include <ircd/s_serv.h>
|
||||
#include <ircd/numeric.h>
|
||||
|
||||
static const char ip_cloaking_desc[] = "IP cloaking module that uses user mode +h";
|
||||
|
||||
|
|
|
@ -1,14 +1,14 @@
|
|||
|
||||
#include "stdinc.h"
|
||||
#include "modules.h"
|
||||
#include "hook.h"
|
||||
#include "client.h"
|
||||
#include "ircd.h"
|
||||
#include "send.h"
|
||||
#include "s_conf.h"
|
||||
#include "s_user.h"
|
||||
#include "s_serv.h"
|
||||
#include "numeric.h"
|
||||
#include <ircd/stdinc.h>
|
||||
#include <ircd/modules.h>
|
||||
#include <ircd/hook.h>
|
||||
#include <ircd/client.h>
|
||||
#include <ircd/ircd.h>
|
||||
#include <ircd/send.h>
|
||||
#include <ircd/s_conf.h>
|
||||
#include <ircd/s_user.h>
|
||||
#include <ircd/s_serv.h>
|
||||
#include <ircd/numeric.h>
|
||||
|
||||
static const char ip_cloaking_desc[] = "The old IP cloaking mechanism version 3.0";
|
||||
|
||||
|
|
|
@ -5,17 +5,17 @@
|
|||
* Written originally by nenolod, altered to use FNV by Elizabeth in 2008
|
||||
*/
|
||||
|
||||
#include "stdinc.h"
|
||||
#include "modules.h"
|
||||
#include "hook.h"
|
||||
#include "client.h"
|
||||
#include "ircd.h"
|
||||
#include "send.h"
|
||||
#include "hash.h"
|
||||
#include "s_conf.h"
|
||||
#include "s_user.h"
|
||||
#include "s_serv.h"
|
||||
#include "numeric.h"
|
||||
#include <ircd/stdinc.h>
|
||||
#include <ircd/modules.h>
|
||||
#include <ircd/hook.h>
|
||||
#include <ircd/client.h>
|
||||
#include <ircd/ircd.h>
|
||||
#include <ircd/send.h>
|
||||
#include <ircd/hash.h>
|
||||
#include <ircd/s_conf.h>
|
||||
#include <ircd/s_user.h>
|
||||
#include <ircd/s_serv.h>
|
||||
#include <ircd/numeric.h>
|
||||
|
||||
static const char ip_cloaking_desc[] = "New IP cloaking module that uses user mode +x instead of +h";
|
||||
|
||||
|
|
|
@ -1,14 +1,14 @@
|
|||
|
||||
#include "stdinc.h"
|
||||
#include "modules.h"
|
||||
#include "hook.h"
|
||||
#include "client.h"
|
||||
#include "ircd.h"
|
||||
#include "send.h"
|
||||
#include "s_conf.h"
|
||||
#include "s_user.h"
|
||||
#include "s_serv.h"
|
||||
#include "numeric.h"
|
||||
#include <ircd/stdinc.h>
|
||||
#include <ircd/modules.h>
|
||||
#include <ircd/hook.h>
|
||||
#include <ircd/client.h>
|
||||
#include <ircd/ircd.h>
|
||||
#include <ircd/send.h>
|
||||
#include <ircd/s_conf.h>
|
||||
#include <ircd/s_user.h>
|
||||
#include <ircd/s_serv.h>
|
||||
#include <ircd/numeric.h>
|
||||
|
||||
static const char ip_cloaking_desc[] = "Very old IP cloaking mechanism";
|
||||
|
||||
|
|
|
@ -22,20 +22,20 @@
|
|||
* USA
|
||||
*/
|
||||
|
||||
#include "stdinc.h"
|
||||
#include "client.h"
|
||||
#include "ircd.h"
|
||||
#include "match.h"
|
||||
#include "numeric.h"
|
||||
#include "send.h"
|
||||
#include "s_user.h"
|
||||
#include "s_conf.h"
|
||||
#include "s_newconf.h"
|
||||
#include "msg.h"
|
||||
#include "parse.h"
|
||||
#include "modules.h"
|
||||
#include "s_serv.h"
|
||||
#include "messages.h"
|
||||
#include <ircd/stdinc.h>
|
||||
#include <ircd/client.h>
|
||||
#include <ircd/ircd.h>
|
||||
#include <ircd/match.h>
|
||||
#include <ircd/numeric.h>
|
||||
#include <ircd/send.h>
|
||||
#include <ircd/s_user.h>
|
||||
#include <ircd/s_conf.h>
|
||||
#include <ircd/s_newconf.h>
|
||||
#include <ircd/msg.h>
|
||||
#include <ircd/parse.h>
|
||||
#include <ircd/modules.h>
|
||||
#include <ircd/s_serv.h>
|
||||
#include <ircd/messages.h>
|
||||
|
||||
static const char adminwall_desc[] =
|
||||
"Provides the ADMINWALL command to send a message to all administrators";
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
#include "stdinc.h"
|
||||
#include "modules.h"
|
||||
#include "client.h"
|
||||
#include "ircd.h"
|
||||
#include "send.h"
|
||||
#include <ircd/stdinc.h>
|
||||
#include <ircd/modules.h>
|
||||
#include <ircd/client.h>
|
||||
#include <ircd/ircd.h>
|
||||
#include <ircd/send.h>
|
||||
|
||||
static void m_echotags(struct MsgBuf *msgbuf_p, struct Client *client_p, struct Client *source_p, int parc, const char *parv[]);
|
||||
|
||||
|
|
|
@ -24,12 +24,12 @@
|
|||
* USA
|
||||
*/
|
||||
|
||||
#include "stdinc.h"
|
||||
#include "client.h"
|
||||
#include "modules.h"
|
||||
#include "s_newconf.h"
|
||||
#include "send.h"
|
||||
#include "numeric.h"
|
||||
#include <ircd/stdinc.h>
|
||||
#include <ircd/client.h>
|
||||
#include <ircd/modules.h>
|
||||
#include <ircd/s_newconf.h>
|
||||
#include <ircd/send.h>
|
||||
#include <ircd/numeric.h>
|
||||
|
||||
static const char extendchans_desc[] =
|
||||
"Allow an oper or service to let a given user join more channels";
|
||||
|
|
|
@ -17,22 +17,22 @@
|
|||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
*/
|
||||
#include "stdinc.h"
|
||||
#include "channel.h"
|
||||
#include "client.h"
|
||||
#include "hash.h"
|
||||
#include "match.h"
|
||||
#include "ircd.h"
|
||||
#include "numeric.h"
|
||||
#include "s_user.h"
|
||||
#include "s_conf.h"
|
||||
#include "s_newconf.h"
|
||||
#include "send.h"
|
||||
#include "msg.h"
|
||||
#include "parse.h"
|
||||
#include "modules.h"
|
||||
#include "packet.h"
|
||||
#include "messages.h"
|
||||
#include <ircd/stdinc.h>
|
||||
#include <ircd/channel.h>
|
||||
#include <ircd/client.h>
|
||||
#include <ircd/hash.h>
|
||||
#include <ircd/match.h>
|
||||
#include <ircd/ircd.h>
|
||||
#include <ircd/numeric.h>
|
||||
#include <ircd/s_user.h>
|
||||
#include <ircd/s_conf.h>
|
||||
#include <ircd/s_newconf.h>
|
||||
#include <ircd/send.h>
|
||||
#include <ircd/msg.h>
|
||||
#include <ircd/parse.h>
|
||||
#include <ircd/modules.h>
|
||||
#include <ircd/packet.h>
|
||||
#include <ircd/messages.h>
|
||||
|
||||
static const char findfowards_desc[] = "Allows operators to find forwards to a given channel";
|
||||
|
||||
|
|
|
@ -29,19 +29,19 @@
|
|||
* POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#include "stdinc.h"
|
||||
#include "client.h"
|
||||
#include "ircd.h"
|
||||
#include "match.h"
|
||||
#include "numeric.h"
|
||||
#include "s_conf.h"
|
||||
#include "logger.h"
|
||||
#include "s_serv.h"
|
||||
#include "send.h"
|
||||
#include "msg.h"
|
||||
#include "parse.h"
|
||||
#include "modules.h"
|
||||
#include "messages.h"
|
||||
#include <ircd/stdinc.h>
|
||||
#include <ircd/client.h>
|
||||
#include <ircd/ircd.h>
|
||||
#include <ircd/match.h>
|
||||
#include <ircd/numeric.h>
|
||||
#include <ircd/s_conf.h>
|
||||
#include <ircd/logger.h>
|
||||
#include <ircd/s_serv.h>
|
||||
#include <ircd/send.h>
|
||||
#include <ircd/msg.h>
|
||||
#include <ircd/parse.h>
|
||||
#include <ircd/modules.h>
|
||||
#include <ircd/messages.h>
|
||||
|
||||
#define SVS_chanserv_NICK "ChanServ"
|
||||
#define SVS_nickserv_NICK "NickServ"
|
||||
|
|
|
@ -22,20 +22,20 @@
|
|||
* USA
|
||||
*/
|
||||
|
||||
#include "stdinc.h"
|
||||
#include "client.h"
|
||||
#include "ircd.h"
|
||||
#include "match.h"
|
||||
#include "numeric.h"
|
||||
#include "send.h"
|
||||
#include "s_user.h"
|
||||
#include "s_conf.h"
|
||||
#include "s_newconf.h"
|
||||
#include "hash.h"
|
||||
#include "msg.h"
|
||||
#include "parse.h"
|
||||
#include "modules.h"
|
||||
#include "s_serv.h"
|
||||
#include <ircd/stdinc.h>
|
||||
#include <ircd/client.h>
|
||||
#include <ircd/ircd.h>
|
||||
#include <ircd/match.h>
|
||||
#include <ircd/numeric.h>
|
||||
#include <ircd/send.h>
|
||||
#include <ircd/s_user.h>
|
||||
#include <ircd/s_conf.h>
|
||||
#include <ircd/s_newconf.h>
|
||||
#include <ircd/hash.h>
|
||||
#include <ircd/msg.h>
|
||||
#include <ircd/parse.h>
|
||||
#include <ircd/modules.h>
|
||||
#include <ircd/s_serv.h>
|
||||
|
||||
static const char locops_desc[] =
|
||||
"Provides the LOCOPS command to send a message to all local operators";
|
||||
|
|
|
@ -5,13 +5,13 @@
|
|||
* You can use this code in any way as long as these names remain.
|
||||
*/
|
||||
|
||||
#include "stdinc.h"
|
||||
#include "client.h"
|
||||
#include "numeric.h"
|
||||
#include "s_conf.h"
|
||||
#include "modules.h"
|
||||
#include "messages.h"
|
||||
#include "send.h"
|
||||
#include <ircd/stdinc.h>
|
||||
#include <ircd/client.h>
|
||||
#include <ircd/numeric.h>
|
||||
#include <ircd/s_conf.h>
|
||||
#include <ircd/modules.h>
|
||||
#include <ircd/messages.h>
|
||||
#include <ircd/send.h>
|
||||
|
||||
#include <string.h>
|
||||
|
||||
|
|
|
@ -17,23 +17,23 @@
|
|||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
*/
|
||||
|
||||
#include "stdinc.h"
|
||||
#include "channel.h"
|
||||
#include "client.h"
|
||||
#include "ircd.h"
|
||||
#include "numeric.h"
|
||||
#include "logger.h"
|
||||
#include "s_serv.h"
|
||||
#include "s_conf.h"
|
||||
#include "s_newconf.h"
|
||||
#include "send.h"
|
||||
#include "whowas.h"
|
||||
#include "match.h"
|
||||
#include "hash.h"
|
||||
#include "msg.h"
|
||||
#include "parse.h"
|
||||
#include "modules.h"
|
||||
#include "messages.h"
|
||||
#include <ircd/stdinc.h>
|
||||
#include <ircd/channel.h>
|
||||
#include <ircd/client.h>
|
||||
#include <ircd/ircd.h>
|
||||
#include <ircd/numeric.h>
|
||||
#include <ircd/logger.h>
|
||||
#include <ircd/s_serv.h>
|
||||
#include <ircd/s_conf.h>
|
||||
#include <ircd/s_newconf.h>
|
||||
#include <ircd/send.h>
|
||||
#include <ircd/whowas.h>
|
||||
#include <ircd/match.h>
|
||||
#include <ircd/hash.h>
|
||||
#include <ircd/msg.h>
|
||||
#include <ircd/parse.h>
|
||||
#include <ircd/modules.h>
|
||||
#include <ircd/messages.h>
|
||||
|
||||
static const char ojoin_desc[] = "Allow admins to forcibly join channels with the OJOIN command";
|
||||
|
||||
|
|
|
@ -21,22 +21,22 @@
|
|||
* USA
|
||||
*/
|
||||
|
||||
#include "stdinc.h"
|
||||
#include "channel.h"
|
||||
#include "client.h"
|
||||
#include "match.h"
|
||||
#include "ircd.h"
|
||||
#include "numeric.h"
|
||||
#include "send.h"
|
||||
#include "msg.h"
|
||||
#include "modules.h"
|
||||
#include "parse.h"
|
||||
#include "hash.h"
|
||||
#include "packet.h"
|
||||
#include "s_conf.h"
|
||||
#include "s_serv.h"
|
||||
#include "messages.h"
|
||||
#include "logger.h"
|
||||
#include <ircd/stdinc.h>
|
||||
#include <ircd/channel.h>
|
||||
#include <ircd/client.h>
|
||||
#include <ircd/match.h>
|
||||
#include <ircd/ircd.h>
|
||||
#include <ircd/numeric.h>
|
||||
#include <ircd/send.h>
|
||||
#include <ircd/msg.h>
|
||||
#include <ircd/modules.h>
|
||||
#include <ircd/parse.h>
|
||||
#include <ircd/hash.h>
|
||||
#include <ircd/packet.h>
|
||||
#include <ircd/s_conf.h>
|
||||
#include <ircd/s_serv.h>
|
||||
#include <ircd/messages.h>
|
||||
#include <ircd/logger.h>
|
||||
|
||||
static const char okick_desc[] = "Allow admins to forcibly kick users from channels with the OKICK command";
|
||||
|
||||
|
|
|
@ -23,24 +23,24 @@
|
|||
* USA
|
||||
*/
|
||||
|
||||
#include "stdinc.h"
|
||||
#include "channel.h"
|
||||
#include "client.h"
|
||||
#include "hash.h"
|
||||
#include "match.h"
|
||||
#include "ircd.h"
|
||||
#include "numeric.h"
|
||||
#include "s_user.h"
|
||||
#include "s_conf.h"
|
||||
#include "s_newconf.h"
|
||||
#include "s_serv.h"
|
||||
#include "send.h"
|
||||
#include "msg.h"
|
||||
#include "parse.h"
|
||||
#include "modules.h"
|
||||
#include "packet.h"
|
||||
#include "messages.h"
|
||||
#include "logger.h"
|
||||
#include <ircd/stdinc.h>
|
||||
#include <ircd/channel.h>
|
||||
#include <ircd/client.h>
|
||||
#include <ircd/hash.h>
|
||||
#include <ircd/match.h>
|
||||
#include <ircd/ircd.h>
|
||||
#include <ircd/numeric.h>
|
||||
#include <ircd/s_user.h>
|
||||
#include <ircd/s_conf.h>
|
||||
#include <ircd/s_newconf.h>
|
||||
#include <ircd/s_serv.h>
|
||||
#include <ircd/send.h>
|
||||
#include <ircd/msg.h>
|
||||
#include <ircd/parse.h>
|
||||
#include <ircd/modules.h>
|
||||
#include <ircd/packet.h>
|
||||
#include <ircd/messages.h>
|
||||
#include <ircd/logger.h>
|
||||
|
||||
static const char omode_desc[] = "Allow admins to forcibly change modes on channels with the OMODE command";
|
||||
|
||||
|
|
|
@ -16,23 +16,23 @@
|
|||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
*/
|
||||
#include "stdinc.h"
|
||||
#include "channel.h"
|
||||
#include "client.h"
|
||||
#include "ircd.h"
|
||||
#include "numeric.h"
|
||||
#include "logger.h"
|
||||
#include "s_serv.h"
|
||||
#include "send.h"
|
||||
#include "whowas.h"
|
||||
#include "match.h"
|
||||
#include "hash.h"
|
||||
#include "msg.h"
|
||||
#include "parse.h"
|
||||
#include "modules.h"
|
||||
#include "s_conf.h"
|
||||
#include "s_newconf.h"
|
||||
#include "messages.h"
|
||||
#include <ircd/stdinc.h>
|
||||
#include <ircd/channel.h>
|
||||
#include <ircd/client.h>
|
||||
#include <ircd/ircd.h>
|
||||
#include <ircd/numeric.h>
|
||||
#include <ircd/logger.h>
|
||||
#include <ircd/s_serv.h>
|
||||
#include <ircd/send.h>
|
||||
#include <ircd/whowas.h>
|
||||
#include <ircd/match.h>
|
||||
#include <ircd/hash.h>
|
||||
#include <ircd/msg.h>
|
||||
#include <ircd/parse.h>
|
||||
#include <ircd/modules.h>
|
||||
#include <ircd/s_conf.h>
|
||||
#include <ircd/s_newconf.h>
|
||||
#include <ircd/messages.h>
|
||||
|
||||
static const char opme_desc[] = "Allow admins to op themselves on opless channels";
|
||||
|
||||
|
|
|
@ -22,22 +22,22 @@
|
|||
* USA
|
||||
*/
|
||||
|
||||
#include "stdinc.h"
|
||||
#include "channel.h"
|
||||
#include "client.h"
|
||||
#include "match.h"
|
||||
#include "ircd.h"
|
||||
#include "numeric.h"
|
||||
#include "send.h"
|
||||
#include "msg.h"
|
||||
#include "modules.h"
|
||||
#include "parse.h"
|
||||
#include "hash.h"
|
||||
#include "packet.h"
|
||||
#include "s_serv.h"
|
||||
#include "s_conf.h"
|
||||
#include "hook.h"
|
||||
#include "messages.h"
|
||||
#include <ircd/stdinc.h>
|
||||
#include <ircd/channel.h>
|
||||
#include <ircd/client.h>
|
||||
#include <ircd/match.h>
|
||||
#include <ircd/ircd.h>
|
||||
#include <ircd/numeric.h>
|
||||
#include <ircd/send.h>
|
||||
#include <ircd/msg.h>
|
||||
#include <ircd/modules.h>
|
||||
#include <ircd/parse.h>
|
||||
#include <ircd/hash.h>
|
||||
#include <ircd/packet.h>
|
||||
#include <ircd/s_serv.h>
|
||||
#include <ircd/s_conf.h>
|
||||
#include <ircd/hook.h>
|
||||
#include <ircd/messages.h>
|
||||
|
||||
static const char description[] = "Provides the REMOVE command, an alternative to KICK";
|
||||
|
||||
|
|
|
@ -14,20 +14,20 @@
|
|||
*/
|
||||
|
||||
|
||||
#include "stdinc.h"
|
||||
#include "ircd.h"
|
||||
#include "client.h"
|
||||
#include "modules.h"
|
||||
#include "send.h"
|
||||
#include "numeric.h"
|
||||
#include "hash.h"
|
||||
#include "s_serv.h"
|
||||
#include "inline/stringops.h"
|
||||
#include "chmode.h"
|
||||
#include "tgchange.h"
|
||||
#include "channel.h"
|
||||
#include "packet.h"
|
||||
#include "messages.h"
|
||||
#include <ircd/stdinc.h>
|
||||
#include <ircd/ircd.h>
|
||||
#include <ircd/client.h>
|
||||
#include <ircd/modules.h>
|
||||
#include <ircd/send.h>
|
||||
#include <ircd/numeric.h>
|
||||
#include <ircd/hash.h>
|
||||
#include <ircd/s_serv.h>
|
||||
#include <ircd/inline/stringops.h>
|
||||
#include <ircd/chmode.h>
|
||||
#include <ircd/tgchange.h>
|
||||
#include <ircd/channel.h>
|
||||
#include <ircd/packet.h>
|
||||
#include <ircd/messages.h>
|
||||
|
||||
static const char roleplay_desc[] =
|
||||
"Adds a roleplaying system that allows faked nicknames to talk in a channel set +N";
|
||||
|
|
|
@ -29,20 +29,19 @@
|
|||
* POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#include "stdinc.h"
|
||||
#include "client.h"
|
||||
#include "ircd.h"
|
||||
#include "match.h"
|
||||
#include "numeric.h"
|
||||
#include "s_conf.h"
|
||||
#include "s_serv.h"
|
||||
#include "s_newconf.h"
|
||||
#include "send.h"
|
||||
#include "msg.h"
|
||||
#include "hash.h"
|
||||
#include "modules.h"
|
||||
#include "messages.h"
|
||||
#include "rb_radixtree.h"
|
||||
#include <ircd/stdinc.h>
|
||||
#include <ircd/client.h>
|
||||
#include <ircd/ircd.h>
|
||||
#include <ircd/match.h>
|
||||
#include <ircd/numeric.h>
|
||||
#include <ircd/s_conf.h>
|
||||
#include <ircd/s_serv.h>
|
||||
#include <ircd/s_newconf.h>
|
||||
#include <ircd/send.h>
|
||||
#include <ircd/msg.h>
|
||||
#include <ircd/hash.h>
|
||||
#include <ircd/modules.h>
|
||||
#include <ircd/messages.h>
|
||||
|
||||
static const char sendbands_desc[] =
|
||||
"Adds the ability to send all permanent RESVs and XLINEs to given server";
|
||||
|
|
|
@ -38,20 +38,20 @@
|
|||
* cgiirc.config
|
||||
*/
|
||||
|
||||
#include "stdinc.h"
|
||||
#include "client.h" /* client struct */
|
||||
#include "match.h"
|
||||
#include "hostmask.h"
|
||||
#include "send.h" /* sendto_one */
|
||||
#include "numeric.h" /* ERR_xxx */
|
||||
#include "ircd.h" /* me */
|
||||
#include "msg.h"
|
||||
#include "parse.h"
|
||||
#include "modules.h"
|
||||
#include "s_serv.h"
|
||||
#include "hash.h"
|
||||
#include "s_conf.h"
|
||||
#include "reject.h"
|
||||
#include <ircd/stdinc.h>
|
||||
#include <ircd/client.h> /* client struct */
|
||||
#include <ircd/match.h>
|
||||
#include <ircd/hostmask.h>
|
||||
#include <ircd/send.h> /* sendto_one */
|
||||
#include <ircd/numeric.h> /* ERR_xxx */
|
||||
#include <ircd/ircd.h> /* me */
|
||||
#include <ircd/msg.h>
|
||||
#include <ircd/parse.h>
|
||||
#include <ircd/modules.h>
|
||||
#include <ircd/s_serv.h>
|
||||
#include <ircd/hash.h>
|
||||
#include <ircd/s_conf.h>
|
||||
#include <ircd/reject.h>
|
||||
|
||||
static const char webirc_desc[] = "Adds support for the WebIRC system";
|
||||
|
||||
|
|
|
@ -6,19 +6,19 @@
|
|||
* Licensed under the WTFPLv2
|
||||
*/
|
||||
|
||||
#include "stdinc.h"
|
||||
#include "modules.h"
|
||||
#include "hook.h"
|
||||
#include "client.h"
|
||||
#include "ircd.h"
|
||||
#include "send.h"
|
||||
#include "hash.h"
|
||||
#include "s_conf.h"
|
||||
#include "s_user.h"
|
||||
#include "s_serv.h"
|
||||
#include "numeric.h"
|
||||
#include "privilege.h"
|
||||
#include "s_newconf.h"
|
||||
#include <ircd/stdinc.h>
|
||||
#include <ircd/modules.h>
|
||||
#include <ircd/hook.h>
|
||||
#include <ircd/client.h>
|
||||
#include <ircd/ircd.h>
|
||||
#include <ircd/send.h>
|
||||
#include <ircd/hash.h>
|
||||
#include <ircd/s_conf.h>
|
||||
#include <ircd/s_user.h>
|
||||
#include <ircd/s_serv.h>
|
||||
#include <ircd/numeric.h>
|
||||
#include <ircd/privilege.h>
|
||||
#include <ircd/s_newconf.h>
|
||||
|
||||
static const char nokill_desc[] = "Prevents operators from killing services";
|
||||
|
||||
|
|
|
@ -3,14 +3,14 @@
|
|||
* -- jilles
|
||||
*/
|
||||
|
||||
#include "stdinc.h"
|
||||
#include "modules.h"
|
||||
#include "client.h"
|
||||
#include "hook.h"
|
||||
#include "ircd.h"
|
||||
#include "send.h"
|
||||
#include "s_conf.h"
|
||||
#include "s_newconf.h"
|
||||
#include <ircd/stdinc.h>
|
||||
#include <ircd/modules.h>
|
||||
#include <ircd/client.h>
|
||||
#include <ircd/hook.h>
|
||||
#include <ircd/ircd.h>
|
||||
#include <ircd/send.h>
|
||||
#include <ircd/s_conf.h>
|
||||
#include <ircd/s_newconf.h>
|
||||
|
||||
static const char no_locops_desc[] = "Disables local operators";
|
||||
|
||||
|
|
|
@ -4,14 +4,14 @@
|
|||
* -- jilles
|
||||
*/
|
||||
|
||||
#include "stdinc.h"
|
||||
#include "modules.h"
|
||||
#include "client.h"
|
||||
#include "hook.h"
|
||||
#include "ircd.h"
|
||||
#include "send.h"
|
||||
#include "s_conf.h"
|
||||
#include "s_newconf.h"
|
||||
#include <ircd/stdinc.h>
|
||||
#include <ircd/modules.h>
|
||||
#include <ircd/client.h>
|
||||
#include <ircd/hook.h>
|
||||
#include <ircd/ircd.h>
|
||||
#include <ircd/send.h>
|
||||
#include <ircd/s_conf.h>
|
||||
#include <ircd/s_newconf.h>
|
||||
|
||||
static const char noi_desc[] =
|
||||
"Disallow operators from setting user mode +i on themselves";
|
||||
|
|
|
@ -8,19 +8,19 @@
|
|||
* able to use this extension.
|
||||
*/
|
||||
|
||||
#include "stdinc.h"
|
||||
#include "modules.h"
|
||||
#include "hook.h"
|
||||
#include "client.h"
|
||||
#include "ircd.h"
|
||||
#include "send.h"
|
||||
#include "hash.h"
|
||||
#include "s_conf.h"
|
||||
#include "s_user.h"
|
||||
#include "s_serv.h"
|
||||
#include "numeric.h"
|
||||
#include "privilege.h"
|
||||
#include "s_newconf.h"
|
||||
#include <ircd/stdinc.h>
|
||||
#include <ircd/modules.h>
|
||||
#include <ircd/hook.h>
|
||||
#include <ircd/client.h>
|
||||
#include <ircd/ircd.h>
|
||||
#include <ircd/send.h>
|
||||
#include <ircd/hash.h>
|
||||
#include <ircd/s_conf.h>
|
||||
#include <ircd/s_user.h>
|
||||
#include <ircd/s_serv.h>
|
||||
#include <ircd/numeric.h>
|
||||
#include <ircd/privilege.h>
|
||||
#include <ircd/s_newconf.h>
|
||||
|
||||
static const char override_desc[] =
|
||||
"Adds user mode +p, an operator-only user mode that grants temporary privileges to override anything";
|
||||
|
|
|
@ -2,19 +2,19 @@
|
|||
* restrict unauthenticated users from doing anything as channel op
|
||||
*/
|
||||
|
||||
#include "stdinc.h"
|
||||
#include "modules.h"
|
||||
#include "hook.h"
|
||||
#include "client.h"
|
||||
#include "ircd.h"
|
||||
#include "send.h"
|
||||
#include "hash.h"
|
||||
#include "s_conf.h"
|
||||
#include "s_user.h"
|
||||
#include "s_serv.h"
|
||||
#include "numeric.h"
|
||||
#include "privilege.h"
|
||||
#include "s_newconf.h"
|
||||
#include <ircd/stdinc.h>
|
||||
#include <ircd/modules.h>
|
||||
#include <ircd/hook.h>
|
||||
#include <ircd/client.h>
|
||||
#include <ircd/ircd.h>
|
||||
#include <ircd/send.h>
|
||||
#include <ircd/hash.h>
|
||||
#include <ircd/s_conf.h>
|
||||
#include <ircd/s_user.h>
|
||||
#include <ircd/s_serv.h>
|
||||
#include <ircd/numeric.h>
|
||||
#include <ircd/privilege.h>
|
||||
#include <ircd/s_newconf.h>
|
||||
|
||||
static const char restrict_desc[] =
|
||||
"Restrict unautenticated users from doing anything as channel ops";
|
||||
|
|
|
@ -2,15 +2,14 @@
|
|||
* Channel creation notices
|
||||
*/
|
||||
|
||||
#include "stdinc.h"
|
||||
#include "modules.h"
|
||||
#include "client.h"
|
||||
#include "hook.h"
|
||||
#include "ircd.h"
|
||||
#include "send.h"
|
||||
#include "s_conf.h"
|
||||
#include "snomask.h"
|
||||
#include "rb_lib.h"
|
||||
#include <ircd/stdinc.h>
|
||||
#include <ircd/modules.h>
|
||||
#include <ircd/client.h>
|
||||
#include <ircd/hook.h>
|
||||
#include <ircd/ircd.h>
|
||||
#include <ircd/send.h>
|
||||
#include <ircd/s_conf.h>
|
||||
#include <ircd/snomask.h>
|
||||
|
||||
static const char sno_desc[] =
|
||||
"Adds server notice mask +l that allows operators to receive channel creation notices";
|
||||
|
|
|
@ -6,14 +6,14 @@
|
|||
* -- jilles
|
||||
*/
|
||||
|
||||
#include "stdinc.h"
|
||||
#include "modules.h"
|
||||
#include "client.h"
|
||||
#include "hook.h"
|
||||
#include "ircd.h"
|
||||
#include "send.h"
|
||||
#include "s_conf.h"
|
||||
#include "snomask.h"
|
||||
#include <ircd/stdinc.h>
|
||||
#include <ircd/modules.h>
|
||||
#include <ircd/client.h>
|
||||
#include <ircd/hook.h>
|
||||
#include <ircd/ircd.h>
|
||||
#include <ircd/send.h>
|
||||
#include <ircd/s_conf.h>
|
||||
#include <ircd/snomask.h>
|
||||
|
||||
static const char sno_desc[] =
|
||||
"Adds server notice mask +F that allows operators to receive notices for connections on other servers";
|
||||
|
|
|
@ -7,13 +7,13 @@
|
|||
* more data across servers -- jilles
|
||||
*/
|
||||
|
||||
#include "stdinc.h"
|
||||
#include "modules.h"
|
||||
#include "client.h"
|
||||
#include "hook.h"
|
||||
#include "ircd.h"
|
||||
#include "send.h"
|
||||
#include "s_conf.h"
|
||||
#include <ircd/stdinc.h>
|
||||
#include <ircd/modules.h>
|
||||
#include <ircd/client.h>
|
||||
#include <ircd/hook.h>
|
||||
#include <ircd/ircd.h>
|
||||
#include <ircd/send.h>
|
||||
#include <ircd/s_conf.h>
|
||||
|
||||
static const char sno_desc[] =
|
||||
"Adds server notices for global XLINEs, KLINEs, and DLINEs";
|
||||
|
|
|
@ -2,14 +2,14 @@
|
|||
* Remote client nick change notices.
|
||||
*/
|
||||
|
||||
#include "stdinc.h"
|
||||
#include "modules.h"
|
||||
#include "client.h"
|
||||
#include "hook.h"
|
||||
#include "ircd.h"
|
||||
#include "send.h"
|
||||
#include "s_conf.h"
|
||||
#include "snomask.h"
|
||||
#include <ircd/stdinc.h>
|
||||
#include <ircd/modules.h>
|
||||
#include <ircd/client.h>
|
||||
#include <ircd/hook.h>
|
||||
#include <ircd/ircd.h>
|
||||
#include <ircd/send.h>
|
||||
#include <ircd/s_conf.h>
|
||||
#include <ircd/snomask.h>
|
||||
|
||||
static const char sno_desc[] =
|
||||
"Adds server notices for remote nick changes";
|
||||
|
|
|
@ -2,14 +2,14 @@
|
|||
* Remote oper up notices.
|
||||
*/
|
||||
|
||||
#include "stdinc.h"
|
||||
#include "modules.h"
|
||||
#include "client.h"
|
||||
#include "hook.h"
|
||||
#include "ircd.h"
|
||||
#include "send.h"
|
||||
#include "s_conf.h"
|
||||
#include "snomask.h"
|
||||
#include <ircd/stdinc.h>
|
||||
#include <ircd/modules.h>
|
||||
#include <ircd/client.h>
|
||||
#include <ircd/hook.h>
|
||||
#include <ircd/ircd.h>
|
||||
#include <ircd/send.h>
|
||||
#include <ircd/s_conf.h>
|
||||
#include <ircd/snomask.h>
|
||||
|
||||
static const char sno_desc[] =
|
||||
"Adds server notices for remote oper up";
|
||||
|
|
|
@ -6,12 +6,12 @@
|
|||
* (you need to put ~servnotice in oper_only_umodes for this to work).
|
||||
*/
|
||||
|
||||
#include "stdinc.h"
|
||||
#include "modules.h"
|
||||
#include "hook.h"
|
||||
#include "client.h"
|
||||
#include "ircd.h"
|
||||
#include "send.h"
|
||||
#include <ircd/stdinc.h>
|
||||
#include <ircd/modules.h>
|
||||
#include <ircd/hook.h>
|
||||
#include <ircd/client.h>
|
||||
#include <ircd/ircd.h>
|
||||
#include <ircd/send.h>
|
||||
|
||||
/* undefine this to allow anyone to receive whois notifications */
|
||||
#define OPERONLY
|
||||
|
|
|
@ -29,15 +29,15 @@
|
|||
* POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#include "stdinc.h"
|
||||
#include "s_conf.h"
|
||||
#include "numeric.h"
|
||||
#include "modules.h"
|
||||
#include "hook.h"
|
||||
#include "send.h"
|
||||
#include "s_serv.h"
|
||||
#include "hash.h"
|
||||
#include "newconf.h"
|
||||
#include <ircd/stdinc.h>
|
||||
#include <ircd/s_conf.h>
|
||||
#include <ircd/numeric.h>
|
||||
#include <ircd/modules.h>
|
||||
#include <ircd/hook.h>
|
||||
#include <ircd/send.h>
|
||||
#include <ircd/s_serv.h>
|
||||
#include <ircd/hash.h>
|
||||
#include <ircd/newconf.h>
|
||||
#include "spamfilter.h"
|
||||
|
||||
#define PCRE2_STATIC 1
|
||||
|
|
|
@ -29,13 +29,13 @@
|
|||
* POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#include "stdinc.h"
|
||||
#include "modules.h"
|
||||
#include "hook.h"
|
||||
#include "client.h"
|
||||
#include "send.h"
|
||||
#include "hash.h"
|
||||
#include "newconf.h"
|
||||
#include <ircd/stdinc.h>
|
||||
#include <ircd/modules.h>
|
||||
#include <ircd/hook.h>
|
||||
#include <ircd/client.h>
|
||||
#include <ircd/send.h>
|
||||
#include <ircd/hash.h>
|
||||
#include <ircd/newconf.h>
|
||||
#include "spamfilter.h"
|
||||
|
||||
|
||||
|
|
|
@ -19,12 +19,12 @@
|
|||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
* USA
|
||||
*/
|
||||
#include "stdinc.h"
|
||||
#include "modules.h"
|
||||
#include "hook.h"
|
||||
#include "client.h"
|
||||
#include "ircd.h"
|
||||
#include "send.h"
|
||||
#include <ircd/stdinc.h>
|
||||
#include <ircd/modules.h>
|
||||
#include <ircd/hook.h>
|
||||
#include <ircd/client.h>
|
||||
#include <ircd/ircd.h>
|
||||
#include <ircd/send.h>
|
||||
|
||||
static const char spy_desc[] = "Sends a notice when someone uses ADMIN";
|
||||
|
||||
|
|
|
@ -19,12 +19,12 @@
|
|||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
* USA
|
||||
*/
|
||||
#include "stdinc.h"
|
||||
#include "modules.h"
|
||||
#include "hook.h"
|
||||
#include "client.h"
|
||||
#include "ircd.h"
|
||||
#include "send.h"
|
||||
#include <ircd/stdinc.h>
|
||||
#include <ircd/modules.h>
|
||||
#include <ircd/hook.h>
|
||||
#include <ircd/client.h>
|
||||
#include <ircd/ircd.h>
|
||||
#include <ircd/send.h>
|
||||
|
||||
static const char spy_desc[] = "Sends a notice when someone uses INFO";
|
||||
|
||||
|
|
|
@ -19,12 +19,12 @@
|
|||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
* USA
|
||||
*/
|
||||
#include "stdinc.h"
|
||||
#include "modules.h"
|
||||
#include "hook.h"
|
||||
#include "client.h"
|
||||
#include "ircd.h"
|
||||
#include "send.h"
|
||||
#include <ircd/stdinc.h>
|
||||
#include <ircd/modules.h>
|
||||
#include <ircd/hook.h>
|
||||
#include <ircd/client.h>
|
||||
#include <ircd/ircd.h>
|
||||
#include <ircd/send.h>
|
||||
|
||||
static const char spy_desc[] = "Sends a notice when someone uses LINKS";
|
||||
|
||||
|
|
|
@ -19,12 +19,12 @@
|
|||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
* USA
|
||||
*/
|
||||
#include "stdinc.h"
|
||||
#include "modules.h"
|
||||
#include "hook.h"
|
||||
#include "client.h"
|
||||
#include "ircd.h"
|
||||
#include "send.h"
|
||||
#include <ircd/stdinc.h>
|
||||
#include <ircd/modules.h>
|
||||
#include <ircd/hook.h>
|
||||
#include <ircd/client.h>
|
||||
#include <ircd/ircd.h>
|
||||
#include <ircd/send.h>
|
||||
|
||||
static const char spy_desc[] = "Sends a notice when someone looks at the MOTD";
|
||||
|
||||
|
|
|
@ -19,12 +19,12 @@
|
|||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
* USA
|
||||
*/
|
||||
#include "stdinc.h"
|
||||
#include "modules.h"
|
||||
#include "hook.h"
|
||||
#include "client.h"
|
||||
#include "ircd.h"
|
||||
#include "send.h"
|
||||
#include <ircd/stdinc.h>
|
||||
#include <ircd/modules.h>
|
||||
#include <ircd/hook.h>
|
||||
#include <ircd/client.h>
|
||||
#include <ircd/ircd.h>
|
||||
#include <ircd/send.h>
|
||||
|
||||
static const char spy_desc[] = "Sends a notice when someone uses STATS";
|
||||
|
||||
|
|
|
@ -19,12 +19,12 @@
|
|||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
* USA
|
||||
*/
|
||||
#include "stdinc.h"
|
||||
#include "modules.h"
|
||||
#include "hook.h"
|
||||
#include "client.h"
|
||||
#include "ircd.h"
|
||||
#include "send.h"
|
||||
#include <ircd/stdinc.h>
|
||||
#include <ircd/modules.h>
|
||||
#include <ircd/hook.h>
|
||||
#include <ircd/client.h>
|
||||
#include <ircd/ircd.h>
|
||||
#include <ircd/send.h>
|
||||
|
||||
static const char spy_desc[] = "Sends a notice when someone looks at the operator list";
|
||||
|
||||
|
|
|
@ -19,12 +19,12 @@
|
|||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
* USA
|
||||
*/
|
||||
#include "stdinc.h"
|
||||
#include "modules.h"
|
||||
#include "hook.h"
|
||||
#include "client.h"
|
||||
#include "ircd.h"
|
||||
#include "send.h"
|
||||
#include <ircd/stdinc.h>
|
||||
#include <ircd/modules.h>
|
||||
#include <ircd/hook.h>
|
||||
#include <ircd/client.h>
|
||||
#include <ircd/ircd.h>
|
||||
#include <ircd/send.h>
|
||||
|
||||
static const char spy_desc[] = "Sends a notice when someone uses TRACE or LTRACE";
|
||||
|
||||
|
|
|
@ -20,15 +20,15 @@
|
|||
* POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#include "stdinc.h"
|
||||
#include "modules.h"
|
||||
#include "hook.h"
|
||||
#include "client.h"
|
||||
#include "ircd.h"
|
||||
#include "send.h"
|
||||
#include "s_user.h"
|
||||
#include "numeric.h"
|
||||
#include "inline/stringops.h"
|
||||
#include <ircd/stdinc.h>
|
||||
#include <ircd/modules.h>
|
||||
#include <ircd/hook.h>
|
||||
#include <ircd/client.h>
|
||||
#include <ircd/ircd.h>
|
||||
#include <ircd/send.h>
|
||||
#include <ircd/s_user.h>
|
||||
#include <ircd/numeric.h>
|
||||
#include <ircd/inline/stringops.h>
|
||||
|
||||
static const char umode_noctcp_desc[] =
|
||||
"Adds user mode +C which blocks CTCPs to the user.";
|
||||
|
|
2
include/ircd/.gitignore
vendored
Normal file
2
include/ircd/.gitignore
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
setup.h*
|
||||
serno.h
|
|
@ -27,7 +27,6 @@
|
|||
#define CHARYBDIS_AUTHD_H
|
||||
|
||||
#include "stdinc.h"
|
||||
#include "rb_dictionary.h"
|
||||
#include "client.h"
|
||||
|
||||
struct BlacklistStats
|
|
@ -1,8 +1,6 @@
|
|||
#ifndef INCLUDED_CACHE_H
|
||||
#define INCLUDED_CACHE_H
|
||||
|
||||
#include "rb_dictionary.h"
|
||||
|
||||
#define HELP_MAX 100
|
||||
|
||||
#define CACHEFILELEN 30
|
|
@ -22,7 +22,6 @@
|
|||
#define __CAPABILITY_H__
|
||||
|
||||
#include "stdinc.h"
|
||||
#include "rb_dictionary.h"
|
||||
|
||||
struct CapabilityIndex {
|
||||
const char *name;
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue