36 |
|
#include "irc_string.h" |
37 |
|
|
38 |
|
|
39 |
< |
#define CAPFL_HIDDEN 0x0001 /**< Do not advertize this capability */ |
40 |
< |
#define CAPFL_PROHIBIT 0x0002 /**< Client may not set this capability */ |
41 |
< |
#define CAPFL_PROTO 0x0004 /**< Cap must be acknowledged by client */ |
42 |
< |
#define CAPFL_STICKY 0x0008 /**< Cap may not be cleared once set */ |
39 |
> |
enum |
40 |
> |
{ |
41 |
> |
CAPFL_HIDDEN = 1 << 0, /**< Do not advertize this capability */ |
42 |
> |
CAPFL_PROHIBIT = 1 << 1, /**< Client may not set this capability */ |
43 |
> |
CAPFL_PROTO = 1 << 2, /**< Cap must be acknowledged by client */ |
44 |
> |
CAPFL_STICKY = 1 << 3 /**< Cap may not be cleared once set */ |
45 |
> |
}; |
46 |
|
|
47 |
|
typedef int (*bqcmp)(const void *, const void *); |
48 |
|
|