0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2025-01-16 09:36:54 +01:00
construct/ircd
2018-01-28 21:18:26 -08:00
..
m ircd:Ⓜ️ Checkpoint single-level/splitless state query. 2018-01-28 08:45:09 -08:00
.gitignore
aio.h
base.cc
client.cc ircd::net: Tweak these error handlers and log facilities. 2018-01-24 14:38:12 -08:00
ctx.cc ircd: Minor cleanup; comments; spacing. 2018-01-26 19:27:12 -08:00
db.cc ircd::db: Add nothrow overloads to the column viewer. 2018-01-27 10:07:08 -08:00
db.h
exception.cc ircd: Fix undefined RB_DEBUG for numerical RB_DEBUG_LEVEL. 2018-01-26 21:49:41 -08:00
fmt.cc
fs.cc ircd::fs: Log a warning when there's no support for any async IO. 2018-01-24 11:50:50 -08:00
hash.cc
http.cc ircd::http: Parse the server string into the response head. 2018-01-24 09:15:16 -08:00
info.cc
ircd.cc
js.cc
json.cc ircd::json: Place missing break; cleanup branches. 2018-01-26 19:27:12 -08:00
lexical.cc ircd: Add allocated string convenience for u2a(). 2018-01-28 21:18:25 -08:00
locale.cc
logger.cc
Makefile.am ircd:Ⓜ️ Add dbs namespace; remove old interfaces; checkpoint various. 2018-01-26 18:12:46 -08:00
mods.cc
net.cc ircd::rfc1035: Add CNAME RR; minor cleanup. 2018-01-28 21:18:26 -08:00
openssl.cc ircd::openssl: Add wrapper to print certificate subject from a PEM buffer. 2018-01-26 19:27:12 -08:00
parse.cc
rand.cc
README.md
resource.cc ircd: Reduce log facility of resource registration. 2018-01-25 17:29:37 -08:00
rfc1035.cc ircd::rfc1035: Add CNAME RR; minor cleanup. 2018-01-28 21:18:26 -08:00
rfc1459.cc
rfc3986.cc
server.cc ircd::net: Reorg DNS related; move resolver into header. 2018-01-28 14:28:33 -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.