0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2025-01-04 20:04:30 +01:00
construct/ircd
2019-04-11 06:27:28 -07:00
..
.gitignore
allocator.cc
assert.cc
base.cc
client.cc
conf.cc
crh.cc
ctx.cc ircd::ctx: Add a syscall_usage_warning to suite. 2019-04-10 20:18:50 -07:00
ctx.h
db.cc ircd::db: Increase file size target default. 2019-04-10 22:32:06 -07:00
db.h
db_env.cc
db_port.cc ircd::db::port: Allow icf on impl defs. 2019-04-10 22:32:06 -07:00
demangle.cc
exception.cc
fmt.cc
fs.cc ircd::fs: Switch to syscall_usage_warning for io_submit and fsync et al. 2019-04-10 20:18:50 -07:00
fs_aio.cc ircd::fs::aio: Count io_submit() 'stalls' in stats. 2019-04-10 20:18:51 -07:00
fs_aio.h ircd::fs::aio: Move for_each_completed() to central interface; add additional utils. 2019-04-10 20:18:51 -07:00
http.cc
info.cc
ios.cc ircd::ios: Add a queued handler counter to stats. 2019-04-10 22:54:13 -07:00
ircd.cc
js.cc
json.cc
lexical.cc
locale.cc
logger.cc
m.cc ircd:Ⓜ️:feds: Refine the feds preliminary central interface. 2019-04-11 06:27:28 -07:00
m_dbs.cc
m_event.cc
m_id.cc
m_name.cc
m_room.cc
m_state.cc
m_v1.cc ircd:Ⓜ️:v1: Fallback to generating random user_id's for make_join. 2019-04-11 05:14:44 -07:00
magic.cc
Makefile.am
mods.cc ircd::mods: Stub internal dlsym() hooker. 2019-04-09 21:27:45 -07:00
mods.h
net.cc ircd::net: Fix mislabeled ios::descriptor. 2019-04-10 22:59:23 -07:00
openssl.cc
parse.cc
prof.cc ircd::prof: Add a coarse enable conf item. 2019-04-10 01:29:25 -07:00
rand.cc
README.md
resource.cc
rfc1035.cc
rfc1459.cc
rfc3986.cc
server.cc ircd::server: Apply stack protected canary on key frames. 2019-04-10 22:32:06 -07:00
sodium.cc
stats.cc
tokens.cc
util.cc

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.