]> arthur.barton.de Git - ngircd-alex.git/blob - src/ngircd/client-cap.h
Spelling fix: "nick name" -> "nickname"
[ngircd-alex.git] / src / ngircd / client-cap.h
1 /*
2  * ngIRCd -- The Next Generation IRC Daemon
3  * Copyright (c)2001-2012 Alexander Barton (alex@barton.de) and Contributors.
4  *
5  * This program is free software; you can redistribute it and/or modify
6  * it under the terms of the GNU General Public License as published by
7  * the Free Software Foundation; either version 2 of the License, or
8  * (at your option) any later version.
9  * Please read the file COPYING, README and AUTHORS for more information.
10  */
11
12 #ifndef __client_cap_h__
13 #define __client_cap_h__
14
15 /**
16  * @file
17  * Functions to deal with IRC Capabilities (header)
18  */
19
20 #define CLIENT_CAP_PENDING 1            /* Capability negotiation pending */
21 #define CLIENT_CAP_SUPPORTED 2          /* Client supports IRC capabilities */
22
23 #define CLIENT_CAP_MULTI_PREFIX 4       /* multi-prefix */
24
25 GLOBAL int Client_Cap PARAMS((CLIENT *Client));
26
27 GLOBAL void Client_CapSet PARAMS((CLIENT *Client, int Cap));
28 GLOBAL void Client_CapAdd PARAMS((CLIENT *Client, int Cap));
29 GLOBAL void Client_CapDel PARAMS((CLIENT *Client, int Cap));
30
31 #endif