diff --git a/include/client.h b/include/client.h index d5d15f50..d38b5b7f 100644 --- a/include/client.h +++ b/include/client.h @@ -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; diff --git a/include/s_serv.h b/include/s_serv.h index 804569ef..43db9a1a 100644 --- a/include/s_serv.h +++ b/include/s_serv.h @@ -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 *