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=7a5b1c4cd77b641b0a29ac8f41576b46c02b103d;hp=c6518b1402f3ddd3fc9b18eeab25725b78e5e1de;hb=03628dbeaf40a9de34b3eb6d5bf6dd34eed8248c;hpb=8adff5922376676c2eeb49de1cbab86cc345b887 diff --git a/src/ngircd/conn-zip.h b/src/ngircd/conn-zip.h index c6518b14..7a5b1c4c 100644 --- a/src/ngircd/conn-zip.h +++ b/src/ngircd/conn-zip.h @@ -7,10 +7,6 @@ * 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) */ @@ -19,10 +15,14 @@ #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 ));