0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-30 02:32:43 +01:00
construct/librb
Elizabeth Myers d86692fa44 Add new sockaddr_storage port retrieval/setting macros
These macros are safe for use on IPv6 and clean up a lot of code.
2016-03-31 03:00:29 -05:00
..
include Add new sockaddr_storage port retrieval/setting macros 2016-03-31 03:00:29 -05:00
src Add new sockaddr_storage port retrieval/setting macros 2016-03-31 03:00:29 -05:00
acinclude.m4 Remove the rest of the SVN id tags 2016-03-23 20:13:12 -04:00
autogen.sh librb: use charybdis acinclude dir 2016-03-18 23:28:42 -05:00
configure.ac librb: don't include linux/tcp.h, that's already included 2016-03-31 01:16:34 -05:00
COPYING rename libratbox to librb, since its pretty modified anyway 2016-03-06 02:30:20 -06:00
CREDITS librb: whoops, didn't realise this was needed... :x 2016-03-06 13:30:56 -06:00
install-sh modules: fix stupid GCC false positive warning. 2016-03-18 15:32:33 -05:00
librb.pc.in rename libratbox to librb, since its pretty modified anyway 2016-03-06 02:30:20 -06:00
Makefile.am serno.h: remove it with make clean. 2016-03-25 11:47:02 -05:00
README.md update librb README to explain the namechange 2016-03-06 02:33:48 -06:00
TODO rename libratbox to librb, since its pretty modified anyway 2016-03-06 02:30:20 -06:00

librb

This is based on libratbox, the common runtime support code in ircd-ratbox. It has significant modifications and is no longer compatible with libratbox itself (nor can be used as a dropin replacement), so we renamed it.

original libratbox notes

  1. Most of this code isn't anywhere near threadsafe at this point. Don't hold your breath on this either.
  2. The linebuf code is designed to deal with pretty much 512 bytes per line and that is it. Anything beyond that length unless in raw mode, gets discard. For some non-irc purposes, this can be a problem, but for ircd stuff its fine.
  3. The helper code when transmitting data between helpers, the same 512 byte limit applies there as we recycle the linebuf code for this.