X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=ngircd-alex.git;a=blobdiff_plain;f=src%2Fngircd%2Fconn-zip.h;h=573f45bf832efc2eaf9eb2ddfdefd780ec3d030f;hp=e00bffefcca6da3031a6c5f96b246c4c9c447a54;hb=a7f37cebdc300b3b87bb8d6b558769cf11441f61;hpb=e68cdf304f1242bbeb3f0b59323f3059d0d543c4 diff --git a/src/ngircd/conn-zip.h b/src/ngircd/conn-zip.h index e00bffef..573f45bf 100644 --- a/src/ngircd/conn-zip.h +++ b/src/ngircd/conn-zip.h @@ -7,32 +7,29 @@ * 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.1 2002/12/30 16:07:23 alex Exp $ - * - * Connection compression using ZLIB (header) */ - -#ifdef USE_ZLIB +#ifdef ZLIB #ifndef __conn_zip_h__ #define __conn_zip_h__ +/** + * @file + * Connection compression using ZLIB (header) + */ -GLOBAL BOOLEAN Zip_InitConn PARAMS(( CONN_ID Idx )); - -GLOBAL BOOLEAN Zip_Buffer PARAMS(( CONN_ID Idx, CHAR *Data, INT Len )); -GLOBAL BOOLEAN Zip_Flush PARAMS(( CONN_ID Idx )); -GLOBAL BOOLEAN Unzip_Buffer PARAMS(( CONN_ID Idx )); +GLOBAL bool Zip_InitConn PARAMS(( CONN_ID Idx )); -GLOBAL LONG Zip_SendBytes PARAMS(( CONN_ID Idx )); -GLOBAL LONG Zip_RecvBytes PARAMS(( CONN_ID Idx )); +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 /* USE_ZLIB */ - +#endif /* ZLIB */ /* -eof- */