/* * ircd-ratbox: A slightly useful ircd. * stdinc.h: Pull in all of the necessary system headers * * Copyright (C) 2002 Aaron Sethman * * 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 * */ /////////////////////////////////////////////////////////////////////////////// // // IRCd's namespacing is as follows: // // IRCD_ #define and macro namespace // RB_ #define and macro namespace (legacy, low-level) // ircd_ C namespace and demangled bindings // ircd:: C++ namespace // /////////////////////////////////////////////////////////////////////////////// // // Standard includes // // This header includes almost everything we use out of the standard library. // This is a pre-compiled header. Project build time is significantly reduced // by doing things this way and C++ std headers have very little namespace // pollution and risk of conflicts. // // * If any project header file requires standard library symbols we list it // here, not in our header files. // // * Rare one-off's #includes isolated to a specific .cc file may not always be // listed here but can be. // // * Third party / dependency / non-std includes, are NEVER listed here. // Instead we include those in .cc files, and use forward declarations if // we require a symbol in our API to them. // // Generated by ./configure #include "config.h" extern "C" { #include using ilist = std::initializer_list; } /////////////////////////////////////////////////////////////////////////////// // // libircd API // // Unsorted section namespace ircd { extern boost::asio::io_service *ios; constexpr size_t BUFSIZE { 512 }; struct socket; struct client; } #include "util.h" #include "string_view.h" #include "date.h" #include "rand.h" #include "timer.h" #include "allocator.h" #include "info.h" #include "localee.h" #include "life_guard.h" #include "exception.h" #include "color.h" #include "lexical.h" #include "params.h" #include "iov.h" #include "buffer.h" #include "parse.h" #include "rfc1459.h" #include "json.h" #include "http.h" #include "fmt.h" #include "fs.h" #include "ctx.h" #include "resource.h" #include "logger.h" #include "db.h" #include "js.h" #include "client.h" #include "mods.h" #include "listen.h"