mirror of
https://github.com/matrix-construct/construct
synced 2024-05-20 20:03:45 +02:00
Precompile and remove most include directives. Notes:
* To benefit from the precompiled-header (PCH) it MUST provide "the first C token." Advantages: Never worry about the include stack again. Remember, this means one less thing for random module developers, community people learning C++, and new developers to deal with. It should reduce the learning curve and barrier for participation. Disadvantages: Makes overall compilation a bit slower, especially without any additional work to improve it again. There are several opportunities, places where the PCH is probably being ignored, etc that can be addressed.
This commit is contained in:
parent
029a83a17d
commit
61b517ca3c
|
@ -2,6 +2,7 @@ AUTOMAKE_OPTIONS = foreign
|
|||
ACLOCAL_AMFLAGS = -I m4
|
||||
|
||||
SUBDIRS = include/rb
|
||||
SUBDIRS += include/ircd
|
||||
if BUILD_LTDL
|
||||
SUBDIRS += libltdl
|
||||
endif
|
||||
|
|
|
@ -6,7 +6,11 @@
|
|||
* do so under the terms of the GNU General Public License under which
|
||||
* this library is distributed.
|
||||
*/
|
||||
#include <ircd/stdinc.h>
|
||||
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
#include <stdarg.h>
|
||||
#include "rsdb.h"
|
||||
|
||||
/*
|
||||
|
|
|
@ -58,6 +58,7 @@ dnl
|
|||
AC_CONFIG_FILES(\
|
||||
Makefile \
|
||||
include/rb/Makefile \
|
||||
include/ircd/Makefile \
|
||||
rb/Makefile \
|
||||
authd/Makefile \
|
||||
charybdis/Makefile \
|
||||
|
|
|
@ -3,10 +3,10 @@ extensiondir=@moduledir@/extensions
|
|||
AM_CPPFLAGS = \
|
||||
-I$(top_srcdir)/include \
|
||||
$(LTDLINCL) \
|
||||
@BOOST_CPPFLAGS@
|
||||
@BOOST_CPPFLAGS@ \
|
||||
-include $(top_srcdir)/include/ircd/ircd.h
|
||||
|
||||
if BUILD_PCH
|
||||
AM_CPPFLAGS += -include $(top_srcdir)/include/rb/rb.pic.h
|
||||
endif
|
||||
|
||||
AM_LDFLAGS = \
|
||||
|
|
|
@ -1,15 +1,3 @@
|
|||
#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>
|
||||
|
||||
using namespace ircd;
|
||||
|
||||
static const char chm_adminonly_desc[] =
|
||||
|
|
|
@ -1,15 +1,3 @@
|
|||
#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>
|
||||
|
||||
using namespace ircd;
|
||||
|
||||
static const char chm_insecure_desc[] =
|
||||
|
|
|
@ -21,20 +21,6 @@
|
|||
* POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#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>
|
||||
|
||||
using namespace ircd;
|
||||
|
||||
static const char chm_nonotice_desc[] =
|
||||
|
|
|
@ -1,14 +1,3 @@
|
|||
#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>
|
||||
|
||||
using namespace ircd;
|
||||
|
||||
|
|
|
@ -2,13 +2,6 @@
|
|||
* Treat cmode +-O as +-iI $o.
|
||||
*/
|
||||
|
||||
#include <ircd/stdinc.h>
|
||||
#include <ircd/modules.h>
|
||||
#include <ircd/client.h>
|
||||
#include <ircd/hook.h>
|
||||
#include <ircd/ircd.h>
|
||||
#include <ircd/chmode.h>
|
||||
|
||||
using namespace ircd;
|
||||
|
||||
static const char chm_operonly_compat[] =
|
||||
|
|
|
@ -3,21 +3,6 @@
|
|||
* -- kaniini
|
||||
*/
|
||||
|
||||
#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>
|
||||
|
||||
using namespace ircd;
|
||||
|
||||
static const char chm_operpeace_desc[] =
|
||||
|
|
|
@ -3,13 +3,6 @@
|
|||
* -- jilles
|
||||
*/
|
||||
|
||||
#include <ircd/stdinc.h>
|
||||
#include <ircd/modules.h>
|
||||
#include <ircd/client.h>
|
||||
#include <ircd/hook.h>
|
||||
#include <ircd/ircd.h>
|
||||
#include <ircd/chmode.h>
|
||||
|
||||
using namespace ircd;
|
||||
|
||||
static const char chm_quietunreg_compat_desc[] =
|
||||
|
|
|
@ -29,14 +29,6 @@
|
|||
* POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#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"
|
||||
|
||||
using namespace ircd;
|
||||
|
|
|
@ -1,15 +1,3 @@
|
|||
#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>
|
||||
|
||||
using namespace ircd;
|
||||
|
||||
static const char chm_sslonly_desc[] =
|
||||
|
|
|
@ -2,13 +2,6 @@
|
|||
* Treat cmode +-S as +-b $~z.
|
||||
*/
|
||||
|
||||
#include <ircd/stdinc.h>
|
||||
#include <ircd/modules.h>
|
||||
#include <ircd/client.h>
|
||||
#include <ircd/hook.h>
|
||||
#include <ircd/ircd.h>
|
||||
#include <ircd/chmode.h>
|
||||
|
||||
using namespace ircd;
|
||||
|
||||
static const char chm_sslonly_compat_desc[] =
|
||||
|
|
|
@ -6,16 +6,6 @@
|
|||
* -- nenolod
|
||||
*/
|
||||
|
||||
#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>
|
||||
|
||||
using namespace ircd;
|
||||
|
||||
static const char restrict_desc[] = "Restricts channel creation to authenticated users and IRC operators only";
|
||||
|
|
|
@ -6,16 +6,6 @@
|
|||
* -- nenolod
|
||||
*/
|
||||
|
||||
#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>
|
||||
|
||||
using namespace ircd;
|
||||
|
||||
static const char restrict_desc[] = "Restricts channel creation to IRC operators";
|
||||
|
|
|
@ -18,12 +18,6 @@
|
|||
*/
|
||||
|
||||
/* List of ircd includes from ../include/ */
|
||||
#include <ircd/stdinc.h>
|
||||
#include <ircd/modules.h>
|
||||
#include <ircd/hook.h>
|
||||
#include <ircd/client.h>
|
||||
#include <ircd/ircd.h>
|
||||
#include <ircd/send.h>
|
||||
|
||||
using namespace ircd;
|
||||
|
||||
|
|
|
@ -3,11 +3,6 @@
|
|||
* -- jilles
|
||||
*/
|
||||
|
||||
#include <ircd/stdinc.h>
|
||||
#include <ircd/modules.h>
|
||||
#include <ircd/client.h>
|
||||
#include <ircd/ircd.h>
|
||||
|
||||
using namespace ircd;
|
||||
|
||||
static const char extb_desc[] = "Account ($a) extban type";
|
||||
|
|
|
@ -4,13 +4,6 @@
|
|||
* -- nenolod/jilles
|
||||
*/
|
||||
|
||||
#include <ircd/stdinc.h>
|
||||
#include <ircd/modules.h>
|
||||
#include <ircd/client.h>
|
||||
#include <ircd/channel.h>
|
||||
#include <ircd/hash.h>
|
||||
#include <ircd/ircd.h>
|
||||
|
||||
using namespace ircd;
|
||||
|
||||
static const char extb_desc[] = "Can join ($j) extban type - matches users who are or are not banned from a specified channel";
|
||||
|
|
|
@ -3,13 +3,6 @@
|
|||
* -- jilles
|
||||
*/
|
||||
|
||||
#include <ircd/stdinc.h>
|
||||
#include <ircd/modules.h>
|
||||
#include <ircd/client.h>
|
||||
#include <ircd/channel.h>
|
||||
#include <ircd/hash.h>
|
||||
#include <ircd/ircd.h>
|
||||
|
||||
using namespace ircd;
|
||||
|
||||
static const char extb_desc[] = "Channel ($c) extban type";
|
||||
|
|
|
@ -37,11 +37,6 @@
|
|||
* I suspect it is, but have done no load testing.
|
||||
*/
|
||||
|
||||
#include <ircd/stdinc.h>
|
||||
#include <ircd/modules.h>
|
||||
#include <ircd/client.h>
|
||||
#include <ircd/ircd.h>
|
||||
|
||||
using namespace ircd;
|
||||
|
||||
static const char extb_desc[] = "Combination ($&, $|) extban types";
|
||||
|
|
|
@ -4,11 +4,6 @@
|
|||
* - nenolod
|
||||
*/
|
||||
|
||||
#include <ircd/stdinc.h>
|
||||
#include <ircd/modules.h>
|
||||
#include <ircd/client.h>
|
||||
#include <ircd/ircd.h>
|
||||
|
||||
using namespace ircd;
|
||||
|
||||
static const char extb_desc[] = "Extended mask ($x) extban type";
|
||||
|
|
|
@ -3,11 +3,6 @@
|
|||
* -- kaniini
|
||||
*/
|
||||
|
||||
#include <ircd/stdinc.h>
|
||||
#include <ircd/modules.h>
|
||||
#include <ircd/client.h>
|
||||
#include <ircd/ircd.h>
|
||||
|
||||
using namespace ircd;
|
||||
|
||||
static const char extb_desc[] = "Hostmask ($m) extban type";
|
||||
|
|
|
@ -3,13 +3,6 @@
|
|||
* -- jilles
|
||||
*/
|
||||
|
||||
#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>
|
||||
|
||||
using namespace ircd;
|
||||
|
||||
static const char extb_desc[] = "Oper ($o) extban type";
|
||||
|
|
|
@ -3,11 +3,6 @@
|
|||
* -- jilles
|
||||
*/
|
||||
|
||||
#include <ircd/stdinc.h>
|
||||
#include <ircd/modules.h>
|
||||
#include <ircd/client.h>
|
||||
#include <ircd/ircd.h>
|
||||
|
||||
using namespace ircd;
|
||||
|
||||
static const char extb_desc[] = "Realname/GECOS ($r) extban type";
|
||||
|
|
|
@ -3,11 +3,6 @@
|
|||
* -- jilles
|
||||
*/
|
||||
|
||||
#include <ircd/stdinc.h>
|
||||
#include <ircd/modules.h>
|
||||
#include <ircd/client.h>
|
||||
#include <ircd/ircd.h>
|
||||
|
||||
using namespace ircd;
|
||||
|
||||
static const char extb_desc[] = "Server ($s) extban type";
|
||||
|
|
|
@ -1,10 +1,5 @@
|
|||
/* SSL extban type: matches ssl users */
|
||||
|
||||
#include <ircd/stdinc.h>
|
||||
#include <ircd/modules.h>
|
||||
#include <ircd/client.h>
|
||||
#include <ircd/ircd.h>
|
||||
|
||||
using namespace ircd;
|
||||
|
||||
static const char extb_desc[] = "SSL/TLS ($z) extban type";
|
||||
|
|
|
@ -3,18 +3,6 @@
|
|||
* -- nenolod
|
||||
*/
|
||||
|
||||
#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>
|
||||
|
||||
using namespace ircd;
|
||||
|
||||
static const char extb_desc[] = "Usermode ($m) extban type";
|
||||
|
|
|
@ -6,15 +6,6 @@
|
|||
* Note that +i must be included in default_umodes
|
||||
*/
|
||||
|
||||
#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>
|
||||
|
||||
using namespace ircd;
|
||||
|
||||
static const char noi_desc[] =
|
||||
|
|
|
@ -3,17 +3,6 @@
|
|||
* -- kaniini
|
||||
*/
|
||||
|
||||
#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>
|
||||
|
||||
using namespace ircd;
|
||||
|
||||
static const char helpops_desc[] = "The helpops system as used by freenode";
|
||||
|
|
|
@ -3,15 +3,6 @@
|
|||
* -- kaniini
|
||||
*/
|
||||
|
||||
#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>
|
||||
|
||||
using namespace ircd;
|
||||
|
||||
static const char hide_desc[] = "Hides channel memberships not shared";
|
||||
|
|
|
@ -4,19 +4,6 @@
|
|||
* Copyright (C) 2006 charybdis development team
|
||||
* All rights reserved
|
||||
*/
|
||||
#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>
|
||||
|
||||
using namespace ircd;
|
||||
|
||||
|
|
|
@ -5,18 +5,6 @@
|
|||
* Written originally by nenolod, altered to use FNV by Elizabeth in 2008
|
||||
*/
|
||||
|
||||
#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>
|
||||
|
||||
using namespace ircd;
|
||||
|
||||
static const char ip_cloaking_desc[] = "IP cloaking module that uses user mode +h";
|
||||
|
|
|
@ -1,15 +1,3 @@
|
|||
|
||||
#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>
|
||||
|
||||
using namespace ircd;
|
||||
|
||||
static const char ip_cloaking_desc[] = "The old IP cloaking mechanism version 3.0";
|
||||
|
|
|
@ -5,18 +5,6 @@
|
|||
* Written originally by nenolod, altered to use FNV by Elizabeth in 2008
|
||||
*/
|
||||
|
||||
#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>
|
||||
|
||||
using namespace ircd;
|
||||
|
||||
static const char ip_cloaking_desc[] = "New IP cloaking module that uses user mode +x instead of +h";
|
||||
|
|
|
@ -1,15 +1,3 @@
|
|||
|
||||
#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>
|
||||
|
||||
using namespace ircd;
|
||||
|
||||
static const char ip_cloaking_desc[] = "Very old IP cloaking mechanism";
|
||||
|
|
|
@ -22,21 +22,6 @@
|
|||
* USA
|
||||
*/
|
||||
|
||||
#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>
|
||||
|
||||
using namespace ircd;
|
||||
|
||||
static const char adminwall_desc[] =
|
||||
|
|
|
@ -1,9 +1,3 @@
|
|||
#include <ircd/stdinc.h>
|
||||
#include <ircd/modules.h>
|
||||
#include <ircd/client.h>
|
||||
#include <ircd/ircd.h>
|
||||
#include <ircd/send.h>
|
||||
|
||||
using namespace ircd;
|
||||
|
||||
static void m_echotags(struct MsgBuf *msgbuf_p, struct Client *client_p, struct Client *source_p, int parc, const char *parv[]);
|
||||
|
|
|
@ -24,13 +24,6 @@
|
|||
* USA
|
||||
*/
|
||||
|
||||
#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>
|
||||
|
||||
using namespace ircd;
|
||||
|
||||
static const char extendchans_desc[] =
|
||||
|
|
|
@ -17,22 +17,6 @@
|
|||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
*/
|
||||
#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>
|
||||
|
||||
using namespace ircd;
|
||||
|
||||
|
|
|
@ -29,20 +29,6 @@
|
|||
* POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#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,21 +22,6 @@
|
|||
* USA
|
||||
*/
|
||||
|
||||
#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>
|
||||
|
||||
using namespace ircd;
|
||||
|
||||
static const char locops_desc[] =
|
||||
|
|
|
@ -5,16 +5,6 @@
|
|||
* You can use this code in any way as long as these names remain.
|
||||
*/
|
||||
|
||||
#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>
|
||||
|
||||
using namespace ircd;
|
||||
|
||||
const char mkpasswd_desc[] = "Hash a password for use in ircd.conf";
|
||||
|
|
|
@ -17,24 +17,6 @@
|
|||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
*/
|
||||
|
||||
#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>
|
||||
|
||||
using namespace ircd;
|
||||
|
||||
static const char ojoin_desc[] = "Allow admins to forcibly join channels with the OJOIN command";
|
||||
|
|
|
@ -21,23 +21,6 @@
|
|||
* USA
|
||||
*/
|
||||
|
||||
#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>
|
||||
|
||||
using namespace ircd;
|
||||
|
||||
static const char okick_desc[] = "Allow admins to forcibly kick users from channels with the OKICK command";
|
||||
|
|
|
@ -23,25 +23,6 @@
|
|||
* USA
|
||||
*/
|
||||
|
||||
#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>
|
||||
|
||||
using namespace ircd;
|
||||
|
||||
static const char omode_desc[] = "Allow admins to forcibly change modes on channels with the OMODE command";
|
||||
|
|
|
@ -16,23 +16,6 @@
|
|||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
*/
|
||||
#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>
|
||||
|
||||
using namespace ircd;
|
||||
|
||||
|
|
|
@ -22,23 +22,6 @@
|
|||
* USA
|
||||
*/
|
||||
|
||||
#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>
|
||||
|
||||
using namespace ircd;
|
||||
|
||||
static const char description[] = "Provides the REMOVE command, an alternative to KICK";
|
||||
|
|
|
@ -13,22 +13,6 @@
|
|||
* is the nickname of the user running the commands.
|
||||
*/
|
||||
|
||||
|
||||
#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>
|
||||
|
||||
using namespace ircd;
|
||||
|
||||
static const char roleplay_desc[] =
|
||||
|
|
|
@ -29,20 +29,6 @@
|
|||
* POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#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>
|
||||
|
||||
using namespace ircd;
|
||||
|
||||
static const char sendbands_desc[] =
|
||||
|
|
|
@ -38,21 +38,6 @@
|
|||
* cgiirc.config
|
||||
*/
|
||||
|
||||
#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>
|
||||
|
||||
using namespace ircd;
|
||||
|
||||
static const char webirc_desc[] = "Adds support for the WebIRC system";
|
||||
|
|
|
@ -6,20 +6,6 @@
|
|||
* Licensed under the WTFPLv2
|
||||
*/
|
||||
|
||||
#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>
|
||||
|
||||
using namespace ircd;
|
||||
|
||||
static const char nokill_desc[] = "Prevents operators from killing services";
|
||||
|
|
|
@ -3,15 +3,6 @@
|
|||
* -- jilles
|
||||
*/
|
||||
|
||||
#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>
|
||||
|
||||
using namespace ircd;
|
||||
|
||||
static const char no_locops_desc[] = "Disables local operators";
|
||||
|
|
|
@ -4,15 +4,6 @@
|
|||
* -- jilles
|
||||
*/
|
||||
|
||||
#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>
|
||||
|
||||
using namespace ircd;
|
||||
|
||||
static const char noi_desc[] =
|
||||
|
|
|
@ -8,20 +8,6 @@
|
|||
* able to use this extension.
|
||||
*/
|
||||
|
||||
#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>
|
||||
|
||||
using namespace ircd;
|
||||
|
||||
static const char override_desc[] =
|
||||
|
|
|
@ -2,20 +2,6 @@
|
|||
* restrict unauthenticated users from doing anything as channel op
|
||||
*/
|
||||
|
||||
#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>
|
||||
|
||||
using namespace ircd;
|
||||
|
||||
static const char restrict_desc[] =
|
||||
|
|
|
@ -2,15 +2,6 @@
|
|||
* Channel creation notices
|
||||
*/
|
||||
|
||||
#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>
|
||||
|
||||
using namespace ircd;
|
||||
|
||||
static const char sno_desc[] =
|
||||
|
|
|
@ -6,15 +6,6 @@
|
|||
* -- jilles
|
||||
*/
|
||||
|
||||
#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>
|
||||
|
||||
using namespace ircd;
|
||||
|
||||
static const char sno_desc[] =
|
||||
|
|
|
@ -7,14 +7,6 @@
|
|||
* more data across servers -- jilles
|
||||
*/
|
||||
|
||||
#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>
|
||||
|
||||
using namespace ircd;
|
||||
|
||||
static const char sno_desc[] =
|
||||
|
|
|
@ -2,15 +2,6 @@
|
|||
* Remote client nick change notices.
|
||||
*/
|
||||
|
||||
#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>
|
||||
|
||||
using namespace ircd;
|
||||
|
||||
static const char sno_desc[] =
|
||||
|
|
|
@ -2,15 +2,6 @@
|
|||
* Remote oper up notices.
|
||||
*/
|
||||
|
||||
#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>
|
||||
|
||||
using namespace ircd;
|
||||
|
||||
static const char sno_desc[] =
|
||||
|
|
|
@ -6,13 +6,6 @@
|
|||
* (you need to put ~servnotice in oper_only_umodes for this to work).
|
||||
*/
|
||||
|
||||
#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,6 @@
|
|||
* POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#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,6 @@
|
|||
* POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#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"
|
||||
|
||||
using namespace ircd;
|
||||
|
|
|
@ -19,12 +19,6 @@
|
|||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
* USA
|
||||
*/
|
||||
#include <ircd/stdinc.h>
|
||||
#include <ircd/modules.h>
|
||||
#include <ircd/hook.h>
|
||||
#include <ircd/client.h>
|
||||
#include <ircd/ircd.h>
|
||||
#include <ircd/send.h>
|
||||
|
||||
using namespace ircd;
|
||||
|
||||
|
|
|
@ -19,12 +19,6 @@
|
|||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
* USA
|
||||
*/
|
||||
#include <ircd/stdinc.h>
|
||||
#include <ircd/modules.h>
|
||||
#include <ircd/hook.h>
|
||||
#include <ircd/client.h>
|
||||
#include <ircd/ircd.h>
|
||||
#include <ircd/send.h>
|
||||
|
||||
using namespace ircd;
|
||||
|
||||
|
|
|
@ -19,12 +19,6 @@
|
|||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
* USA
|
||||
*/
|
||||
#include <ircd/stdinc.h>
|
||||
#include <ircd/modules.h>
|
||||
#include <ircd/hook.h>
|
||||
#include <ircd/client.h>
|
||||
#include <ircd/ircd.h>
|
||||
#include <ircd/send.h>
|
||||
|
||||
using namespace ircd;
|
||||
|
||||
|
|
|
@ -19,12 +19,6 @@
|
|||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
* USA
|
||||
*/
|
||||
#include <ircd/stdinc.h>
|
||||
#include <ircd/modules.h>
|
||||
#include <ircd/hook.h>
|
||||
#include <ircd/client.h>
|
||||
#include <ircd/ircd.h>
|
||||
#include <ircd/send.h>
|
||||
|
||||
using namespace ircd;
|
||||
|
||||
|
|
|
@ -19,12 +19,6 @@
|
|||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
* USA
|
||||
*/
|
||||
#include <ircd/stdinc.h>
|
||||
#include <ircd/modules.h>
|
||||
#include <ircd/hook.h>
|
||||
#include <ircd/client.h>
|
||||
#include <ircd/ircd.h>
|
||||
#include <ircd/send.h>
|
||||
|
||||
using namespace ircd;
|
||||
|
||||
|
|
|
@ -19,12 +19,6 @@
|
|||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
* USA
|
||||
*/
|
||||
#include <ircd/stdinc.h>
|
||||
#include <ircd/modules.h>
|
||||
#include <ircd/hook.h>
|
||||
#include <ircd/client.h>
|
||||
#include <ircd/ircd.h>
|
||||
#include <ircd/send.h>
|
||||
|
||||
using namespace ircd;
|
||||
|
||||
|
|
|
@ -19,12 +19,6 @@
|
|||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
* USA
|
||||
*/
|
||||
#include <ircd/stdinc.h>
|
||||
#include <ircd/modules.h>
|
||||
#include <ircd/hook.h>
|
||||
#include <ircd/client.h>
|
||||
#include <ircd/ircd.h>
|
||||
#include <ircd/send.h>
|
||||
|
||||
using namespace ircd;
|
||||
|
||||
|
|
|
@ -20,16 +20,6 @@
|
|||
* POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#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>
|
||||
|
||||
using namespace ircd;
|
||||
|
||||
static const char umode_noctcp_desc[] =
|
||||
|
|
1
include/ircd/.gitignore
vendored
1
include/ircd/.gitignore
vendored
|
@ -1,2 +1,3 @@
|
|||
setup.h*
|
||||
serno.h
|
||||
stdinc.pic*
|
||||
|
|
26
include/ircd/Makefile.am
Normal file
26
include/ircd/Makefile.am
Normal file
|
@ -0,0 +1,26 @@
|
|||
AUTOMAKE_OPTIONS = foreign
|
||||
|
||||
|
||||
AM_CPPFLAGS = \
|
||||
-I$(top_srcdir)/include \
|
||||
@BOOST_CPPFLAGS@
|
||||
|
||||
if GCC
|
||||
AM_CXXFLAGS = -fpch-deps
|
||||
endif
|
||||
|
||||
if BUILD_PCH
|
||||
BUILT_SOURCES = stdinc.h.gch stdinc.pic.h.gch
|
||||
endif
|
||||
|
||||
stdinc.h.gch:
|
||||
$(CXX) $(CXXFLAGS) $(AM_CXXFLAGS) -o stdinc.h.gch $(DEFS) $(CPPFLAGS) $(AM_CPPFLAGS) stdinc.h
|
||||
|
||||
stdinc.pic.h.gch:
|
||||
cp stdinc.h stdinc.pic.h
|
||||
$(CXX) $(CXXFLAGS) $(AM_CXXFLAGS) -fPIC -o stdinc.pic.h.gch $(DEFS) $(CPPFLAGS) $(AM_CPPFLAGS) stdinc.pic.h
|
||||
|
||||
clean-local:
|
||||
rm -f stdinc.h.gch
|
||||
rm -f stdinc.pic.h
|
||||
rm -f stdinc.pic.h.gch
|
|
@ -26,9 +26,6 @@
|
|||
#pragma once
|
||||
#define HAVE_CHARYBDIS_AUTHPROC_H
|
||||
|
||||
#include "stdinc.h"
|
||||
#include "client.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
namespace ircd {
|
||||
|
||||
|
|
|
@ -25,9 +25,6 @@
|
|||
#pragma once
|
||||
#define HAVE_IRCD_CHANNEL_H
|
||||
|
||||
#include "stdinc.h"
|
||||
#include "chmode.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
namespace ircd {
|
||||
|
||||
|
|
|
@ -26,15 +26,6 @@
|
|||
#pragma once
|
||||
#define HAVE_IRCD_CLIENT_H
|
||||
|
||||
#include "stdinc.h"
|
||||
#include "defaults.h"
|
||||
#include "channel.h"
|
||||
#include "dns.h"
|
||||
#include "snomask.h"
|
||||
#include "match.h"
|
||||
#include "ircd.h"
|
||||
#include "privilege.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
namespace ircd {
|
||||
|
||||
|
|
|
@ -26,9 +26,6 @@
|
|||
#pragma once
|
||||
#define HAVE_IRCD_DNS_H
|
||||
|
||||
#include "stdinc.h"
|
||||
#include "authproc.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
namespace ircd {
|
||||
|
||||
|
|
|
@ -26,9 +26,6 @@
|
|||
#pragma once
|
||||
#define HAVE_IRCD_EXCEPTION_H
|
||||
|
||||
#include "stdinc.h"
|
||||
#include "util.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
namespace ircd {
|
||||
|
||||
|
|
|
@ -25,9 +25,6 @@
|
|||
#pragma once
|
||||
#define HAVE_IRCD_HASH_H
|
||||
|
||||
#include <rb/dictionary.h>
|
||||
#include <rb/radixtree.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
namespace ircd {
|
||||
|
||||
|
|
|
@ -25,9 +25,11 @@
|
|||
#pragma once
|
||||
#define HAVE_IRCD_H
|
||||
|
||||
#if defined(PIC) && defined(PCH)
|
||||
#include "stdinc.pic.h"
|
||||
#else
|
||||
#include "stdinc.h"
|
||||
#include "util.h"
|
||||
#include "exception.h"
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
namespace ircd {
|
||||
|
|
|
@ -25,8 +25,6 @@
|
|||
#pragma once
|
||||
#define HAVE_IRCD_LISTENER_H
|
||||
|
||||
#include "stdinc.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
namespace ircd {
|
||||
|
||||
|
|
|
@ -32,8 +32,6 @@
|
|||
#pragma once
|
||||
#define HAVE_IRCD_LOGGER_H
|
||||
|
||||
#include "defaults.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
namespace ircd {
|
||||
|
||||
|
|
|
@ -25,8 +25,6 @@
|
|||
#pragma once
|
||||
#define HAVE_IRCD_INFO_H
|
||||
|
||||
#include "defaults.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
namespace ircd {
|
||||
|
||||
|
@ -39,6 +37,7 @@ typedef struct Information
|
|||
}
|
||||
Info;
|
||||
|
||||
static
|
||||
Info MyInformation[] = {
|
||||
|
||||
#ifdef CPATH
|
||||
|
|
|
@ -25,8 +25,6 @@
|
|||
#pragma once
|
||||
#define HAVE_IRCD_MATCH_H
|
||||
|
||||
#include "stdinc.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
namespace ircd {
|
||||
|
||||
|
|
|
@ -25,17 +25,10 @@
|
|||
#pragma once
|
||||
#define HAVE_IRCD_MODULES_H
|
||||
|
||||
#include "stdinc.h"
|
||||
#include "defaults.h"
|
||||
#include "parse.h"
|
||||
|
||||
#define MAPI_CHARYBDIS 2
|
||||
|
||||
#include <ltdl.h>
|
||||
|
||||
#include "msg.h"
|
||||
#include "hook.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
namespace ircd {
|
||||
|
||||
|
|
|
@ -25,9 +25,6 @@
|
|||
#pragma once
|
||||
#define HAVE_IRCD_MSG_H
|
||||
|
||||
#include "defaults.h"
|
||||
#include "msgbuf.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
namespace ircd {
|
||||
|
||||
|
|
|
@ -22,8 +22,6 @@
|
|||
#pragma once
|
||||
#define HAVE_IRCD_MSGBUF_H
|
||||
|
||||
#include "s_assert.h"
|
||||
|
||||
#define MAXPARA (15)
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
|
|
@ -25,9 +25,6 @@
|
|||
#pragma once
|
||||
#define HAVE_IRCD_NUMERIC_H
|
||||
|
||||
#include "defaults.h"
|
||||
#include "messages.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
namespace ircd {
|
||||
|
||||
|
|
|
@ -25,8 +25,6 @@
|
|||
#pragma once
|
||||
#define HAVE_IRCD_PARSE_H
|
||||
|
||||
#include <rb/dictionary.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
namespace ircd {
|
||||
|
||||
|
|
|
@ -25,8 +25,6 @@
|
|||
#pragma once
|
||||
#define HAVE_IRCD_PATCHLEVEL_H
|
||||
|
||||
#include "stdinc.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
namespace ircd {
|
||||
|
||||
|
|
|
@ -24,8 +24,6 @@
|
|||
#pragma once
|
||||
#define HAVE_IRCD_PRIVILEGE_H
|
||||
|
||||
#include "stdinc.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
namespace ircd {
|
||||
|
||||
|
|
|
@ -26,14 +26,8 @@
|
|||
#pragma once
|
||||
#define HAVE_IRCD_S_ASSERT_H
|
||||
|
||||
#include "defaults.h"
|
||||
|
||||
#ifdef SOFT_ASSERT
|
||||
|
||||
#include "logger.h"
|
||||
#include "send.h"
|
||||
#include "snomask.h"
|
||||
|
||||
#ifdef __GNUC__
|
||||
#define s_assert(expr) do \
|
||||
if(!(expr)) { \
|
||||
|
|
|
@ -25,15 +25,10 @@
|
|||
#pragma once
|
||||
#define HAVE_IRCD_S_CONF_H
|
||||
|
||||
#include "stdinc.h"
|
||||
|
||||
#ifdef HAVE_LIBCRYPTO
|
||||
#include <openssl/rsa.h>
|
||||
#endif
|
||||
|
||||
#include "class.h"
|
||||
#include "client.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
namespace ircd {
|
||||
|
||||
|
|
|
@ -33,9 +33,6 @@
|
|||
#pragma once
|
||||
#define HAVE_IRCD_S_NEWCONF_H
|
||||
|
||||
#include "stdinc.h"
|
||||
#include "privilege.h"
|
||||
|
||||
#ifdef HAVE_LIBCRYPTO
|
||||
#include <openssl/rsa.h>
|
||||
#endif
|
||||
|
|
|
@ -25,9 +25,6 @@
|
|||
#pragma once
|
||||
#define HAVE_IRCD_SERV_H
|
||||
|
||||
#include "defaults.h"
|
||||
#include "capability.h"
|
||||
|
||||
/*
|
||||
* The number of seconds between calls to try_connections(). Fiddle with
|
||||
* this ONLY if you KNOW what you're doing!
|
||||
|
|
|
@ -25,8 +25,6 @@
|
|||
#pragma once
|
||||
#define HAVE_IRCD_S_USER_H
|
||||
|
||||
#include "defaults.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
namespace ircd {
|
||||
|
||||
|
|
|
@ -25,8 +25,6 @@
|
|||
#pragma once
|
||||
#define HAVE_IRCD_SEND_H
|
||||
|
||||
#include <rb/rb.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
namespace ircd {
|
||||
|
||||
|
|
|
@ -34,8 +34,6 @@
|
|||
#pragma once
|
||||
#define HAVE_IRCD_SNOMASK_H
|
||||
|
||||
#include "client.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
namespace ircd {
|
||||
|
||||
|
|
|
@ -29,4 +29,58 @@
|
|||
|
||||
#include "util.h"
|
||||
#include "defaults.h"
|
||||
#include "exception.h"
|
||||
#include "fs.h"
|
||||
#include "listener.h"
|
||||
#include "s_assert.h"
|
||||
|
||||
#include "authproc.h"
|
||||
#include "bandbi.h"
|
||||
#include "cache.h"
|
||||
#include "capability.h"
|
||||
#include "certfp.h"
|
||||
#include "channel.h"
|
||||
#include "chmode.h"
|
||||
#include "class.h"
|
||||
#include "client.h"
|
||||
#include "dns.h"
|
||||
#include "hash.h"
|
||||
#include "hook.h"
|
||||
#include "hostmask.h"
|
||||
#include "ircd_getopt.h"
|
||||
#include "ircd_linker.h"
|
||||
#include "ircd_signal.h"
|
||||
#include "logger.h"
|
||||
#include "match.h"
|
||||
#include "messages.h"
|
||||
#include "m_info.h"
|
||||
#include "modules.h"
|
||||
#include "monitor.h"
|
||||
#include "msgbuf.h"
|
||||
#include "msg.h"
|
||||
#include "newconf.h"
|
||||
#include "numeric.h"
|
||||
#include "operhash.h"
|
||||
#include "packet.h"
|
||||
#include "parse.h"
|
||||
#include "patchlevel.h"
|
||||
#include "privilege.h"
|
||||
#include "ratelimit.h"
|
||||
#include "reject.h"
|
||||
#include "restart.h"
|
||||
#include "scache.h"
|
||||
#include "s_conf.h"
|
||||
#include "send.h"
|
||||
#include "s_newconf.h"
|
||||
#include "snomask.h"
|
||||
#include "s_serv.h"
|
||||
#include "sslproc.h"
|
||||
#include "s_stats.h"
|
||||
#include "substitution.h"
|
||||
#include "supported.h"
|
||||
#include "s_user.h"
|
||||
#include "tgchange.h"
|
||||
#include "whowas.h"
|
||||
#include "wsproc.h"
|
||||
|
||||
#include "inline/stringops.h"
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue