0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-10-01 13:18:58 +02:00
construct/ircd
2019-04-22 15:24:07 -07:00
..
.gitignore
allocator.cc ircd::allocator: Renamespace the vg utils. 2019-04-19 05:26:51 -07:00
assert.cc
base.cc
client.cc ircd::client: Remove deprecated SSL_R_SHORT_READ for OpenSSL 1.1. 2019-04-20 19:24:18 -07:00
conf.cc
crh.cc
ctx.cc ircd::ctx: Use iteration closure rather than exposing ctx::list. 2019-04-19 20:50:22 -07:00
ctx.h
db.cc ircd::db: Log warning when crc32c acceleration is not available. 2019-04-22 15:24:07 -07:00
db.h ircd::db: Add write-ahead-log recovery callback surface. 2019-04-20 14:30:42 -07:00
db_env.cc ircd::db::env: Assert rocksdb does not call prefetch with direct-io. 2019-04-20 19:29:07 -07:00
db_port.cc
demangle.cc
exception.cc ircd::exception: Avoid repeating the system_error message string. 2019-04-11 07:50:48 -07:00
fmt.cc ircd: Precompile the spirit.h header. 2019-04-20 19:24:18 -07:00
fs.cc ircd::fs: Make ~fd() noexcept. 2019-04-22 09:16:11 -07:00
fs_aio.cc ircd::fs::aio: Test for blocking flag rather than option if available. 2019-04-22 09:45:14 -07:00
fs_aio.h ircd::fs::aio: Minor tweak call pattern for wait(request). 2019-04-22 09:29:09 -07:00
http.cc ircd: Precompile the spirit.h header. 2019-04-20 19:24:18 -07:00
info.cc ircd::info: Chomp newline from ctime() calls. 2019-04-18 18:58:07 -07:00
ios.cc ircd::util: Use allocator::node for instance_list instances. 2019-04-16 20:48:00 -07:00
ircd.cc ircd: Use unwind::defer to enter run::level::HALT. 2019-04-18 05:46:20 -07:00
js.cc
json.cc ircd: Precompile the spirit.h header. 2019-04-20 19:24:18 -07:00
lexical.cc
locale.cc
logger.cc ircd: Move smalldate() to date.h from logger unit. 2019-04-17 19:27:26 -07:00
m.cc modules/client/rooms/leave: Add missing m::leave definition. 2019-04-22 14:27:12 -07:00
m_dbs.cc ircd:Ⓜ️:dbs: Add event_type metadata column. 2019-04-16 16:11:23 -07:00
m_event.cc ircd:Ⓜ️ Try for outer membership property first before parsing content. 2019-04-18 14:35:46 -07:00
m_id.cc ircd: Precompile the spirit.h header. 2019-04-20 19:24:18 -07:00
m_name.cc
m_room.cc ircd:Ⓜ️:fetch: Add additional interface tools; consolidate interface; cleanup/reorg. 2019-04-12 04:44:26 -07:00
m_state.cc
m_v1.cc ircd:Ⓜ️:v1: Allow empty user_id argument to have a fallback. 2019-04-12 04:45:25 -07:00
magic.cc
Makefile.am ircd: Precompile the spirit.h header. 2019-04-20 19:24:18 -07:00
mods.cc ircd::mapi: Force the header inline so the module contains the constants. 2019-04-18 17:36:33 -07:00
mods.h
net.cc ircd::net: Addition assertions; use constrefs in handler cbs. 2019-04-16 21:39:43 -07:00
openssl.cc ircd::openssl: Address remaining 1.0 vs. 1.1 compat. 2019-04-20 19:24:18 -07:00
parse.cc
prof.cc ircd::prof: Add callgrind hypercall suite. 2019-04-19 05:53:54 -07:00
rand.cc
README.md
resource.cc
rfc1035.cc
rfc1459.cc ircd: Precompile the spirit.h header. 2019-04-20 19:24:18 -07:00
rfc3986.cc ircd: Precompile the spirit.h header. 2019-04-20 19:24:18 -07:00
server.cc ircd::server: Increase tls buffer size. 2019-04-22 12:13:34 -07:00
sodium.cc ircd: Support read-only and write-avoid modes via conf item / command line. 2019-04-15 11:16:31 -07:00
stats.cc ircd::stats: Add value; add operator/access suite. 2019-04-18 17:56:09 -07:00
tokens.cc
util.cc ircd::util: Add an unwind::defer device. 2019-04-18 05:46:07 -07:00

IRCd Library Definitions

This directory contains definitions and linkage for libircd

The purpose of libircd is to facilitate the execution of a server which handles requests from end-users. The library hosts a set of pluggable modules which may introduce the actual application features (or the "business logic") of the server.

The executable linking and invoking libircd may be referred to as the "embedding" or "user" or "executable" interchangably in this documentation.

Organization

Implied #include <ircd.h>

The ircd.h standard include group is pre-compiled and included first by default for every compilation unit in this directory. Developers do not have to worry about including project headers in a compilation unit, especially when creating and reorganizing either of them.

Note that because ircd.h is include above any manually included header, there is a theoretical possibility for a conflict. We make a serious effort to prevent ircd.h from introducing pollution outside of our very specific namespaces (see: Project Namespaces).

Dependency Isolation

Compilation units are primarily oriented around the inclusion of a specific dependency which is not involved in the ircd.h include group.

For example, the magic.cc unit was created to include <magic.h> internally and then provide definitions to our own interfaces in ircd.h. We don't include <magic.h> from ircd.h nor do we include it from any other compilation unit. This simply isolates libmagic as a dependency.