54 |
|
#define CAP_QS 0x00000002 /* Can handle quit storm removal */ |
55 |
|
#define CAP_EX 0x00000004 /* Can do channel +e exemptions */ |
56 |
|
#define CAP_CHW 0x00000008 /* Can do channel wall @# */ |
57 |
< |
#define CAP_LL 0x00000010 /* Can do lazy links */ |
58 |
< |
#define CAP_IE 0x00000020 /* Can do invite exceptions */ |
59 |
< |
#define CAP_EOB 0x00000040 /* Can do EOB message */ |
60 |
< |
#define CAP_KLN 0x00000080 /* Can do KLINE message */ |
61 |
< |
#define CAP_GLN 0x00000100 /* Can do GLINE message */ |
62 |
< |
#define CAP_HUB 0x00000200 /* This server is a HUB */ |
63 |
< |
#define CAP_TS6 0x00000400 /* Can do TS6 */ |
64 |
< |
#define CAP_ZIP 0x00000800 /* Can do ZIPlinks */ |
65 |
< |
#define CAP_ENC 0x00001000 /* Can do ENCrypted links */ |
66 |
< |
#define CAP_KNOCK 0x00002000 /* supports KNOCK */ |
67 |
< |
#define CAP_TB 0x00004000 /* supports TB */ |
68 |
< |
#define CAP_UNKLN 0x00008000 /* Can do UNKLINE message */ |
69 |
< |
#define CAP_CLUSTER 0x00010000 /* supports server clustering */ |
70 |
< |
#define CAP_ENCAP 0x00020000 /* supports ENCAP message */ |
71 |
< |
#define CAP_HOPS 0x00040000 /* supports HALFOPS */ |
72 |
< |
#define CAP_TBURST 0x00080000 /* supports TBURST */ |
57 |
> |
#define CAP_IE 0x00000010 /* Can do invite exceptions */ |
58 |
> |
#define CAP_EOB 0x00000020 /* Can do EOB message */ |
59 |
> |
#define CAP_KLN 0x00000040 /* Can do KLINE message */ |
60 |
> |
#define CAP_GLN 0x00000080 /* Can do GLINE message */ |
61 |
> |
#define CAP_HUB 0x00000100 /* This server is a HUB */ |
62 |
> |
#define CAP_TS6 0x00000200 /* Can do TS6 */ |
63 |
> |
#define CAP_ZIP 0x00000400 /* Can do ZIPlinks */ |
64 |
> |
#define CAP_ENC 0x00000800 /* Can do ENCrypted links */ |
65 |
> |
#define CAP_KNOCK 0x00001000 /* supports KNOCK */ |
66 |
> |
#define CAP_TB 0x00002000 /* supports TB */ |
67 |
> |
#define CAP_UNKLN 0x00004000 /* Can do UNKLINE message */ |
68 |
> |
#define CAP_CLUSTER 0x00008000 /* supports server clustering */ |
69 |
> |
#define CAP_ENCAP 0x00010000 /* supports ENCAP message */ |
70 |
> |
#define CAP_HOPS 0x00020000 /* supports HALFOPS */ |
71 |
> |
#define CAP_TBURST 0x00040000 /* supports TBURST */ |
72 |
|
|
73 |
|
#ifdef HAVE_LIBZ |
74 |
|
#define CAP_ZIP_SUPPORTED CAP_ZIP |
226 |
|
extern struct EncCapability CipherTable[]; |
227 |
|
#endif |
228 |
|
|
230 |
– |
extern struct Client *uplink; /* NON NULL if leaf and is this servers uplink */ |
231 |
– |
|
229 |
|
/* |
230 |
|
* return values for hunt_server() |
231 |
|
*/ |
247 |
|
extern const char *show_capabilities(struct Client *); |
248 |
|
extern void try_connections(void *); |
249 |
|
extern void collect_zipstats(void *); |
253 |
– |
extern void initServerMask(void); |
250 |
|
extern void burst_channel(struct Client *client_p, struct Channel *); |
251 |
|
extern void sendnick_TS(struct Client *, struct Client *); |
252 |
|
extern int serv_connect(struct AccessItem *, struct Client *); |
253 |
|
extern struct Client *find_servconn_in_progress(const char *); |
258 |
– |
extern unsigned long nextFreeMask(void); |
254 |
|
extern void cryptlink_init(struct Client *, struct ConfItem *, fde_t *); |
255 |
|
extern void cryptlink_regen_key(void *); |
256 |
|
extern void cryptlink_error(struct Client *, const char *, |
257 |
|
const char *, const char *); |
263 |
– |
extern void remove_lazylink_flags(unsigned long); |
264 |
– |
extern void client_burst_if_needed(struct Client *, struct Client *); |
258 |
|
extern struct EncCapability *check_cipher(struct Client *, struct AccessItem *); |
266 |
– |
extern void add_lazylinkclient(struct Client *, struct Client *); |
267 |
– |
|
259 |
|
extern struct Server *make_server(struct Client *); |
260 |
|
|
261 |
|
/* XXX don't belong in the now gone md5, but do these belong in s_serv.c ? */ |