0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-10-31 02:48:58 +01:00
construct/include/ircd/stdinc.h

146 lines
3 KiB
C
Raw Normal View History

/*
* ircd-ratbox: A slightly useful ircd.
* stdinc.h: Pull in all of the necessary system headers
*
* Copyright (C) 2002 Aaron Sethman <androsyn@ratbox.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
* USA
*
*/
2016-08-13 04:41:59 +02:00
#if defined(PIC) && defined(PCH)
#include <rb/rb.pic.h>
#else
#include <rb/rb.h>
2016-08-13 04:41:59 +02:00
#endif
2016-09-10 21:57:33 +02:00
// TODO: move
// Allow a reference to an ios to be passed to ircd
#ifdef __cplusplus
namespace boost {
namespace asio {
struct io_service;
} // namespace asio
} // namespace boost
#endif // __cplusplus
namespace ircd
{
using std::begin;
using std::end;
using std::get;
using ostream = std::ostream;
2016-09-05 17:53:36 +02:00
namespace ph = std::placeholders;
using namespace std::string_literals;
using namespace std::literals::chrono_literals;
}
2016-08-23 04:33:36 +02:00
// Temp fwd decl scaffold
namespace ircd
{
2016-09-10 21:57:33 +02:00
extern boost::asio::io_service *ios;
2016-08-23 04:33:36 +02:00
namespace client
{
struct client;
struct LocalUser;
struct PreClient;
struct ListClient;
}
namespace chan
{
struct chan;
struct membership;
}
struct ConfItem;
struct DNSReply;
struct Listener;
struct Blacklist;
struct PrivilegeSet;
struct _ssl_ctl;
struct ev_ctl;
struct ws_ctl;
struct server_conf;
}
2016-08-13 00:21:10 +02:00
#include "util.h"
#include "util_timer.h"
#include "defaults.h"
#include "exception.h"
#include "numeric.h"
#include "color.h"
#include "messages.h"
#include "rfc1459.h"
#include "err.h"
#include "fs.h"
#include "s_assert.h"
2016-08-19 07:58:17 +02:00
#include "match.h"
#include "mode_table.h"
#include "mode_lease.h"
2016-08-26 13:50:12 +02:00
#include "snomask.h"
2016-09-05 17:53:36 +02:00
#include "ctx.h"
#include "ctx_dock.h"
2016-08-24 12:11:01 +02:00
#include "cache.h"
2016-08-25 04:52:37 +02:00
#include "whowas.h"
#include "tgchange.h"
2016-08-23 04:33:36 +02:00
#include "msgbuf.h"
2016-09-08 23:24:33 +02:00
#include "line.h"
#include "tape.h"
#include "cmds.h"
#include "client.h"
#include "mask.h"
#include "chmode.h"
#include "channel.h"
#include "logger.h"
#include "newconf.h"
#include "conf.h"
#include "authproc.h"
#include "bandbi.h"
#include "capability.h"
#include "certfp.h"
#include "class.h"
#include "dns.h"
#include "hash.h"
#include "hook.h"
#include "ircd_getopt.h"
#include "listener.h"
#include "info.h"
#include "modules.h"
#include "monitor.h"
#include "operhash.h"
#include "packet.h"
#include "privilege.h"
#include "ratelimit.h"
#include "reject.h"
#include "send.h"
#include "s_newconf.h"
#include "s_serv.h"
#include "sslproc.h"
#include "s_stats.h"
#include "substitution.h"
#include "supported.h"
#include "s_user.h"
#include "wsproc.h"
#include "stringops.h"