Module: ngircd.git
Branch: master
Commit: bd3a7ccb158c9f2eac1af77804529b76d99c3e79
URL: http://ngircd.barton.de/cgi-bin/gitweb.cgi?p=ngircd.git&a=commit;h=bd3a7ccb…
Author: Alexander Barton <alex(a)barton.de>
Date: Sat Mar 31 15:59:06 2012 +0200
Implement core IRC capability handling and "CAP" command
This patch implements the core functions to support "IRC Capabilities"
and the IRC "CAP" command as used by other servers and specified here:
<http://www.leeh.co.uk/draft-mitchell-irc-capabilities-02.html>.
It enables ngIRCd to support the defined handshake, but it doesn't
implement any capabilities, so "CAP LS" and "CAP LIST" always return
the empty set and "CAP REQ ..." always fails with "CAP NAK".
---
contrib/MacOSX/ngIRCd.xcodeproj/project.pbxproj | 14 ++
doc/Capabilities.txt | 23 +++
doc/Makefile.am | 1 +
src/ngircd/Makefile.am | 4 +
src/ngircd/client-cap.c | 62 ++++++++
src/ngircd/client-cap.h | 28 ++++
src/ngircd/client.h | 3 +-
src/ngircd/irc-cap.c | 192 +++++++++++++++++++++++
src/ngircd/irc-cap.h | 24 +++
src/ngircd/login.c | 5 +
src/ngircd/messages.h | 1 +
src/ngircd/parse.c | 2 +
12 files changed, 358 insertions(+), 1 deletions(-)
Diff: http://ngircd.barton.de/cgi-bin/gitweb.cgi?p=ngircd.git&a=commitdiff;h=bd3a…
Module: ngircd.git
Branch: master
Commit: edfcc2f9d5b796fd30f60138591e4f96d54cfcf6
URL: http://ngircd.barton.de/cgi-bin/gitweb.cgi?p=ngircd.git&a=commit;h=edfcc2f9…
Author: Alexander Barton <alex(a)barton.de>
Date: Sat Mar 31 15:38:46 2012 +0200
New "login" source file
Rename Hello_User[_PostAuth] to Login_User[_PostAuth] and move it to the
new login.c; and move cb_Read_Auth_Result(), too. This will enable further
code to easily call Login_User() when required.
---
contrib/MacOSX/ngIRCd.xcodeproj/project.pbxproj | 6 +
src/ngircd/Makefile.am | 2 +
src/ngircd/irc-login.c | 210 +--------------------
src/ngircd/login.c | 234 +++++++++++++++++++++++
src/ngircd/login.h | 25 +++
5 files changed, 271 insertions(+), 206 deletions(-)
Diff: http://ngircd.barton.de/cgi-bin/gitweb.cgi?p=ngircd.git&a=commitdiff;h=edfc…