]> arthur.barton.de Git - ngircd-alex.git/blob - src/ngircd/conn-zip.h
Removed "USE_" prefixes of configuration #defines.
[ngircd-alex.git] / src / ngircd / conn-zip.h
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  */
15
16
17 #ifdef ZLIB
18
19 #ifndef __conn_zip_h__
20 #define __conn_zip_h__
21
22
23 GLOBAL BOOLEAN Zip_InitConn PARAMS(( CONN_ID Idx ));
24
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 ));
28
29 GLOBAL LONG Zip_SendBytes PARAMS(( CONN_ID Idx ));
30 GLOBAL LONG Zip_RecvBytes PARAMS(( CONN_ID Idx ));
31
32
33 #endif /* __conn_zip_h__ */
34
35 #endif /* ZLIB */
36
37
38 /* -eof- */