*/
#define TRY_CONNECTIONS_TIME 60
-/* collect ziplinks compression ratios/etc every minute */
-#define ZIPSTATS_TIME 60
-
/*
* number of seconds to wait after server starts up, before
* starting try_connections()
#define CAP_CHW 0x00008 /* Can do channel wall @# */
#define CAP_IE 0x00010 /* Can do invite exceptions */
#define CAP_KLN 0x00040 /* Can do KLINE message */
-#define CAP_GLN 0x00080 /* Can do GLINE message */
#define CAP_ZIP 0x00100 /* Can do ZIPlinks */
#define CAP_KNOCK 0x00400 /* supports KNOCK */
#define CAP_TB 0x00800 /* supports TBURST */
#define CAP_MASK (CAP_QS | CAP_EX | CAP_CHW | \
CAP_IE | CAP_KLN | CAP_SERVICE |\
- CAP_GLN | CAP_CLUSTER | CAP_ENCAP | \
+ CAP_CLUSTER | CAP_ENCAP | \
CAP_ZIP | CAP_KNOCK | CAP_UNKLN | \
CAP_RSFNC | CAP_SAVE | CAP_EUID)
#define NotCapable(x, cap) (((x)->localClient->caps & (cap)) == 0)
#define ClearCap(x, cap) ((x)->localClient->caps &= ~(cap))
-#define SLINKCMD_SET_ZIP_OUT_LEVEL 1 /* data */
-#define SLINKCMD_START_ZIP_OUT 2
-#define SLINKCMD_START_ZIP_IN 3
-#define SLINKCMD_INJECT_RECVQ 4 /* data */
-#define SLINKCMD_INJECT_SENDQ 5 /* data */
-#define SLINKCMD_INIT 6
-#define SLINKCMD_ZIPSTATS 7
-
-#ifndef HAVE_SOCKETPAIR
-#define LAST_SLINK_FD 7
-#else
-#define LAST_SLINK_FD 5
-#endif
-
-#define SLINKRPL_FLAG_DATA 0x0001 /* reply has data following */
-#define SLINKRPL_ERROR 1
-#define SLINKRPL_ZIPSTATS 2
-
-#define MAX_SLINKRPL 2
-
-typedef void SlinkRplHnd(unsigned int replyid, unsigned int datalen,
- unsigned char *data, struct Client *client_p);
-struct SlinkRplDef
-{
- unsigned int replyid;
- SlinkRplHnd *handler;
- unsigned int flags;
-};
-
-extern struct SlinkRplDef slinkrpltab[];
-
/*
* Globals
*
extern void send_capabilities(struct Client *, int);
extern const char *show_capabilities(struct Client *client);
extern void try_connections(void *unused);
-extern void start_collect_zipstats(void);
-extern void collect_zipstats(void *unused);
extern int check_server(const char *name, struct Client *server);
extern int server_estab(struct Client *client_p);