0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-09-06 08:45:20 +02:00
construct/ircd
2018-01-14 20:45:30 -08:00
..
m ircd::http: Update HTTP send-sides to write to stream_buffer. 2017-12-24 21:54:59 -07:00
.gitignore Remove certain cruft from .gitignore. 2017-12-12 14:59:41 -07:00
aio.h ircd::fs: Initial asynchronous file IO support for Linux platforms. 2018-01-10 22:09:05 -08:00
client.cc ircd: Reorg client; add class members; pointer to current request; conf, etc. 2018-01-13 17:58:11 -08:00
ctx.cc ircd::ctx: Add custom intrinsic list structure for contexts. 2018-01-13 23:45:36 -08:00
db.cc ircd::db: Use off-stack buffer here for logging. 2018-01-11 22:29:00 -08:00
exception.cc ircd: Utils for std::system_error related; minor cleanup. 2018-01-10 21:43:49 -08:00
fmt.cc ircd::fmt: Unrestrict long long from fmt specifiers. 2018-01-10 21:34:21 -08:00
fs.cc ircd::fs: Initial asynchronous file IO support for Linux platforms. 2018-01-10 22:09:05 -08:00
hash.cc
http.cc ircd::http: Remove response helper; add a couple fields to parse; minor cleanup. 2018-01-12 13:15:30 -08:00
info.cc Update library info. 2017-12-12 14:59:41 -07:00
ircd.cc ircd::server: Move into directory; various cleanup. 2018-01-13 18:03:04 -08:00
js.cc
json.cc ircd::json: Minor cleanup/formatting. 2017-12-24 21:54:59 -07:00
lexical.cc
locale.cc
logger.cc ircd::logger: Take stuff off stderr to not compete with console input. 2018-01-12 16:06:01 -08:00
Makefile.am ircd: We don't need this here; RocksDB has interface. 2018-01-04 17:44:34 -08:00
mods.cc
net.cc ircd::net: Update read()/write() strategies. 2018-01-14 20:45:30 -08:00
openssl.cc ircd::openssl: Add function to print subject of certificate. 2018-01-12 15:31:58 -08:00
parse.cc
rand.cc
README.md doc: Move conventions to STYLE; ircd: Add additional README related. 2018-01-04 17:44:34 -08:00
resource.cc ircd: Reorg client; add class members; pointer to current request; conf, etc. 2018-01-13 17:58:11 -08:00
rfc1459.cc ircd::rfc1459: Cleanup namespace. 2017-12-12 14:59:40 -07:00
rfc3986.cc ircd: Add preliminary RFC3986 grammar; move urlencoding there. 2017-12-12 14:59:40 -07:00
server.cc ircd::server: Develop basic infrastructure. 2018-01-13 21:17:10 -08:00
sodium.cc
xdr.cc

IRCd Library Definitions

This directory contains definitions and linkage for libircd

Overview

libircd is designed specifically as a shared object library. The purpose of its shared'ness is to facilitate IRCd's modular design: IRCd ships with many other shared objects which introduce the "business logic" and features of the daemon. If libircd was not a shared object, every single module would have to include large amounts of duplicate code drawn from the static library. This would be a huge drag on both compilation and the runtime performance.

                           (module)   (module)
                               |         |
                               |         |
                               V         V
                             |-------------|
----------------------       |             | < ---- (module)
|                    |       |             |
|  User's executable | <---- |   libircd   |
|                    |       |             |
----------------------       |             | < ---- (module)
                             |-------------|
                               ^         ^
                               |         |
                               |         |
                           (module)   (module)

The user (which we may also refer to as the "embedder" elsewhere in documentation) only deals directly with libircd and not the modules. libircd is generally loaded with its symbols bound globally in the executable and on most platforms cannot be unloaded (or even loaded) manually and has not been tested to do so. As an aside, we do not summarily dismiss the idea of reload capability and would like to see it made possible.