From 8d268bdb381d7107d6b3e8a81a37d701d1b6e2c9 Mon Sep 17 00:00:00 2001 From: Valery Yatsko Date: Mon, 7 Apr 2008 15:26:25 +0400 Subject: [PATCH] Some declarations connected to removed servlink gone --- include/client.h | 9 --------- include/s_serv.h | 29 ----------------------------- 2 files changed, 38 deletions(-) diff --git a/include/client.h b/include/client.h index d5d15f5..d38b5b7 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 804569e..43db9a1 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 *