0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2025-01-18 02:21:56 +01:00
construct/ircd
2018-01-19 06:55:48 -08:00
..
m ircd:Ⓜ️ Improve MXID ctor related. 2018-01-19 02:47:08 -08:00
.gitignore
aio.h ircd::fs: Further simplify AIO interface. 2018-01-18 03:55:12 -08:00
base64.cc ircd: Split base64 from lexical. 2018-01-18 18:17:02 -08:00
client.cc ircd: Tweak client error handling stack apropos request timeout. 2018-01-15 03:12:56 -08:00
ctx.cc ircd: Minor log suppressions via comment. 2018-01-17 21:38:17 -08:00
db.cc ircd::db: Split up / reorg database/env related. 2018-01-18 17:59:22 -08:00
exception.cc
fmt.cc ircd::fmt: Cleanup. Reduce sketchiness. 2018-01-19 02:47:08 -08:00
fs.cc ircd::fs: Simplify API/AIO by eliminating callback: ctx yield only for now. 2018-01-15 03:12:56 -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 ircd::info: Add additional line of information in debug log. 2018-01-17 21:38:17 -08:00
ircd.cc ircd::info: Update info. 2018-01-17 21:38:17 -08:00
js.cc
json.cc ircd::json: Add recursion depth checking. 2018-01-18 06:05:56 -08:00
lexical.cc ircd: Remove legacy stringops. 2018-01-19 02:47:08 -08:00
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: Add preliminary RFC1035 support. 2018-01-14 20:45:30 -08:00
mods.cc
net.cc ircd::net: Move acceptor into header; minor cleanup. 2018-01-19 06:55:48 -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
resource.cc ircd: Propagate better error back to user here for now. 2018-01-18 03:55:28 -08:00
rfc1035.cc ircd: Add preliminary RFC1035 support. 2018-01-14 20:45:30 -08:00
rfc1459.cc
rfc3986.cc
server.cc ircd: Baptize server.h into the standard include group. 2018-01-18 06:09:02 -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.