0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-12-28 00:14:07 +01:00
construct/ircd
2018-02-08 13:27:49 -08:00
..
m ircd:Ⓜ️:state: Distill out any DB/IO for tree root; split out create(); remove init. 2018-02-08 13:27:49 -08:00
.gitignore Remove certain cruft from .gitignore. 2017-12-12 14:59:41 -07:00
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 ircd: Eliminate the raw_buffer concept. 2018-02-05 18:54:55 -08:00
client.cc Update Copyrastafaris. 2018-02-05 21:24:34 -08:00
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 ircd::db: Rename iov to txn (since iov should really be a rocksdb::SliceParts). 2018-01-30 09:58:36 -08:00
exception.cc Update Copyrastafaris. 2018-02-05 21:24:34 -08:00
fmt.cc Update Copyrastafaris. 2018-02-05 21:24:34 -08:00
fs.cc ircd::fs: Asynchronous writes to local filesystem. 2018-02-06 00:02:18 -08:00
hash.cc Update Copyrastafaris. 2018-02-05 21:24:34 -08:00
http.cc ircd: Rename the stream_buffer to window_buffer. 2018-02-07 21:54:41 -08:00
info.cc Update Copyrastafaris. 2018-02-05 21:24:34 -08:00
ircd.cc ircd: Call log::fini; flushing on runlevel change / halt. 2018-02-07 12:16:17 -08:00
js.cc Update Copyrastafaris. 2018-02-05 21:24:34 -08:00
json.cc Update Copyrastafaris. 2018-02-05 21:24:34 -08:00
lexical.cc configure/ircd: Consider all boost headers unconditional. 2018-02-05 21:24:36 -08:00
locale.cc Update Copyrastafaris. 2018-02-05 21:24:34 -08:00
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 Update Copyrastafaris. 2018-02-05 21:24:34 -08:00
net.cc ircd::net::dns: Don't log.error common NXDOMAIN rcodes. 2018-02-07 12:16:17 -08:00
openssl.cc Update Copyrastafaris. 2018-02-05 21:24:34 -08:00
parse.cc Update Copyrastafaris. 2018-02-05 21:24:34 -08:00
rand.cc Update Copyrastafaris. 2018-02-05 21:24:34 -08:00
README.md doc: Move conventions to STYLE; ircd: Add additional README related. 2018-01-04 17:44:34 -08:00
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 Update Copyrastafaris. 2018-02-05 21:24:34 -08:00
rfc3986.cc Update Copyrastafaris. 2018-02-05 21:24:34 -08:00
server.cc ircd::server: Fix error; fix regression. 2018-02-07 00:24:54 -08:00
sodium.cc Update Copyrastafaris. 2018-02-05 21:24:34 -08:00
xdr.cc Update Copyrastafaris. 2018-02-05 21:24:34 -08:00

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.