Blob


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