Annotation of ircnowd/src/ngircd/conn-zip.h, Revision 1.1
1.1 ! tomglok 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:
! 12: #ifdef ZLIB
! 13:
! 14: #ifndef __conn_zip_h__
! 15: #define __conn_zip_h__
! 16:
! 17: /**
! 18: * @file
! 19: * Connection compression using ZLIB (header)
! 20: */
! 21:
! 22: GLOBAL bool Zip_InitConn PARAMS(( CONN_ID Idx ));
! 23:
! 24: GLOBAL bool Zip_Buffer PARAMS(( CONN_ID Idx, const char *Data, size_t Len ));
! 25: GLOBAL bool Zip_Flush PARAMS(( CONN_ID Idx ));
! 26: GLOBAL bool Unzip_Buffer PARAMS(( CONN_ID Idx ));
! 27:
! 28: GLOBAL long Zip_SendBytes PARAMS(( CONN_ID Idx ));
! 29: GLOBAL long Zip_RecvBytes PARAMS(( CONN_ID Idx ));
! 30:
! 31: #endif /* __conn_zip_h__ */
! 32:
! 33: #endif /* ZLIB */
! 34:
! 35: /* -eof- */
CVSweb