]> arthur.barton.de Git - ngircd-alex.git/commit
Implement core IRC capability handling and "CAP" command
authorAlexander Barton <alex@barton.de>
Sat, 31 Mar 2012 13:59:06 +0000 (15:59 +0200)
committerAlexander Barton <alex@barton.de>
Sat, 31 Mar 2012 13:59:06 +0000 (15:59 +0200)
commitbd3a7ccb158c9f2eac1af77804529b76d99c3e79
treeaa5e95e0854510803657f278498d9c94084c91f8
parentedfcc2f9d5b796fd30f60138591e4f96d54cfcf6
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".
12 files changed:
contrib/MacOSX/ngIRCd.xcodeproj/project.pbxproj
doc/Capabilities.txt [new file with mode: 0644]
doc/Makefile.am
src/ngircd/Makefile.am
src/ngircd/client-cap.c [new file with mode: 0644]
src/ngircd/client-cap.h [new file with mode: 0644]
src/ngircd/client.h
src/ngircd/irc-cap.c [new file with mode: 0644]
src/ngircd/irc-cap.h [new file with mode: 0644]
src/ngircd/login.c
src/ngircd/messages.h
src/ngircd/parse.c