* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
* Please read the file COPYING, README and AUTHORS for more information.
- *
- * $Id: conn-zip.h,v 1.3 2005/03/19 18:43:48 fw Exp $
- *
- * Connection compression using ZLIB (header)
*/
-
#ifdef ZLIB
#ifndef __conn_zip_h__
#define __conn_zip_h__
+/**
+ * @file
+ * Connection compression using ZLIB (header)
+ */
GLOBAL bool Zip_InitConn PARAMS(( CONN_ID Idx ));
-GLOBAL bool Zip_Buffer PARAMS(( CONN_ID Idx, char *Data, int Len ));
+GLOBAL bool Zip_Buffer PARAMS(( CONN_ID Idx, const char *Data, size_t Len ));
GLOBAL bool Zip_Flush PARAMS(( CONN_ID Idx ));
GLOBAL bool Unzip_Buffer PARAMS(( CONN_ID Idx ));
GLOBAL long Zip_SendBytes PARAMS(( CONN_ID Idx ));
GLOBAL long Zip_RecvBytes PARAMS(( CONN_ID Idx ));
-
#endif /* __conn_zip_h__ */
#endif /* ZLIB */
-
/* -eof- */