0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-07-06 02:28:38 +02:00
construct/ircd
2018-02-05 21:24:36 -08:00
..
m ircd:Ⓜ️ Move events database description and instance to libircd. 2018-02-05 21:24:36 -08:00
.gitignore Remove certain cruft from .gitignore. 2017-12-12 14:59:41 -07:00
aio.h Update Copyrastafaris. 2018-02-05 21:24:34 -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: Enable ctx::prof on debug builds only. 2018-02-05 21:24:35 -08:00
db.cc ircd::db: Don't silently refuse seek() when no snapshot. 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 Update Copyrastafaris. 2018-02-05 21:24:34 -08:00
hash.cc Update Copyrastafaris. 2018-02-05 21:24:34 -08:00
http.cc Update Copyrastafaris. 2018-02-05 21:24:34 -08:00
info.cc Update Copyrastafaris. 2018-02-05 21:24:34 -08:00
ircd.cc Update Copyrastafaris. 2018-02-05 21:24:34 -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 Update Copyrastafaris. 2018-02-05 21:24:34 -08:00
locale.cc Update Copyrastafaris. 2018-02-05 21:24:34 -08:00
logger.cc Update Copyrastafaris. 2018-02-05 21:24:34 -08:00
Makefile.am ircd:Ⓜ️ Split state:: off dbs::. 2018-01-29 09:36:05 -08:00
mods.cc Update Copyrastafaris. 2018-02-05 21:24:34 -08:00
net.cc Update Copyrastafaris. 2018-02-05 21:24:34 -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 Update Copyrastafaris. 2018-02-05 21:24:34 -08:00
rfc1035.cc Update Copyrastafaris. 2018-02-05 21:24:34 -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 Update Copyrastafaris. 2018-02-05 21:24:34 -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.