0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2025-01-01 02:14:13 +01:00
construct/ircd
2018-02-08 23:23:50 -08:00
..
m ircd:Ⓜ️:vm: Add specific exception; checkpoint incomplete eval; fix dbref. 2018-02-08 23:23:50 -08:00
.gitignore
aio.cc ircd::fs: Asynchronous writes to local filesystem. 2018-02-06 00:02:18 -08:00
aio.h ircd::fs: Asynchronous writes to local filesystem. 2018-02-06 00:02:18 -08:00
base.cc
client.cc
ctx.cc ircd::ctx: Spawn OLE thread lazily. 2018-02-07 12:16:17 -08:00
db.cc ircd::db: Reenable the background work cancel for shutdown sequence. 2018-02-05 21:24:36 -08:00
db.h
exception.cc
fmt.cc
fs.cc ircd::fs: Asynchronous writes to local filesystem. 2018-02-06 00:02:18 -08:00
hash.cc
http.cc ircd: Rename the stream_buffer to window_buffer. 2018-02-07 21:54:41 -08:00
info.cc
ircd.cc ircd: Call log::fini; flushing on runlevel change / halt. 2018-02-07 12:16:17 -08:00
js.cc
json.cc
lexical.cc configure/ircd: Consider all boost headers unconditional. 2018-02-05 21:24:36 -08:00
locale.cc
logger.cc ircd: Rename the stream_buffer to window_buffer. 2018-02-07 21:54:41 -08:00
Makefile.am ircd: Give AIO its own TRU. 2018-02-05 23:00:55 -08:00
mods.cc
net.cc ircd::net::dns: Don't log.error common NXDOMAIN rcodes. 2018-02-07 12:16:17 -08:00
openssl.cc
parse.cc
rand.cc
README.md
resource.cc ircd: Rename the stream_buffer to window_buffer. 2018-02-07 21:54:41 -08:00
rfc1035.cc ircd: Rename the stream_buffer to window_buffer. 2018-02-07 21:54:41 -08:00
rfc1459.cc
rfc3986.cc
server.cc ircd::server: Fix error; fix regression. 2018-02-07 00:24:54 -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.