Module: ngircd.git Branch: master Commit: bd3a7ccb158c9f2eac1af77804529b76d99c3e79 URL: http://ngircd.barton.de/cgi-bin/gitweb.cgi?p=ngircd.git&a=commit;h=bd3a7...
Author: Alexander Barton alex@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=b...
ngircd-commits@lists.barton.de