Commit Graph

269 Commits

Author SHA1 Message Date
d40d34b4ca Miscellaneous little things 2014-07-14 00:14:37 +02:00
586ccd4e87 Put a prolog at the top of configuration files
Later I'm going to put in there some more information about the format etc.
2014-07-13 23:50:44 +02:00
f52fab9448 Load X/Open message catalogs
This is going to enable making changes to ERR and RPL messages without
modifying the source code.

Localized messages could be interesting. :)
2014-07-13 23:47:29 +02:00
aaedbf93f1 Load an MOTD on start 2014-07-13 21:27:38 +02:00
03ec980f26 Add a strtoul() wrapper 2014-07-13 05:56:30 +02:00
51909edc76 Apparently it's the "realname" 2014-07-13 05:38:05 +02:00
ab651284a2 Initialize the server name 2014-07-13 05:05:01 +02:00
475c83618a Only compile regex's once 2014-07-13 04:30:23 +02:00
4904128c98 Add a few token validation functions 2014-07-13 03:26:33 +02:00
ccb2e4006d Implement irc_try_write() 2014-07-12 23:17:38 +02:00
5ad2781681 Rename connection_abort() to connection_kill() 2014-07-12 23:17:38 +02:00
93450332fe Implement irc_try_read() 2014-07-12 23:17:38 +02:00
13d3299816 Fix connection abortion 2014-07-12 22:54:35 +02:00
cdaab8fdf0 Move SSL_CTX *' into struct server_context'
It didn't make much sense to parse the configuration values and load the SSL
keys on each connection.
2014-07-12 22:00:54 +02:00
0cb51320d6 Implement an iterator for `struct str_map' 2014-07-12 21:19:44 +02:00
1edcbc5f3d Implement parsing of IRC 3.2 message tags
It's still in the making and we don't use it, but let's not fail on it if e.g.
a plugin decides to enable it.
2014-07-12 21:17:22 +02:00
651d49ca9b Add .gitignore 2014-07-12 21:17:22 +02:00
705c0e943e WIP: add a stub IRC daemon named `kike'
As it is going to share a great lot of functionality with ZyklonB, I have
decided to extract the common parts into `common.c' and make the two subprojects
include this file.

The Single Compile Unit concept has proven valuable (sub-second compile times,
dead code warnings, almost no need for function declarations, whole-program
optimizations), and the sources aren't that long so far anyway.

I am probably going to add CMake support later but so far it's not a priority.
This project is meant to be portable and freely relocatable (ie. no hardcoded
paths if I can avoid it).
2014-07-12 21:09:50 +02:00
165a19da21 Initial commit 2014-07-05 01:28:16 +02:00