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.2 2003/12/26 15:55:07 alex Exp $
12 *
13 * Connection compression using ZLIB (header)
14 */
17 #ifdef ZLIB
19 #ifndef __conn_zip_h__
20 #define __conn_zip_h__
23 GLOBAL BOOLEAN Zip_InitConn PARAMS(( CONN_ID Idx ));
25 GLOBAL BOOLEAN Zip_Buffer PARAMS(( CONN_ID Idx, CHAR *Data, INT Len ));
26 GLOBAL BOOLEAN Zip_Flush PARAMS(( CONN_ID Idx ));
27 GLOBAL BOOLEAN 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- */