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 8adff592 2005-03-19 fw * $Id: conn-zip.h,v 1.3 2005/03/19 18:43:48 fw 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 c40592d2 2003-12-26 alex #ifdef 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 8adff592 2005-03-19 fw GLOBAL bool Zip_InitConn PARAMS(( CONN_ID Idx ));
24 e68cdf30 2002-12-30 alex
25 8adff592 2005-03-19 fw GLOBAL bool Zip_Buffer PARAMS(( CONN_ID Idx, char *Data, int Len ));
26 8adff592 2005-03-19 fw GLOBAL bool Zip_Flush PARAMS(( CONN_ID Idx ));
27 8adff592 2005-03-19 fw GLOBAL bool Unzip_Buffer PARAMS(( CONN_ID Idx ));
28 e68cdf30 2002-12-30 alex
29 8adff592 2005-03-19 fw GLOBAL long Zip_SendBytes PARAMS(( CONN_ID Idx ));
30 8adff592 2005-03-19 fw 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 c40592d2 2003-12-26 alex #endif /* ZLIB */
36 e68cdf30 2002-12-30 alex
37 e68cdf30 2002-12-30 alex
38 e68cdf30 2002-12-30 alex /* -eof- */