2 * ngIRCd -- The Next Generation IRC Daemon
3 * Copyright (c)2001,2002 by Alexander Barton (alex@barton.de)
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.
14 #ifndef __conn_zip_h__
15 #define __conn_zip_h__
19 * Connection compression using ZLIB (header)
22 GLOBAL bool Zip_InitConn PARAMS(( CONN_ID Idx ));
24 GLOBAL bool Zip_Buffer PARAMS(( CONN_ID Idx, const char *Data, size_t Len ));
25 GLOBAL bool Zip_Flush PARAMS(( CONN_ID Idx ));
26 GLOBAL bool Unzip_Buffer PARAMS(( CONN_ID Idx ));
28 GLOBAL long Zip_SendBytes PARAMS(( CONN_ID Idx ));
29 GLOBAL long Zip_RecvBytes PARAMS(( CONN_ID Idx ));
31 #endif /* __conn_zip_h__ */