0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-30 02:32:43 +01:00
construct/ircd
2018-02-07 00:24:54 -08:00
..
m ircd:Ⓜ️:state: Proper typedef for value closures. 2018-02-05 21:24:36 -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::prof: Consistent warning message strings. 2018-02-05 21:24:36 -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::http: Add 502 Bad Gateway. 2018-02-07 00:24:54 -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 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 Update Copyrastafaris. 2018-02-05 21:24:34 -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: Throw net::not_found for the ipport_one convenience if no A record. 2018-02-06 13:20:24 -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 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.