Some declarations connected to removed servlink gone
This commit is contained in:
parent
0624f969d3
commit
8d268bdb38
|
@ -109,15 +109,6 @@ struct Server
|
|||
struct scache_entry *nameinfo;
|
||||
};
|
||||
|
||||
struct SlinkRpl
|
||||
{
|
||||
int command;
|
||||
int datalen;
|
||||
int gotdatalen;
|
||||
int readdata;
|
||||
unsigned char *data;
|
||||
};
|
||||
|
||||
struct ZipStats
|
||||
{
|
||||
unsigned long in;
|
||||
|
|
|
@ -94,35 +94,6 @@ struct Capability
|
|||
#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;
|
||||
};
|
||||
|
||||
/*
|
||||
* Globals
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue