0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-30 10:42:47 +01:00
construct/include/ircd/ircd.h

125 lines
3.1 KiB
C
Raw Normal View History

// The Construct
2018-02-04 03:22:01 +01:00
//
// Copyright (C) Construct Developers, Authors & Contributors
// Copyright (C) 2016-2020 Jason Volk <jason@zemos.net>
2018-02-04 03:22:01 +01:00
//
// 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. The
// full license for this software is available in the LICENSE file.
2019-04-21 00:41:11 +02:00
#ifndef HAVE_IRCD_IRCD_H
#define HAVE_IRCD_IRCD_H
//////////////////////////////////////////////////////////////////////////////>
//
// This is an aggregate header which ties together the general public
// interfaces for IRCd. Include this header to operate and embed the library in
// your application; no other includes from the project should be required.
//
// This header only includes standard library headers; we may forward declare
// third-party symbols, but only if their headers are not required.
//
//////////////////////////////////////////////////////////////////////////////>
//
// Project configuration
//
#include "config.h" // Generated by ./configure; do not edit
#include "assert.h" // Custom assert (during debug builds)
#include "portable.h" // Additional developer config; editable
//
// Standard library includes
//
#include "stdinc.h"
//
// Project library interfaces
//
#include "string_view.h"
#include "vector_view.h"
#include "byte_view.h"
#include "buffer/buffer.h"
2019-10-16 01:45:57 +02:00
#include "leb128.h"
#include "allocator.h"
#include "util/util.h"
#include "exception.h"
#include "panic.h"
#include "run.h"
#include "demangle.h"
2019-09-20 07:02:57 +02:00
#include "backtrace.h"
#include "localee.h"
#include "timedate.h"
#include "logger.h"
#include "info.h"
#include "nacl.h"
#include "rand.h"
#include "crh.h"
#include "ed25519.h"
#include "color.h"
#include "lex_cast.h"
#include "base.h"
#include "stringops.h"
#include "strl.h"
2019-09-18 18:49:40 +02:00
#include "strn.h"
#include "cmp.h"
#include "globular.h"
#include "tokens.h"
#include "iov.h"
#include "grammar.h"
#include "parse.h"
#include "rfc1459.h"
#include "json/json.h"
#include "cbor/cbor.h"
#include "openssl.h"
2020-02-12 00:38:27 +01:00
#include "pbc.h"
#include "fmt.h"
#include "http.h"
#include "http2/http2.h"
#include "magics.h"
#include "conf.h"
#include "stats.h"
#include "prof/prof.h"
#include "fs/fs.h"
#include "ios.h"
#include "ctx/ctx.h"
#include "db/db.h"
#include "js.h"
#include "mods/mods.h"
#include "rfc1035.h"
#include "rfc3986.h"
#include "net/net.h"
#include "server/server.h"
2019-09-25 02:55:01 +02:00
#include "magick.h"
2019-02-18 19:40:21 +01:00
#include "resource/resource.h"
#include "client.h"
/// \brief Internet Relay Chat daemon. This is the principal namespace for IRCd.
///
namespace ircd
{
// Library version information (also see info.h for more version related)
extern const info::versions version_api;
extern const info::versions version_abi;
extern conf::item<bool> restart;
extern conf::item<bool> debugmode;
extern conf::item<bool> read_only;
extern conf::item<bool> write_avoid;
extern conf::item<bool> soft_assert;
// Informational
seconds uptime();
// Control panel
void cont() noexcept;
bool quit() noexcept;
void init(boost::asio::executor &&);
}
2019-04-21 00:41:11 +02:00
#endif // HAVE_IRCD_IRCD_H