Blame


1 e68cdf30 2002-12-30 alex /*
2 e68cdf30 2002-12-30 alex * ngIRCd -- The Next Generation IRC Daemon
3 e68cdf30 2002-12-30 alex * Copyright (c)2001,2002 by Alexander Barton (alex@barton.de)
4 e68cdf30 2002-12-30 alex *
5 e68cdf30 2002-12-30 alex * This program is free software; you can redistribute it and/or modify
6 e68cdf30 2002-12-30 alex * it under the terms of the GNU General Public License as published by
7 e68cdf30 2002-12-30 alex * the Free Software Foundation; either version 2 of the License, or
8 e68cdf30 2002-12-30 alex * (at your option) any later version.
9 e68cdf30 2002-12-30 alex * Please read the file COPYING, README and AUTHORS for more information.
10 e68cdf30 2002-12-30 alex *
11 e68cdf30 2002-12-30 alex * $Id: conn-zip.h,v 1.1 2002/12/30 16:07:23 alex Exp $
12 e68cdf30 2002-12-30 alex *
13 e68cdf30 2002-12-30 alex * Connection compression using ZLIB (header)
14 e68cdf30 2002-12-30 alex */
15 e68cdf30 2002-12-30 alex
16 e68cdf30 2002-12-30 alex
17 e68cdf30 2002-12-30 alex #ifdef USE_ZLIB
18 e68cdf30 2002-12-30 alex
19 e68cdf30 2002-12-30 alex #ifndef __conn_zip_h__
20 e68cdf30 2002-12-30 alex #define __conn_zip_h__
21 e68cdf30 2002-12-30 alex
22 e68cdf30 2002-12-30 alex
23 e68cdf30 2002-12-30 alex GLOBAL BOOLEAN Zip_InitConn PARAMS(( CONN_ID Idx ));
24 e68cdf30 2002-12-30 alex
25 e68cdf30 2002-12-30 alex GLOBAL BOOLEAN Zip_Buffer PARAMS(( CONN_ID Idx, CHAR *Data, INT Len ));
26 e68cdf30 2002-12-30 alex GLOBAL BOOLEAN Zip_Flush PARAMS(( CONN_ID Idx ));
27 e68cdf30 2002-12-30 alex GLOBAL BOOLEAN Unzip_Buffer PARAMS(( CONN_ID Idx ));
28 e68cdf30 2002-12-30 alex
29 e68cdf30 2002-12-30 alex GLOBAL LONG Zip_SendBytes PARAMS(( CONN_ID Idx ));
30 e68cdf30 2002-12-30 alex GLOBAL LONG Zip_RecvBytes PARAMS(( CONN_ID Idx ));
31 e68cdf30 2002-12-30 alex
32 e68cdf30 2002-12-30 alex
33 e68cdf30 2002-12-30 alex #endif /* __conn_zip_h__ */
34 e68cdf30 2002-12-30 alex
35 e68cdf30 2002-12-30 alex #endif /* USE_ZLIB */
36 e68cdf30 2002-12-30 alex
37 e68cdf30 2002-12-30 alex
38 e68cdf30 2002-12-30 alex /* -eof- */