]> jfr.im git - solanum.git/commitdiff
Some declarations connected to removed servlink gone
authorValery Yatsko <redacted>
Mon, 7 Apr 2008 11:26:25 +0000 (15:26 +0400)
committerValery Yatsko <redacted>
Mon, 7 Apr 2008 11:26:25 +0000 (15:26 +0400)
include/client.h
include/s_serv.h

index d5d15f50e46b8e77806b4cb631e18f77a55d2868..d38b5b7f23f2cb5f11601ffe415cf48c65726ff4 100644 (file)
@@ -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;
index 804569ef9c3a54e3883169da9bddeeea445b8467..43db9a1ad563d62b0d6c24936d9b638002774951 100644 (file)
@@ -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
  *