Implement support for IRCv3.1 CAP negotiation

This commit is contained in:
LemonBoy 2015-02-12 00:07:22 +01:00
commit 2d7030a844
9 changed files with 238 additions and 1 deletions

9
src/irc/core/irc-cap.h Normal file
View file

@ -0,0 +1,9 @@
#ifndef __IRC_CAP_H
#define __IRC_CAP_H
void cap_init(void);
void cap_deinit(void);
int cap_toggle (IRC_SERVER_REC *server, char *cap, int enable);
void cap_finish_negotiation (IRC_SERVER_REC *server);
#endif